diff --git a/.github/workflows/publish-internal.yml b/.github/workflows/publish-internal.yml
index dcbc91b952..f1ed1df6d9 100644
--- a/.github/workflows/publish-internal.yml
+++ b/.github/workflows/publish-internal.yml
@@ -14,7 +14,7 @@ on:
required: false
version-core:
type: string
- default: "4.2.0"
+ default: "5.0.0"
description: The core part of the version string
required: false
prerelease-version:
diff --git a/ci/scripts/Publish-NuGetPackages.ps1 b/ci/scripts/Publish-NuGetPackages.ps1
index 5212724e5f..3de6bd8d6c 100644
--- a/ci/scripts/Publish-NuGetPackages.ps1
+++ b/ci/scripts/Publish-NuGetPackages.ps1
@@ -115,6 +115,11 @@ function Build-TemplatePackages {
$file = [System.Text.RegularExpressions.Regex]::Replace($file, "\([^<]+)\", "" + $version + "")
[System.IO.File]::WriteAllText($path, $file, [System.Text.Encoding]::UTF8)
+ $templateProjectPath = Join-Path (Split-Path $path) "content/EmptyWeb/DotvvmApplication1.csproj"
+ $templateProject = [System.IO.File]::ReadAllText($templateProjectPath, [System.Text.Encoding]::UTF8)
+ $templateProject = [System.Text.RegularExpressions.Regex]::Replace($templateProject, '(?<=
-
+
diff --git a/src/Templates/content/EmptyWeb/DotvvmStartup.cs b/src/Templates/content/EmptyWeb/DotvvmStartup.cs
index 53823749d9..97834a5514 100644
--- a/src/Templates/content/EmptyWeb/DotvvmStartup.cs
+++ b/src/Templates/content/EmptyWeb/DotvvmStartup.cs
@@ -14,17 +14,17 @@ public void Configure(DotvvmConfiguration config, string applicationPath)
ConfigureControls(config, applicationPath);
ConfigureResources(config, applicationPath);
- // https://www.dotvvm.com/docs/4.0/pages/concepts/configuration/explicit-assembly-loading
+ // https://www.dotvvm.com/docs/latest/pages/concepts/configuration/explicit-assembly-loading
config.Runtime.ExplicitAssemblyLoading.Enable();
// Use this for command heavy applications
// - DotVVM will store the viewmodels on the server, and client will only have to send back diffs
- // https://www.dotvvm.com/docs/4.0/pages/concepts/viewmodels/server-side-viewmodel-cache
+ // https://www.dotvvm.com/docs/latest/pages/concepts/viewmodels/server-side-viewmodel-cache
// config.ExperimentalFeatures.ServerSideViewModelCache.EnableForAllRoutes();
// Use this if you are deploying to containers or slots
// - DotVVM will precompile all views before it appears as ready
- // https://www.dotvvm.com/docs/4.0/pages/concepts/configuration/view-compilation-modes
+ // https://www.dotvvm.com/docs/latest/pages/concepts/configuration/view-compilation-modes
// config.Markup.ViewCompilation.Mode = ViewCompilationMode.DuringApplicationStart;
}