-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedaffected-fewThis issue impacts only small number of customersThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyfeature-razor-sdkfeature-static-web-assetsseverity-blockingThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
I use Visual studio 2019 v16.8.4
Create a new Blazor WASM app, and publish.
If i publish from visual studio all work well.
if i publish with MSBuild.exe, the publish wwwroot subfolder does not include the _framework folder and running the app fail with error 404.
i use this msbuild command:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" "%SolutionFilePath%" /t:Rebuild /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=Release /p:DebugSymbols=false /p:DebugType=None /p:AllowedReferenceRelatedFileExtensions=none /fl
in attachment a sample project to reply the issue,
What's wrong? i miss a msbuild parameter?
Thanks
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedaffected-fewThis issue impacts only small number of customersThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.feature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssemblyfeature-razor-sdkfeature-static-web-assetsseverity-blockingThis label is used by an internal toolThis label is used by an internal tool