MSIX: Package Support Framework Part 3

This post has been republished via RSS; it originally appeared at: Core Infrastructure and Security Blog articles.

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-Framework-Part-2-Preparation/ba-p/393864), 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: https://github.com/Microsoft/MSIX-PackageSupportFramework

 

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:

image002.png 

 

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.

image004.jpg 

 

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:

"C:\resources\Nuget\MSIX-PackageSupportFramework-master\samples\PSFSample\PSFSample.sln"

 

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.

image006.png

 

8. Right click on the PSFSamplePackage to show the options available. Select Build.

image008.jpg

 

9. "Open Folder in File Explorer" will finally open a window showing you the resulting files.

image010.jpg

 

Preparation is now complete for fixing the application in our next posts…

 

 

References:

MSIX – The MSIX Packaging Tool – Using the First Package (Part 1)

https://techcommunity.microsoft.com/t5/Core-Infrastructure-and-Security/MSIX-The-MSIX-Packaging-Tool-Using-the-first-package/ba-p/363553

 

MSIX Package Support Framework Part 2 - Preparation

https://techcommunity.microsoft.com/t5/Core-Infrastructure-and-Security/MSIX-Package-Support-Framework-Part-2-Preparation/ba-p/393864

 

 

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.