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
{{ message }}
Repository navigation
[wasi] Print message with AppBundle path after build/publish #94291
The same way as we do it for browser-wasm. It's misleading that publish prints ....\bin\Release\net8.0\wasi-wasm\publish, but user is interested in ....\bin\Release\net8.0\wasi-wasm\AppBundle
What if the user uses the VS publish wizard or dotnet publish -o c:\some\output\path? Do we ignore user's desired output path and instruct them to go look elsewhere? How will the message show up when publishing using VS UI (that allows user to set output path that maps to -o in publish)?
What if the user uses the VS publish wizard or dotnet publish -o c:\some\output\path? Do we ignore user's desired output path and instruct them to go look elsewhere? How will the message show up when publishing using VS UI (that allows user to set output path that maps to -o in publish)?
What if the user uses the VS publish wizard or dotnet publish -o c:\some\output\path? Do we ignore user's desired output path and instruct them to go look elsewhere? How will the message show up when publishing using VS UI (that allows user to set output path that maps to -o in publish)?
The actual AppBundle location can be modified with WasmAppDir property.
I really don't understand the logic though of why it would only do this optimization during a publish or why the smaller bundled SizeApp.wasm file doesn't appear in the publish folder even though I just told it where I want to publish into. Then there is another dotnet.wasm file of 10mb in the folder I published
@Meai Please move the discussion about the output path here.
Activity
maraf commentedon Nov 2, 2023
cc @radical
MichalStrehovsky commentedon Nov 3, 2023
What if the user uses the VS publish wizard or
dotnet publish -o c:\some\output\path? Do we ignore user's desired output path and instruct them to go look elsewhere? How will the message show up when publishing using VS UI (that allows user to set output path that maps to-oinpublish)?MichalStrehovsky commentedon Nov 3, 2023
What if the user uses the VS publish wizard or
dotnet publish -o c:\some\output\path? Do we ignore user's desired output path and instruct them to go look elsewhere? How will the message show up when publishing using VS UI (that allows user to set output path that maps to-oinpublish)?maraf commentedon Nov 3, 2023
The actual AppBundle location can be modified with
WasmAppDirproperty.runtime/src/mono/wasi/build/WasiApp.targets
Line 9 in 7d6b784
I don't know the details why we don't use standard publish location, but it might be related to nested publish. cc @radical
maraf commentedon Nov 3, 2023
Originally posted at #65895 (comment)
@Meai Please move the discussion about the output path here.