There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Feature Request: Use SolutionDir Macro for HintPath
Currently when resolving the path to the referenced DLL in the project file a relative to the project in the solution path is created and placed into the hint path. While this is fine for projects that live in a single solution or within multiple solutions
where the solution files are in the same directory, if the project is used in multiple solutions where each solutions directory could be at a different relative path than the others having the "..\packages" style path will cause the reference to
be not found in other solutions.
Currently to solve this issue I manually edit the reference's hint path in the project file to look something like this:
I downloaded a copy of the source and looked at attempting to do a string replace but it appears that the object being used to add the reference looks at the above as an invalid URI. After seeing that issue in my attempt to propose a fix I am unsure if what
I'm proposing above is correct syntax. I can state that under MSBUILD in VS2012 and TFS2012 it works without issue.