wondering where to get started

Copper Contributor

I have recently started a new job where i have the responsibility to migrate all our applications to .NET 5. I am starting with a small application that is a combination of C#, Managed C++ and Native C++ projects. One of these projects is a dll project that during the release build gets encrypted as part of a post build event. This application has been successfully migrated .NET 5. Now i need to fix the existing installer and make it work with the new changes.

We currently create the installer by using the VS Installer Project. The problem with this is that .NET 5 now has to be a Launch Condition/Dependency. The launch conditions only goes up to .NET Framework 4.8.

This has me looking at the MSIX setup. the problem i am running into is that MSIX seems to rely on being able to read the dependencies of the projects to decide which files to include. This turns out to be a problem with the encrypted dll because it is not seen as a dependency. In the VS installer projects we could explicitly state that that file needs to be included.


Any help or advice would be appreciated.

1 Reply
Hi! I would start off with looking at our documentation with creating an MSIX if you have the source code: https://docs.microsoft.com/en-us/windows/msix/desktop/source-code-overview
In particular, look at the following documentation to package apps in VS https://docs.microsoft.com/en-us/windows/msix/package/packaging-uwp-apps