Is It Possible To Use Publish Single File In .Net Core 3 With AppInstaller/MSIX?

Occasional Contributor



Where I work we have a WPF application that we converted to .NET Core 3.0 and migrated to MSIX/AppInstaller from ClickOnce.  I noticed that .NET Core 3.0 has the ability to publish as a single file. However if I add this setting to my .csproj for my WPF application and/or make modifications to the .wapproj:



    <ProjectReference Include="..\..\Application\MyWpfDotNetCore3App.csproj">


And then publish or build the MSIX and AppInstaller files (either using VS or Azure Devops), the MSIX bundle still contains all of the loose files for the app and its dependencies.

This isn't really an issue, but I would just like to know if MSIX/AppInstaller currently supports this functionality or if I am doing something wrong?
2 Replies
best response confirmed by StephenJeffreyWhite (Occasional Contributor)

Hi @StephenJeffreyWhite 


When using the Windows Application Packaging Project with .NET Core 3 it creates an app-local .NET Core package which is fully self contained. The single file, is currently not supported. I've forwarded your feedback to the Visual Studio team.




Hi Tanaka,

Thanks for letting me know about this, I appreciate the response and clearing the air on this question. I hope you have a good weekend!