Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Install Nuget-Dependency with package created over .nuspec file

$
0
0

I'm trying to create a NuGet-Package from several thrird-party library files. One of these files have a dependency to System.Drawing.Common. So I tried to add this as a dependency into my .nuspec file:

<metadata><id>...</id><version>...</version><authors>...</authors><description>...</description><copyright>...</copyright><tags>...</tags><references><reference file="EntryPointLibrary.dll" /><reference file="EntryPointLibrary.xml" /></references><dependencies><group targetFramework=".NETCoreApp3.1"><dependency id="System.Drawing.Common" version="[6.0.0]" /></group></dependencies></metadata>

Unfortunately after installing the Nuget-Package from local the System.Drawing.Common is not installed automatically and the System.Drawing.Common.dll is not inside the build folder. I also downloaded the System.Drawing.Common Nuget-Package from nuget.org and copied this package in my local nuget space.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>