Publish self-contained with MSIX in Visual Studio?

Copper Contributor

Hello,

 

I was wondering if it's possible to utilize the .pubxml publish profile in .Net Core projects when publishing an MSIX packaging project. Specifically, I would like to publish the app self-contained, so I do not have to depend on the .Net Core runtime being installed. I've posted a question to StackOverflow here:

https://stackoverflow.com/questions/62163065/how-do-i-use-a-windows-application-packaging-project-in...

 

I saw this related post, but it didn't ask about publishing self-contained, which I think is a reasonable scenario that the MS team would want to support.

 

https://techcommunity.microsoft.com/t5/msix-packaging-and-tools/is-it-possible-to-use-publish-single...

 

Thanks in advance!

1 Reply

@David Cuccia The MSIX Packaging tool appears to put .net core into the package when requested. So you could try creating a package that way and see how they do it.