DotNET: Difference between revisions
imported>Milahu add link to buildDotnetPackage implementation |
imported>Milahu add missing NuGet packages |
||
| Line 55: | Line 55: | ||
TODO | TODO | ||
== missing NuGet packages == | |||
example error: | |||
<blockquote> | |||
error : 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.Bcl.Build.1.0.21/build/Microsoft.Bcl.Build.targets. | |||
</blockquote> | |||
these are upstream bugs | |||
as workaround, patch <code>*.csproj</code> files, to remove all XML tags that contain the "missing file" paths, for example | |||
<blockquote> | |||
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" /> | |||
</blockquote> | |||
see also https://stackoverflow.com/questions/32254439/nuget-packages-are-missing | |||
== See also == | == See also == | ||