-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Running nuget restore from VS does not work for sample projects #2312
Comments
Rob Relyea says: By default, when you use Packages.Config, the following happens: In order to properly restore and build a solution which has some packages.config: So if you are trying to restore and build 4 solutions, do that. In RNWCPP\nuget.config you had a setting of repositoryPath. So I think there are a few options: A) Remove repository path setting in RNWCPP\nuget.config Sorry, Packages.Config is v1 technology…so I, and my current team, don’t spend as much time with it as we do with PackageReference. Packages.Config has a bad design – it requires NuGet to talk to the project system to add references and other elements in the .vcxproj. That is fragile, when people move directories, or hand edit those elements. |
Although there is a workaround documented on the main site, we should fix this using one of the solutions recommended above. |
It appears that all sample projects in RNWCPP are restoring nugets to the wrong location when this is done through VS. Something in the toolchain needs to be fixed so that we don't need to do nuget restore manually every time.
The text was updated successfully, but these errors were encountered: