diff --git a/Standalone/BuildPackages.targets b/Standalone/BuildPackages.targets new file mode 100644 index 00000000..eba41e75 --- /dev/null +++ b/Standalone/BuildPackages.targets @@ -0,0 +1,100 @@ + + + + + $(ProjectDir)bin\nuget\runtime\ + $(ProjectDir)bin\nugetsyms\runtime\ + lib\$(TargetFramework)\ + + + + + + + + + + + + + + + + + + + + + + Platform=x64;Configuration=Windows;PackagingBuild=true + + + Platform=x64;Configuration=OSX-Linux;PackagingBuild=true + + + Platform=x86;Configuration=Windows;PackagingBuild=true + + + Platform=x86;Configuration=OSX-Linux;PackagingBuild=true + + + + Platform=x64; + Configuration=Windows; + ProduceOnlyReferenceAssembly=true; + OutDir=$(ProjectDir)bin\ref + + + + + + + + + + + + + + true + ref\$(TargetFramework)\ + + + + + + + + $(ProjectDir)bin\nuget\runtime\lib\ + $(ProjectDir)bin\nugetsyms\runtime\lib\ + lib\$(TargetFramework)\ + + + + + + <_PackageFiles Include="@(Asm)" /> + + + + + + + + + + <_TargetPathsToSymbols Include="@(Pdb)" /> + + + + + + + \ No newline at end of file diff --git a/Standalone/How to build nuget package.md b/Standalone/How to build nuget package.md new file mode 100644 index 00000000..75d6f18a --- /dev/null +++ b/Standalone/How to build nuget package.md @@ -0,0 +1,11 @@ +First build binaries of all supported platform. Enter +```bat +dotnet build -t:BatchBuild Steamworks.NET.Standard.sln +``` +to your terminal. + +Then use nuget client with the `.nuspec` to pack an all-in-one package. Enter +```bat +nuget pack Steamworks.NET.nuspec -OutputDirectory bin\ +``` +to your terminal. \ No newline at end of file diff --git a/Standalone/Steamworks.NET.Standard.csproj b/Standalone/Steamworks.NET.Standard.csproj index e1576b78..9a7cce63 100644 --- a/Standalone/Steamworks.NET.Standard.csproj +++ b/Standalone/Steamworks.NET.Standard.csproj @@ -1,200 +1,67 @@  - - netstandard2.1 - Steamworks - Steamworks.NET - x64;x86 - Windows;OSX-Linux - false - git - + + netstandard2.1 + Steamworks + Steamworks.NET + x64;x86 + Windows;OSX-Linux + false + git + - - true - Steamworks.NET.Standard.$(Configuration).$(platform) - rlabrecque - 14.0.1.2 - MIT - https://github.com/rlabrecque/Steamworks.NET - https://github.com/rlabrecque/Steamworks.NET.git - + + false + Steamworks.NET + rlabrecque + + MIT + https://github.com/rlabrecque/Steamworks.NET + https://github.com/rlabrecque/Steamworks.NET.git + README.md + true + snupkg + - - - - - - - - + + bin\x86\Windows\ + TRACE;STEAMWORKS_WIN;STEAMWORKS_X86 + true + true + x86 + prompt + - - - + + bin\x86\OSX-Linux\ + TRACE;STEAMWORKS_LIN_OSX;STEAMWORKS_X86 + true + true + x86 + prompt + - - - + + bin\x64\Windows\ + TRACE;STEAMWORKS_WIN;STEAMWORKS_X64 + true + true + x64 + prompt + - - - - + + bin\x64\OSX-Linux\ + TRACE;STEAMWORKS_LIN_OSX;STEAMWORKS_X64 + true + true + x64 + prompt + - - bin\x86\Windows\ - TRACE;STEAMWORKS_WIN;STEAMWORKS_X86 - true - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - - - - bin\x86\OSX-Linux\ - TRACE;STEAMWORKS_LIN_OSX;STEAMWORKS_X86 - true - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - - - - bin\x64\Windows\ - TRACE;STEAMWORKS_WIN;STEAMWORKS_X64 - true - true - pdbonly - x64 - prompt - MinimumRecommendedRules.ruleset - - - - bin\x64\OSX-Linux\ - TRACE;STEAMWORKS_LIN_OSX;STEAMWORKS_X64 - true - true - pdbonly - x64 - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + diff --git a/Standalone/Steamworks.NET.nuspec b/Standalone/Steamworks.NET.nuspec new file mode 100644 index 00000000..a9af3b5d --- /dev/null +++ b/Standalone/Steamworks.NET.nuspec @@ -0,0 +1,27 @@ + + + + Steamworks.NET + 15.0.1 + Steamworks.NET + rileylabrecque + MIT + https://github.com/rlabrecque/Steamworks.NET + + + + + + + + + + + + + + + + + + \ No newline at end of file