diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index e25bf74..11ee059 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -6,12 +6,14 @@ jobs: build: runs-on: windows-latest - + steps: - uses: actions/checkout@v2 - - - name: setup-msbuild - uses: microsoft/setup-msbuild@v1 + - name: Setup dotnet 6.0.x + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '6.0.x' + include-prerelease: true - name: Restore Win64 run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj @@ -21,13 +23,13 @@ jobs: run: dotnet restore Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj - name: Build Win64 - run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj + run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win64.csproj - name: Build Win32 - run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj + run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Win32.csproj - name: Build Posix - run: msbuild Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj + run: dotnet build Facepunch.Steamworks\Facepunch.Steamworks.Posix.csproj - uses: actions/upload-artifact@v1 with: name: Compiled Files - path: Facepunch.Steamworks/bin \ No newline at end of file + path: Facepunch.Steamworks/bin diff --git a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj index 278596f..b5d97a7 100644 --- a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj +++ b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj @@ -1,156 +1,55 @@ - - - - - Debug - AnyCPU - {3F6183AD-D966-44F2-A6EB-42E61E591B49} - Library - Properties - Facepunch.Steamworks.TestWin32 - Facepunch.Steamworks.TestWin32 - v4.6 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - - + - true - full - false - bin\Debug\ TRACE;DEBUG;TEST_WIN32 - prompt - 4 x86 true - pdbonly - true - bin\Release\ TRACE;TEST_WIN32 - prompt - 4 x64 true - true bin\x64\Debug\ - DEBUG;TRACE - full - x64 - prompt MinimumRecommendedRules.ruleset true bin\x64\Release\ - TRACE - true - pdbonly - x64 - prompt MinimumRecommendedRules.ruleset true - true bin\x86\Debug\ - DEBUG;TRACE - full x64 - prompt MinimumRecommendedRules.ruleset true bin\x86\Release\ - TRACE - true - pdbonly x64 - prompt MinimumRecommendedRules.ruleset true + + net6.0 + false + - - ..\packages\MSTest.TestFramework.2.0.0-beta4\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - - - ..\packages\MSTest.TestFramework.2.0.0-beta4\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll - - - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {2d6247f6-8ab2-405f-a00e-3a364b808a55} - Facepunch.Steamworks.Win32 - + Always - - - - - 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 {0}. - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj index c4353e2..2a18571 100644 --- a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj +++ b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj @@ -1,156 +1,54 @@ - - - - - Debug - AnyCPU - {165081E3-BD96-404B-B83E-A635F1AF7CDE} - Library - Properties - Facepunch.Steamworks.TestWin64 - Facepunch.Steamworks.TestWin64 - v4.6 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - - + - true - full - false - bin\Debug\ TRACE;DEBUG;TEST_WIN64 - prompt - 4 x64 true - pdbonly - true - bin\Release\ - TRACE - prompt - 4 x64 true - true bin\x64\Debug\ - DEBUG;TRACE - full - x64 - prompt MinimumRecommendedRules.ruleset true bin\x64\Release\ - TRACE - true - pdbonly - x64 - prompt MinimumRecommendedRules.ruleset true - true bin\x86\Debug\ - DEBUG;TRACE - full x64 - prompt MinimumRecommendedRules.ruleset true bin\x86\Release\ - TRACE - true - pdbonly x64 - prompt MinimumRecommendedRules.ruleset true + + net6.0 + false + - - ..\packages\MSTest.TestFramework.2.0.0-beta4\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - - - ..\packages\MSTest.TestFramework.2.0.0-beta4\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll - - - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {8c73da93-73ad-4445-9a2c-15d4a44337d3} - Facepunch.Steamworks.Win64 - + Always - - - - - 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 {0}. - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj b/Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj index 0a0e3c5..525e62d 100644 --- a/Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj +++ b/Facepunch.Steamworks/Facepunch.Steamworks.Posix.csproj @@ -3,9 +3,9 @@ Facepunch.Steamworks.Posix $(DefineConstants);PLATFORM_POSIX - netstandard2.0;net46 + netstandard2.1;net6.0 true - 7.1 + 10 true false Steamworks diff --git a/Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj b/Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj index 9304d2d..e51bb00 100644 --- a/Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj +++ b/Facepunch.Steamworks/Facepunch.Steamworks.Win32.csproj @@ -3,9 +3,8 @@ Facepunch.Steamworks.Win32 $(DefineConstants);PLATFORM_WIN32;PLATFORM_WIN - netstandard2.0;net46 - true - 7.1 + netstandard2.1;net6.0 + true true true Steamworks @@ -19,7 +18,7 @@ https://github.com/Facepunch/Facepunch.Steamworks Facepunch.Steamworks.jpg facepunch;steam;unity;steamworks;valve - latest + 10 MIT https://github.com/Facepunch/Facepunch.Steamworks.git git diff --git a/Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj b/Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj index 4b41172..7a422dc 100644 --- a/Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj +++ b/Facepunch.Steamworks/Facepunch.Steamworks.Win64.csproj @@ -3,9 +3,8 @@ Facepunch.Steamworks.Win64 $(DefineConstants);PLATFORM_WIN64;PLATFORM_WIN;PLATFORM_64 - netstandard2.0;net46 - true - 7.1 + netstandard2.1;net6.0 + true true true Steamworks @@ -19,7 +18,7 @@ https://github.com/Facepunch/Facepunch.Steamworks Facepunch.Steamworks.jpg facepunch;steam;unity;steamworks;valve - latest + 10 MIT https://github.com/Facepunch/Facepunch.Steamworks.git git diff --git a/Generator/App.config b/Generator/App.config deleted file mode 100644 index 88fa402..0000000 --- a/Generator/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Generator/Generator.csproj b/Generator/Generator.csproj index 7e014e4..e1199b0 100644 --- a/Generator/Generator.csproj +++ b/Generator/Generator.csproj @@ -1,86 +1,13 @@ - - - + - Debug - AnyCPU - {B7225D11-2AAA-49D6-AE93-A73696EA35FE} + net6.0 Exe - Properties - Generator - Generator - v4.5.2 - 512 - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + false + 10 - - ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - True - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/README.md b/README.md index 77ad32f..fc5a999 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [Another fucking c# Steamworks implementation](https://wiki.facepunch.com/steamworks/) -![Build All](https://github.com/Facepunch/Facepunch.Steamworks/workflows/Build%20All/badge.svg) +![Build All](https://github.com/Crytilis/Facepunch.Steamworks/workflows/Build%20All/badge.svg) ## Features