Hi all! Johannes Freundorfer, Ingmar Oosterhoff, and Matthias Herfurth back again for part 3 of our series!
Using the tools downloaded to our Virtual Machine in the previous blog (https://techcommunity.microsoft.com/t5/Core-Infrastructure-and-Security/MSIX-Package-Support-Framewo…), we’re now going to fix a “made to break” application provided by Microsoft.
This application can be downloaded from Github and needs to be compiled with Visual Studio.
The sources of this application can be found here:
1. Choosing “Clone or Download” will allow you to download the whole set of files as a ZIP-container.
2. Expand the. zip to the folder structure created in the previous blog. Once expanded the folder structure should look like this:
3. The next step is to review and compile the broken Sample application. To do this we need Microsoft Visual Studio. You could install that yourself or take the easy route and use the Quick create template in Hyper-V manager on your Windows 10 machine.
4. Select the Windows 10 dev environment VM, and a new VM with Visual Studio is up and running in minutes.
5. We can then copy our Resources folder over to this VM. Oh, and did you notice there is also a VM available with the MSIX Packaging Tool Environment?
6. Once Visual Studio is up and running, open the following file:
7. As this is a project from an external source, some warnings will pop up. To be able to proceed you’ll need to accept those. If you missed some features during Visual Studio installation those will be installed afterwards. You’ll know you’ve succeeded as soon as you’re able to see a similar window in the screenshot below. One Solution called ‘PSFSample‘ containing 4 Projects.
8. Right click on the PSFSamplePackage to show the options available. Select Build.
9. “Open Folder in File Explorer” will finally open a window showing you the resulting files.
Preparation is now complete for fixing the application in our next posts…
MSIX – The MSIX Packaging Tool – Using the First Package (Part 1)
MSIX Package Support Framework Part 2 – Preparation