NuGet link in wrong directory structure

My Web2 solution will not compile because some of the packages were placed in a different directory structure for the rest of the solution, and I deleted this structure and the corresponding packages folder.

I used Update-Package -reinstall

Hope this fixes ... however, he still throws this build error message:

This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props

Now, as far as I can tell, all links should be fine, package.config says:

<package id="Microsoft.Net.Compilers" version="1.0.0" targetFramework="net45" developmentDependency="true" />

And there is a directory structure

--Solution Dir
 |-- packages
   |--Microsoft.Net.Compilers.1.0.0

I tried updating the package and received version 1.3.2, but the error message remained unchanged, that is, version 1.0.0 was missing.

, Theres - - , . , ..\ , ( , )

?

UPDATE:

... . , , .

NuGet, , , .

+4
1

StackOverflow , , ..

fooobar.com/questions/39101/...

- -, , , .

+3

Source: https://habr.com/ru/post/1659833/


All Articles