-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browser] Publish wasmbrowser
app from Visual Studio doesn't respect "include RID in output path"
#99159
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue Details
Output is located in
|
This might also be related to #94319 |
It is a different issue, because it uses completely different SDK under the hood (the plan is to migrate to the SDK used by wasmbrowser) |
The issue is this workaround Lines 198 to 199 in 43b55fa
The WasmBrowser <?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net9.0\browser-wasm\publish\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project> Blazor <?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<DeleteExistingFiles>false</DeleteExistingFiles>
<ExcludeApp_Data>false</ExcludeApp_Data>
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>bin\Release\net9.0\browser-wasm\publish\</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<_TargetId>Folder</_TargetId>
</PropertyGroup>
</Project> Which might be related to project capabilities |
In recent testing it seems that publish from VS dialog doesn't do publish at all. I'm seeing running a |
Output is located in
bin/Release/net8.0/publish
instead ofbin/Release/net8.0/browser-wasm/publish
The same setup works for blazorwasm template
The text was updated successfully, but these errors were encountered: