diff --git a/build/Build.cs b/build/Build.cs
index 7eb3c7e..240d50f 100644
--- a/build/Build.cs
+++ b/build/Build.cs
@@ -1,6 +1,7 @@
using System;
using System.Linq;
using Nuke.Common;
+using Nuke.Common.CI.AppVeyor;
using Nuke.Common.Git;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tools.GitVersion;
@@ -43,9 +44,9 @@ class Build : NukeBuild
.SetTargetPath(Solution)
.SetTargets("Rebuild")
.SetConfiguration(Configuration)
- .SetAssemblyVersion(GitVersion.GetNormalizedAssemblyVersion())
- .SetFileVersion(GitVersion.GetNormalizedFileVersion())
- .SetInformationalVersion(GitVersion.InformationalVersion)
+ .SetAssemblyVersion(AppVeyor.Instance.BuildVersion)
+ .SetFileVersion(AppVeyor.Instance.BuildVersion)
+ .SetInformationalVersion(AppVeyor.Instance.BuildVersion)
.SetMaxCpuCount(Environment.ProcessorCount)
.SetNodeReuse(IsLocalBuild));
});
diff --git a/build/_build.csproj b/build/_build.csproj
index 01c290f..d52f1eb 100644
--- a/build/_build.csproj
+++ b/build/_build.csproj
@@ -2,7 +2,7 @@
Exe
- netcoreapp2.0
+ netcoreapp3.0
false
False
@@ -10,8 +10,11 @@
-
-
+
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+