-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Create MSIX package for WinForms Core app #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| To use the Windows Packaging Project (wapproj) you need to install the Universal Windows workload in Visual Studio. | ||
|
|
||
| To produce `MSIX` packages you must have the **Windows 10 Octobe 2018 SDK** (aka 10.0.17763), otherwise the generated package will have the `APPX` extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Octobe
|
|
||
| To produce `MSIX` packages you must have the **Windows 10 Octobe 2018 SDK** (aka 10.0.17763), otherwise the generated package will have the `APPX` extension. | ||
|
|
||
| To install MSIX packages you need the **Windows 10 Octobe 2018 Update**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Octobe
Add debugger type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left some suggested changes for the readme, @rido-min.
| @@ -0,0 +1,51 @@ | |||
| # MSIX Windows Forms Core Application | |||
|
|
|||
| This sample shows how to use the Windows Packaging Project to package a WinForms application running on Core. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Core --> .NET Core
|
|
||
| To use the Windows Packaging Project (wapproj) you need to install the Universal Windows workload in Visual Studio. | ||
|
|
||
| To produce `MSIX` packages you must have the **Windows 10 October 2018 SDK** (aka 10.0.17763), otherwise the generated package will have the `APPX` extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- comma after "packages"
- semicolon before "otherwise", and a comma after "otherwise"
|
|
||
| To produce `MSIX` packages you must have the **Windows 10 October 2018 SDK** (aka 10.0.17763), otherwise the generated package will have the `APPX` extension. | ||
|
|
||
| To install MSIX packages you need the **Windows 10 October 2018 Update** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: extra space bewtween "need" and "the". But this sentence can be deleted, since it duplicates line 9.
|
|
||
| ## Customize the Packaging Project | ||
|
|
||
| Currently, the packaging project does not support .NET Core applications, as a workaround we updated the project files to call the `publish` target to produce a self-contained app, and fix the manifest entry point. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- period after ".NET Core applications"
- as a workaround we --> As a workaround, we
- and fix --> and to fix
|
|
||
| Currently, the packaging project does not support .NET Core applications, as a workaround we updated the project files to call the `publish` target to produce a self-contained app, and fix the manifest entry point. | ||
|
|
||
| In the .NET core csproj add: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.NET core csproj --> .NET Core .csproj file
| </Target> | ||
| ``` | ||
|
|
||
| In the wapproj modify the project `ProjectReference` element: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- wapproj --> .wapproj file,
- "project" can be deleted
Addressing @rpetrusha feedback
|
This looks good, @rido-min. Is it ready to merge, or should anyone else review it? |
|
@rido-min Looks good to me. |
|
Can we merge this one now? |
Summary
This sample uses the Windows Packaging project to produce an MSIX from a .NET Core self contained application.