Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResolvePackageDependencies produces incorrect Resolved paths for project references #479

Closed
natidea opened this issue Dec 12, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@natidea
Copy link
Contributor

natidea commented Dec 12, 2016

ResolvePackageDependencies resolves paths for project references were computed based on the project root, which was originally based on the location of the project lock file. This needs to be updated or removed since the assets file has moved, and the assets file may contain more appropriate root folder information.

The resolved path for project references is not actually used anywhere currently, so this bug does not cause any problems, but should be fixed anyway.

@BrunoJuchli
Copy link
Contributor

BrunoJuchli commented Jul 26, 2017

Also see #1435 (duplicate) for an example of invalid data.

@natidea could you please update the issue description to include what the actual content of ResolvedPath should be? (Unless it's being fixed by #1442 already.) Should it point to the csproj or should it point to where the build-output (dlls...) of the referenced project are located?

@BrunoJuchli
Copy link
Contributor

BrunoJuchli commented Jul 26, 2017

Usages of ResolvedPath (not including tests):

On first glance I couldn't see any file-path sanity checks so I guesstimate it's true that ResolvedPath of <ProjectReference />s are not being used - otherwise the issue should have made itself known beforehand. Ok with the places where the ResolvedPath is used for exclusion this is not actually true - these might not have been spotted. But as far as I can see these only pertain to framework assemblies, right?

@nguerrera
Copy link
Contributor

Fixed by #1442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants