diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 84da7d5..6e1c328 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -23,7 +23,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore @@ -52,4 +52,4 @@ jobs: versions-to-fetch: 20 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - \ No newline at end of file + diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 7c694f1..7299996 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -21,7 +21,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.x + dotnet-version: 10.0.x - name: Pack run: dotnet pack -c Release -o Build @@ -33,4 +33,4 @@ jobs: run: dotnet nuget push --no-symbols --skip-duplicate -k ${{ secrets.GITHUB_TOKEN }} -s "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" Build/*.nupkg - name: Nuget push - run: dotnet nuget push --skip-duplicate -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json Build/*.nupkg \ No newline at end of file + run: dotnet nuget push --skip-duplicate -k ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json Build/*.nupkg diff --git a/.gitignore b/.gitignore index 1d03b27..46aec94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,33 @@ .vs/ .idea/ -bin/ -obj/ -Build/ - -# Files for local dev +[Bb]in/ +[Oo]bj/ +[Bb]uild/ +Thumbs.db +*.aps +*.pch +*.vspscc +*_i.c +*_p.c +*.ncb +*.suo +*.cache +*.ilk +*.log +*.sbr +[Dd]ebug*/ +[Rr]elease*/ +_ReSharper*/ +packages/ +.tmp/ +tmp/ *.user *.local.json +.terraform/ +*.backup +*.bak +.venv/ +**/__pycache__/ # Verify # https://github.com/VerifyTests/Verify#received-and-verified diff --git a/.standard_content.json b/.standard_content.json new file mode 100644 index 0000000..57a022c --- /dev/null +++ b/.standard_content.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://github.com/LordMike/MBW.Tools.GhStandardContent/spec/StandardContent.json", + "meta": { + "repo": "LordMike/MBW.Libraries.DeviceIOControlLib", + "profiles": [ + "standardContent", + "standardDotnet", + "standardNugetPush" + ], + "files": [ + ".editorconfig", + ".gitattributes", + ".github/workflows/dotnet.yml", + ".github/workflows/nuget.yml", + ".gitignore", + "Directory.Build.props" + ], + "last_updated": "2026-02-01T15:40:24.3119374+00:00" + } +} \ No newline at end of file diff --git a/DemoApplication/DemoApplication.csproj b/DemoApplication/DemoApplication.csproj index 4c0ee59..e549256 100644 --- a/DemoApplication/DemoApplication.csproj +++ b/DemoApplication/DemoApplication.csproj @@ -3,7 +3,7 @@ - net5.0 + $(DefaultTargetFramework) Exe diff --git a/Directory.Build.props b/Directory.Build.props index 4a51ee1..a75eec4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,8 +2,9 @@ latest + net10.0 - + LordMike @@ -14,45 +15,41 @@ true - true + + + $(NoWarn);CS1591 portable true snupkg - + v - + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - + + + + 1 + 500 + + - + + + - - - - true - - + true - + - - - 2 - 500 - - - - -