-
Notifications
You must be signed in to change notification settings - Fork 207
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
Windows target publishing/archiving #352
Comments
there are 2 kinds of "self-contained" when talking about WinUI:
Note that you can't set $(SelfContained)=false with Maui because of dotnet/maui#7170. So all Maui Windows apps are ".NET Runtime self-contained", meaning the .NET runtime ships with the app. |
RC2 (allegedly) supports using |
But it seems to no longer support msbuild. See the workaround found in this issue: dotnet/maui#6831, which seems to indicate that calling msbuild from the command line is no longer needed (in fact, it does not work). Instead, building the Release profile targeting Windows Machine from the VS UI nicely produces a .msix file. |
The
However, you might run into the MSIX not running afterwards. Currently there's a dependency on the Visual C++ Redistributable. Three options:
This should be fixed for RC3 so that none of the above is necessary. It should be possible to omit |
@Dbquity both |
@jfversluis |
@davidbritch |
I am not sure, if this is the right place to ask this question, but since the context is set here, I will try: A fine answer could be that I need to read up on MSIX :-) |
We need a doc on publishing Windows apps using the CLI. The process is doc'd at dotnet/maui#4329. While Windows publishing uses msbuild, support is being added to the
dotnet
command but it's unlikely to land for GA.The doc should link to any relevant Windows/WinUI 3 publishing docs, including uploading the package to the store.
The doc should go in a new node at the bottom of the TOC that's called something like Deployment/Publishing/Packaging. Maybe Publishing, as the other platforms use the
dotnet publish
command.It seems that both package and unpackaged apps are now supported: dotnet/maui#3166 and dotnet/maui#4460
The text was updated successfully, but these errors were encountered: