Skip to content

[wasi] Print message with AppBundle path after build/publish #94291

Open

Description

@maraf

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

Activity

  1. ghost added
    untriaged
    on Nov 2, 2023
  2. added
    arch-wasm
    os-wasi
    and removed
    untriaged
    on Nov 2, 2023
  3. added this to the 8.0.x milestone on Nov 2, 2023
  4. maraf commented on Nov 2, 2023

    @maraf
    MemberAuthor
  5. MichalStrehovsky commented on Nov 3, 2023

    @MichalStrehovsky
    Member

    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)?

  6. MichalStrehovsky commented on Nov 3, 2023

    @MichalStrehovsky
    Member

    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)?

  7. maraf commented on Nov 3, 2023

    @maraf
    MemberAuthor

    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.

    - $(WasmAppDir) - AppBundle dir (Defaults to `$(OutputPath)\$(Configuration)\AppBundle`)

    I don't know the details why we don't use standard publish location, but it might be related to nested publish. cc @radical

  8. maraf commented on Nov 3, 2023

    @maraf
    MemberAuthor

    Originally posted at #65895 (comment)

    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.

  9. modified the milestones: 8.0.x, 11.0.0 on Jul 18, 2025
  10. modified the milestones: 11.0.0, Future on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-Build-monoos-wasi

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions