Skip to content

Conversation

@DustinCampbell
Copy link
Member

In fixing dotnet restore for .csproj, I unintentionally broke it for project.json. The problem here is that OmniSharp returns different information for Path with regard to project.json or .csproj. For project.json, it's the directory that the project.json lives in, and for .csproj, it's the actually file path. This change addresses that by adding a FilePath property to our ProjectDescriptor which represents the real file path and renamed Path to Directory to be a bit clearer.

cc @jchannon

In fixing dotnet restore for .csproj, I unintentionally broke it for project.json. The problem here is that OmniSharp returns different information for `Path` with regard to project.json or .csproj. For project.json, it's the directory that the project.json lives in, and for .csproj, it's the actually file path. This change addresses that by adding a `FilePath` property to our `ProjectDescriptor` which represents the real file path and renamed `Path` to `Directory` to be a bit clearer.
@DustinCampbell DustinCampbell added this to the 1.7 milestone Feb 7, 2017
@DustinCampbell
Copy link
Member Author

@gregg-miskelly: Would you mind taking a look?

@gregg-miskelly
Copy link
Contributor

Taking a look now...

Copy link
Contributor

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants