Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

PhysicalFileSystem to retrieve application base path from IApplicationEnvironment #5

Closed
Praburaj opened this issue Apr 28, 2014 · 2 comments

Comments

@Praburaj
Copy link
Contributor

GetFullRoot method in https://github.com/aspnet/FileSystem/blob/dev/src/Microsoft.AspNet.FileSystems/PhysicalFileSystem.cs seems to be retrieving the application base path from the AppDomain or Directory.CurrentDirectory(). Instead should we retrieve the application base path from IApplicationEnvironment.ApplicationBasePath.

@moonpeng
Copy link

what's the ApplicationContext's namespace? I con't find it with framework 4.0.

@davidfowl
Copy link
Member

It only exists in core clr it's not on the full .NET framework

@davidfowl davidfowl added this to the 1.0.0-alpha4 milestone Sep 4, 2014
@davidfowl davidfowl self-assigned this Sep 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants