|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<Project Sdk="Sunburst.NET.Sdk.WPF/1.0.47"> |
| 2 | +<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> |
3 | 3 | <PropertyGroup>
|
4 | 4 | <RootNamespace>Rubberduck</RootNamespace>
|
5 | 5 | <AssemblyName>Rubberduck.Core</AssemblyName>
|
|
11 | 11 | <!-- Disable "Missing XML documentation" warning (CS1591) -->
|
12 | 12 | <DisabledWarnings>$(DisabledWarnings);1591</DisabledWarnings>
|
13 | 13 | <ApplicationIcon>Ducky.ico</ApplicationIcon>
|
14 |
| - <!-- Give a fixed version to not blow XAML generated code to smithereens --> |
15 |
| - <!-- This also fixes "Input string was not in the correct format" error message when referring to the current assembly in an XAML-Namespace --> |
16 |
| - <AssemblyVersion>2.4.1</AssemblyVersion> |
| 14 | + <UseWpf>true</UseWpf> |
| 15 | + <UseWindowsForms>true</UseWindowsForms> |
17 | 16 | </PropertyGroup>
|
18 | 17 | <Import Project="..\RubberduckBaseProject.csproj" />
|
19 | 18 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugAccess|AnyCPU'">
|
|
91 | 90 | <Version>2.0.20525</Version>
|
92 | 91 | </PackageReference>
|
93 | 92 | </ItemGroup>
|
94 |
| - |
95 |
| - <!-- BEGIN WINDOWS FORMS WORKAROUND SECTION --> |
96 |
| - <ItemGroup> |
97 |
| - <Compile Update="**\*Window.cs" SubType="Form" /> |
98 |
| - <Compile Update="**\*Dialog.cs" SubType="Form" /> |
99 |
| - <Compile Update="**\SettingsForm.cs" SubType="Form" /> |
100 |
| - <Compile Update="**\SimpleListControl.cs" SubType="Form" /> |
101 |
| - <Compile Update="**\Splash.cs" SubType="Form" /> |
102 |
| - <Compile Update="**\*.Designer.cs"> |
103 |
| - <DependentUpon>$([System.String]::Copy('%(Filename)').Replace('.Designer', '')).cs</DependentUpon> |
104 |
| - </Compile> |
105 |
| - <EmbeddedResource Update="UI\**\*.resx"> |
106 |
| - <DependentUpon>%(Filename).cs</DependentUpon> |
107 |
| - </EmbeddedResource> |
108 |
| - </ItemGroup> |
109 |
| - <ItemGroup> |
110 |
| - <Compile Update="Properties\Settings.Designer.cs"> |
111 |
| - <DependentUpon>Settings.settings</DependentUpon> |
112 |
| - <DesignTime>True</DesignTime> |
113 |
| - <AutoGen>True</AutoGen> |
114 |
| - </Compile> |
115 |
| - </ItemGroup> |
116 |
| - <ItemGroup> |
117 |
| - <None Update="Properties\Settings.settings"> |
118 |
| - <LastGenOutput>Settings.Designer.cs</LastGenOutput> |
119 |
| - <Generator>SettingsSingleFileGenerator</Generator> |
120 |
| - </None> |
121 |
| - </ItemGroup> |
122 |
| - <!-- END WINDOWS FORMS WORKAROUND SECTION --> |
123 |
| - |
124 | 93 | </Project>
|
0 commit comments