We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be708b commit d66436bCopy full SHA for d66436b
BlazorPreRender/BlazorApp1/build.ps1
@@ -0,0 +1,11 @@
1
+rm output -force -recurse
2
+dotnet clean
3
+
4
+# publish the app
5
+dotnet publish -c Release -o output BlazorApp1
6
7
+# Set the render output (use $PSScriptRoot instead of $pwd inside of *.ps1 script files)
8
+$env:RenderOutputDirectory="$pwd/output/wwwroot"
9
10
+# Generate the output
11
+dotnet test -c Release --filter Category=PreRender
BlazorPreRender/BlazorApp1/build.sh
@@ -0,0 +1,5 @@
+SLN_DIR="$(pwd)"
+dotnet publish -c Release -o "output" BlazorApp1
+RenderOutputDirectory="${SLN_DIR}/output/wwwroot" \
0 commit comments