Skip to content

Commit 82fa2d4

Browse files
rido-minRon Petrusha
authored andcommitted
Create MSIX package for WinForms Core app (#390)
* WinForms Core MSIX * update release urls * ignore bundle artifacts * BundLe * Remove AnyCPU * add README, fix manifest with tokens * Update README * Update wapproj to enable debugging Add debugger type * Fix README Addressing @rpetrusha feedback
1 parent 62cab30 commit 82fa2d4

File tree

65 files changed

+907
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+907
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>netcoreapp3.0</TargetFramework>
6+
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
7+
<SelfContained>true</SelfContained>
8+
<Platforms>AnyCPU;x86</Platforms>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<FrameworkReference Include="Microsoft.DesktopUI" />
13+
</ItemGroup>
14+
15+
<ItemGroup>
16+
<ProjectReference Include="..\WindowsFormsApp1\WindowsFormsApp1.csproj" />
17+
</ItemGroup>
18+
19+
<ItemGroup>
20+
<Folder Include="Properties\" />
21+
</ItemGroup>
22+
23+
<Target Name="__GetPublishItems" DependsOnTargets="ComputeFilesToPublish" Returns="@(_PublishItem)">
24+
<ItemGroup>
25+
<_PublishItem Include="@(ResolvedFileToPublish->'%(FullPath)')" TargetPath="%(ResolvedFileToPublish.RelativePath)" OutputGroup="__GetPublishItems" />
26+
<_PublishItem Include="$(ProjectDepsFilePath)" TargetPath="$(ProjectDepsFileName)" />
27+
<_PublishItem Include="$(ProjectRuntimeConfigFilePath)" TargetPath="$(ProjectRuntimeConfigFileName)" />
28+
</ItemGroup>
29+
</Target>
30+
</Project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using System;
2+
using System.Windows.Forms;
3+
4+
namespace CoreWinFormsApp1
5+
{
6+
class Program
7+
{
8+
[STAThread]
9+
static void Main()
10+
11+
{
12+
Application.EnableVisualStyles();
13+
Application.SetCompatibleTextRenderingDefault(false);
14+
Application.Run(new WindowsFormsApp1.Form1());
15+
16+
}
17+
}
18+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28010.2041
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApp1", "WindowsFormsApp1\WindowsFormsApp1.csproj", "{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}"
7+
EndProject
8+
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "WindowsFormsApp1.Package", "WindowsFormsApp1.Package\WindowsFormsApp1.Package.wapproj", "{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoreWinFormsApp1", "CoreWinFormsApp1\CoreWinFormsApp1.csproj", "{BF70C62C-99B5-47C5-B527-A4AD1338723E}"
11+
EndProject
12+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C3AFF30C-502F-4A5B-BF49-785A9F4C4089}"
13+
ProjectSection(SolutionItems) = preProject
14+
README.md = README.md
15+
EndProjectSection
16+
EndProject
17+
Global
18+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
19+
Debug|x64 = Debug|x64
20+
Debug|x86 = Debug|x86
21+
Release|x64 = Release|x64
22+
Release|x86 = Release|x86
23+
EndGlobalSection
24+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
25+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Debug|x64.ActiveCfg = Debug|Any CPU
26+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Debug|x64.Build.0 = Debug|Any CPU
27+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Debug|x86.ActiveCfg = Debug|x86
28+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Debug|x86.Build.0 = Debug|x86
29+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Release|x64.ActiveCfg = Release|Any CPU
30+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Release|x64.Build.0 = Release|Any CPU
31+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Release|x86.ActiveCfg = Release|x86
32+
{F9E02CDA-E0B5-4E43-82EF-64EF405CB213}.Release|x86.Build.0 = Release|x86
33+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Debug|x64.ActiveCfg = Debug|x64
34+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Debug|x64.Build.0 = Debug|x64
35+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Debug|x64.Deploy.0 = Debug|x64
36+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Debug|x86.ActiveCfg = Debug|x86
37+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Debug|x86.Build.0 = Debug|x86
38+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Debug|x86.Deploy.0 = Debug|x86
39+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Release|x64.ActiveCfg = Release|x64
40+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Release|x64.Build.0 = Release|x64
41+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Release|x64.Deploy.0 = Release|x64
42+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Release|x86.ActiveCfg = Release|x86
43+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Release|x86.Build.0 = Release|x86
44+
{FA0D80AB-4FC9-40D6-AA5F-E50044ED2C5C}.Release|x86.Deploy.0 = Release|x86
45+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Debug|x64.ActiveCfg = Debug|Any CPU
46+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Debug|x64.Build.0 = Debug|Any CPU
47+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Debug|x86.ActiveCfg = Debug|x86
48+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Debug|x86.Build.0 = Debug|x86
49+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Release|x64.ActiveCfg = Release|Any CPU
50+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Release|x64.Build.0 = Release|Any CPU
51+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Release|x86.ActiveCfg = Release|x86
52+
{BF70C62C-99B5-47C5-B527-A4AD1338723E}.Release|x86.Build.0 = Release|x86
53+
EndGlobalSection
54+
GlobalSection(SolutionProperties) = preSolution
55+
HideSolutionNode = FALSE
56+
EndGlobalSection
57+
GlobalSection(ExtensibilityGlobals) = postSolution
58+
SolutionGuid = {E34C6E40-45E2-459E-AF10-FE4E6D3319D3}
59+
EndGlobalSection
60+
EndGlobal
Lines changed: 51 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BundleArtifacts/
1.85 KB
2.05 KB
2.62 KB
3.78 KB
10.6 KB

0 commit comments

Comments
 (0)