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

convert-from-nuget doesn't properly update some project reference hint paths #266

Closed
sneal opened this issue Oct 16, 2014 · 0 comments · Fixed by #269
Closed

convert-from-nuget doesn't properly update some project reference hint paths #266

sneal opened this issue Oct 16, 2014 · 0 comments · Fixed by #269

Comments

@sneal
Copy link

sneal commented Oct 16, 2014

When converting a solution over from nuget, some references do not have their csproj references element updated. See this repository for a VS solution which reproduces the issue.

$ paket convert-from-nuget
Paket version 0.8.5.0
Dependencies files saved to paket.dependencies
References file saved to c:\src\WseInstallTest\WseInstallTest\paket.references
Solution c:\src\WseInstallTest\WseInstallTest.sln changed
Deleted c:\src\WseInstallTest\WseInstallTest\packages.config
Parsing paket.dependencies
Resolving packages:
  - fetching versions for Microsoft.Web.Services2
    - exploring Microsoft.Web.Services2 2.0.3.0
Locked version resolutions written to c:\src\WseInstallTest\paket.lock
Microsoft.Web.Services2 2.0.3.0 unzipped to c:\src\WseInstallTest\packages\Microsoft.Web.Services2
05.06s - ready.

Inspecting the modified csproj the hintpath for Microsoft.Web.Service2 is unchanged, still referring to its old hint path location of ..\packages\Microsoft.Web.Services2.2.0.3.0\lib\net11\Microsoft.Web.Services2.dll when it should in fact be ..\packages\Microsoft.Web.Services2\lib\net11\Microsoft.Web.Services2.dll. Paket does properly download the nuget dependency to this location, it just doesn't update the csproj file hint path.

<Reference Include="Microsoft.Web.Services2">
 <HintPath>..\packages\Microsoft.Web.Services2.2.0.3.0\lib\net11\Microsoft.Web.Services2.dll</HintPath>
</Reference>
theimowski added a commit to theimowski/Paket that referenced this issue Oct 17, 2014
forki added a commit that referenced this issue Oct 21, 2014
add net11 to framework handling - references #266
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 a pull request may close this issue.

1 participant