diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index da0fb67..7938a13 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,10 +3,10 @@
"isRoot": true,
"tools": {
"gitversion.tool": {
- "version": "5.7.0",
+ "version": "5.8.2",
"commands": [
"dotnet-gitversion"
]
}
}
-}
+}
\ No newline at end of file
diff --git a/build/build.csproj b/build/build.csproj
index 77eacc3..437070d 100644
--- a/build/build.csproj
+++ b/build/build.csproj
@@ -2,13 +2,13 @@
Exe
- net5.0
+ net6.0
-
+
diff --git a/src/Prefab/Prefab.csproj b/src/Prefab/Prefab.csproj
index 9dc4ffd..296b0de 100644
--- a/src/Prefab/Prefab.csproj
+++ b/src/Prefab/Prefab.csproj
@@ -2,7 +2,6 @@
netstandard2.0
-
Template
true
false
diff --git a/src/Prefab/templates/prefab/.config/dotnet-tools.json b/src/Prefab/templates/prefab/.config/dotnet-tools.json
index da0fb67..7938a13 100644
--- a/src/Prefab/templates/prefab/.config/dotnet-tools.json
+++ b/src/Prefab/templates/prefab/.config/dotnet-tools.json
@@ -3,10 +3,10 @@
"isRoot": true,
"tools": {
"gitversion.tool": {
- "version": "5.7.0",
+ "version": "5.8.2",
"commands": [
"dotnet-gitversion"
]
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Prefab/templates/prefab/.github/workflows/build.yml b/src/Prefab/templates/prefab/.github/workflows/build.yml
index f877961..fc5e81d 100644
--- a/src/Prefab/templates/prefab/.github/workflows/build.yml
+++ b/src/Prefab/templates/prefab/.github/workflows/build.yml
@@ -12,7 +12,7 @@ env:
jobs:
build:
name: build
- runs-on: ubuntu-latest
+ runs-on: windows-latest
steps:
- name: Checkout
@@ -20,7 +20,7 @@ jobs:
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Build
- run: ./build.sh
+ run: ./build.ps1
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
diff --git a/src/Prefab/templates/prefab/.github/workflows/publish.yml b/src/Prefab/templates/prefab/.github/workflows/publish.yml
index 0222d56..35396b0 100644
--- a/src/Prefab/templates/prefab/.github/workflows/publish.yml
+++ b/src/Prefab/templates/prefab/.github/workflows/publish.yml
@@ -10,7 +10,7 @@ env:
jobs:
publish:
name: publish
- runs-on: ubuntu-latest
+ runs-on: windows-latest
steps:
- name: Checkout
@@ -20,7 +20,7 @@ jobs:
- name: Deploy
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
- run: ./build.sh publish
+ run: ./build.ps1 publish
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
diff --git a/src/Prefab/templates/prefab/build/build.csproj b/src/Prefab/templates/prefab/build/build.csproj
index 77eacc3..437070d 100644
--- a/src/Prefab/templates/prefab/build/build.csproj
+++ b/src/Prefab/templates/prefab/build/build.csproj
@@ -2,13 +2,13 @@
Exe
- net5.0
+ net6.0
-
+
diff --git a/src/Prefab/templates/prefab/src/Prefab.Tests/Prefab.Tests.csproj b/src/Prefab/templates/prefab/src/Prefab.Tests/Prefab.Tests.csproj
index 6a7ae2f..f748449 100644
--- a/src/Prefab/templates/prefab/src/Prefab.Tests/Prefab.Tests.csproj
+++ b/src/Prefab/templates/prefab/src/Prefab.Tests/Prefab.Tests.csproj
@@ -1,13 +1,13 @@
- net5.0
+ net462;net6.0
latest
false
-
+
all
diff --git a/src/Prefab/templates/prefab/src/Prefab/Prefab.csproj b/src/Prefab/templates/prefab/src/Prefab/Prefab.csproj
index f4da04f..3b57074 100644
--- a/src/Prefab/templates/prefab/src/Prefab/Prefab.csproj
+++ b/src/Prefab/templates/prefab/src/Prefab/Prefab.csproj
@@ -2,7 +2,7 @@
1.0.0
- netstandard2.0;net5.0
+ netstandard2.0;netstandard2.1;net462;net6.0
latest
enable
true
@@ -18,7 +18,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive