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

Converting projects with dependencies to nugets #8

Open
qbikez opened this issue Mar 8, 2016 · 1 comment
Open

Converting projects with dependencies to nugets #8

qbikez opened this issue Mar 8, 2016 · 1 comment

Comments

@qbikez
Copy link
Owner

qbikez commented Mar 8, 2016

Given a structure like this:

sln
- lib1.csproj
- lib2.csproj
   \-> lib1
- referencing.csproj
   \-> lib2

When converting lib2 to nuget, referencing.csproj should also have a dependency on lib1.
If you run Install-Nuget in Visual Studio, it installs all required dependencies.
If you run tonuget from commandline, the lib1 dependency is missing.

@qbikez
Copy link
Owner Author

qbikez commented Mar 8, 2016

We could check if the script is run inside Visual Studo: if ($host.Name -eq "Package Manager Host") and try to do install-package there.

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

No branches or pull requests

1 participant