You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Plugs-in Blazor wasm through the static web assets infrastructure.
* Avoids the need for a custom Blazor.config file.
* Removes broken auto-rebuild and debug support.
* Removes unnecessary server-side Blazor helpers.
<!-- When using IISExpress with a standalone app, there's no point restarting IISExpress after build. It slows things unnecessarily and breaks in-flight HTTP requests. -->
<ContentWithTargetPathUpdate="@(ContentWithTargetPath)"Condition="$([System.String]::new(%(TargetPath)).StartsWith('wwwroot\')) OR $([System.String]::new(%(TargetPath)).StartsWith('wwwroot/'))">
<!-- We need to update the external static web assets to follow the blazor publish output convention that puts them inside $(TargetName)/dist instead of wwwroot -->
<!-- Update doesn't work inside targets so we need to remove the items and re-add them. See https://github.com/microsoft/msbuild/issues/2835 for details -->
Assert.FileExists(result,blazorPublishDirectory,"dist","_framework","_bin","Microsoft.Extensions.Logging.Abstractions.dll");// Verify dependencies are part of the output.
Assert.FileExists(result,blazorPublishDirectory,"_framework","_bin","Microsoft.Extensions.Logging.Abstractions.dll");// Verify dependencies are part of the output.
165
165
166
166
// Verify static assets are in the publish directory
Assert.FileExists(result,blazorPublishDirectory,"dist","_framework","_bin","Microsoft.Extensions.Logging.Abstractions.dll");// Verify dependencies are part of the output.
Assert.FileExists(result,blazorPublishDirectory,"_framework","_bin","Microsoft.Extensions.Logging.Abstractions.dll");// Verify dependencies are part of the output.
217
209
218
210
// Verify static assets are in the publish directory
Assert.FileExists(result,blazorPublishDirectory,"dist","_framework","_bin","Microsoft.Extensions.Logging.Abstractions.dll");// Verify dependencies are part of the output.
Assert.FileExists(result,blazorPublishDirectory,"_framework","_bin","Microsoft.Extensions.Logging.Abstractions.dll");// Verify dependencies are part of the output.
268
255
269
256
// Verify static assets are in the publish directory
0 commit comments