-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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] Use Wasm SDK in browser template #85311
Conversation
maraf
commented
Apr 25, 2023
•
edited
Loading
edited
- Update browser template to use Wasm SDK
- Use Blazor DevServer to run browser template
- Rename mono-config to blazor.boot.json to unify location where to load config from
- Update Wasm.Build.Tests
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<WasmExtraFilesToDeploy Include="index.html" /> | ||
<WasmExtraFilesToDeploy Include="main.js" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0-preview.4.23177.9" PrivateAssets="all" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't think of a good one at the moment :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aspnetcore uses .csproj.in template files and fills them in with a generated version. https://github.com/dotnet/aspnetcore/blob/015ceab6aeec700fbfb71cdfe9ff8fb51831d555/src/ProjectTemplates/Web.ProjectTemplates/Microsoft.DotNet.Web.ProjectTemplates.csproj
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does our versions always match?
|
||
const { setModuleImports, getAssemblyExports, getConfig } = await dotnet | ||
.withStartupOptions({}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is temporal and shouldn't be in template
…thMonoConfig" This reverts commit 0521238.
Closed in favor of #85498 |