I have a .csproj named "A" with many Nuget packages.
I want to create a similar .csproj named "B" , with the same Nuget packages of "A".
In the same solution, I also have others .csproj with other stuff.
What's the fastest way to do it?
I tried to copy the packages.config from one to another and then executed this:
Update-Package –reinstall
The result was that it reinstalled ALL packages of ALL projects, but didn't really created any file on project "B" .
I think you just missed one switch. What if you copy the packages.config, as you did, and then use
Update-Package -reinstall - ProjectName (TheProjectName)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.