Add nuspec file

This commit is contained in:
Peter Van Dender 2021-03-23 11:35:53 +01:00
parent aebbd2ab21
commit 2dfb158b63
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata minClientVersion="3.3">
<id>Lansweeper.SMBLibrary</id>
<version>$version$</version>
<title>Lansweeper.SMBLibrary</title>
<authors>TalAloni/Lansweeper</authors>
<description>SMBLibrary is an open-source C# SMB 1.0/CIFS, SMB 2.0, SMB 2.1 and SMB 3.0 server and client implementation.</description>
<contentFiles>
<files include="*" />
</contentFiles>
<dependencies>
<!--<group targetFramework="net46">
</group>
<group targetFramework="netstandard2.0">
</group>-->
</dependencies>
<!--Needed to restore references when client installs package-->
<references>
<group targetFramework="net40">
<reference file="SMBLibrary.dll" />
</group>
<group targetFramework="netstandard2.0">
<reference file="SMBLibrary.dll" />
</group>
</references>
</metadata>
<!--Needed for package-->
<files>
<file src="SMBLibrary\bin\Release\netstandard2.0\SMBLibrary.dll" target="lib\netstandard2.0" />
<file src="SMBLibrary\bin\Release\netstandard2.0\Utilities.dll" target="lib\netstandard2.0" />
<file src="SMBLibrary\bin\Release\net40\SMBLibrary.dll" target="lib\net40" />
<file src="SMBLibrary\bin\Release\net40\Utilities.dll" target="lib\net40" />
</files>
</package>

View file

@ -17,6 +17,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SMBServer", "SMBServer\SMBS
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SMBLibrary.Tests", "SMBLibrary.Tests\SMBLibrary.Tests.csproj", "{C79B06EB-32C1-44CA-B7E1-A891B8135658}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0FFD55AB-3A84-47E0-8B38-2F367940D2F3}"
ProjectSection(SolutionItems) = preProject
Lansweeper.SMBLibrary.nuspec = Lansweeper.SMBLibrary.nuspec
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU