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

Create .nuspec file for UWP class library

$
0
0

I created a class library project for UWP apps. I want to create a nuget package.I created .nupkg file with a .nuspec file which is file section down below.After i add the package from Nuget Package manager, i cant access any name space in my class library project. What is the way of add dlls to my package in a .nuspec file?

<file src="README.md" target="docs\" /><file src="Logo-bg.png" target="images\" /><file src="bin\x86\Release\MyLib.dll" target="runtimes\win10-x86"></file><file src="bin\x86\Release\MyLib.pri" target="runtimes\win10-x86"></file><file src="bin\x86\Release\MyLib\PointOfSaleControl.xaml" target="MyLibControls\x86"></file><file src="bin\x86\Release\MyLib\MyLib.xr.xml" target="MyLibControls\x86"></file><file src="bin\x64\Release\MyLib.dll" target="runtimes\win10-x64"></file><file src="bin\x64\Release\MyLib.pri" target="runtimes\win10-x64"></file><file src="bin\x64\Release\MyLib\PointOfSaleControl.xaml" target="MyLibControls\x64"></file><file src="bin\x64\Release\MyLib\MyLib.xr.xml" target="MyLibControls\x64"></file><file src="bin\ARM64\Release\MyLib.dll" target="runtimes\win10-arm64"></file><file src="bin\ARM64\Release\MyLib.pri" target="runtimes\win10-arm64"></file><file src="bin\ARM64\Release\MyLib\PointOfSaleControl.xaml" target="MyLibControls\win10-arm64"></file><file src="bin\ARM64\Release\MyLib\MyLib.xr.xml" target="MyLibControls\win10-arm64"></file><file src="bin\ARM\Release\MyLib.dll" target="runtimes\win10-arm"></file><file src="bin\ARM\Release\MyLib.pri" target="runtimes\win10-arm"></file><file src="bin\ARM\Release\MyLib\PointOfSaleControl.xaml" target="MyLibControls\win10-arm"></file><file src="bin\ARM\Release\MyLib\MyLib.xr.xml" target="MyLibControls\win10-arm"></file><file src="bin\Release\MyLib.dll" target="runtimes\Release"></file><file src="bin\Release\MyLib.pri" target="runtimes\Release"></file><file src="bin\Release\MyLib.xml" target="runtimes\Release"></file><file src="bin\Release\MyLib\PointOfSaleControl.xaml" target="MyLibControls\Release"></file><file src="bin\Release\MyLib\MyLib.xr.xml" target="MyLibControls\Release"></file></files>

Viewing all articles
Browse latest Browse all 3067

Trending Articles



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