build fixes for github actions

This commit is contained in:
alterNERDtive 2022-06-01 09:12:49 +02:00
parent cbc5641316
commit 3359976ab0
4 changed files with 8 additions and 5 deletions

View file

@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v2
- name: Setup .Net
uses: actions/setup-dotnet@v1.1
uses: actions/setup-dotnet@v2
- name: Build
run: dotnet build -c release

6
Directory.Build.targets Normal file
View file

@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View file

@ -1,8 +1,4 @@
<Project>
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- StyleCop Analyzers configuration -->
<PropertyGroup>
<CodeAnalysisRuleSet>$(SolutionDir)StyleCop.ruleset</CodeAnalysisRuleSet>

View file

@ -8,6 +8,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AD6B93C4-D07C-4455-A26D-41369319C6A3}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.github\workflows\create-release.yaml = .github\workflows\create-release.yaml
Directory.build.props = Directory.build.props
stylecop.json = stylecop.json
EndProjectSection