Skip to content

Commit d0bcf61

Browse files
authored
Merge pull request #4536 from bclothier/FixWinFormDesigner
Restore WinForms designer
2 parents d1840ac + d445c4b commit d0bcf61

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Rubberduck.Core/Rubberduck.Core.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,21 @@
9494
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
9595
</None>
9696
</ItemGroup>
97+
98+
<!-- BEGIN WINDOWS FORMS WORKAROUND SECTION -->
99+
<ItemGroup>
100+
<Compile Update="**\*Window.cs" SubType="Form" />
101+
<Compile Update="**\*Dialog.cs" SubType="Form" />
102+
<Compile Update="**\SettingsForm.cs" SubType="Form" />
103+
<Compile Update="**\SimpleListControl.cs" SubType="Form" />
104+
<Compile Update="**\Splash.cs" SubType="Form" />
105+
<Compile Update="**\*.Designer.cs">
106+
<DependentUpon>$([System.String]::Copy('%(Filename)').Replace('.Designer', '')).cs</DependentUpon>
107+
</Compile>
108+
<EmbeddedResource Update="UI\**\*.resx">
109+
<DependentUpon>%(Filename).cs</DependentUpon>
110+
</EmbeddedResource>
111+
</ItemGroup>
112+
<!-- END WINDOWS FORMS WORKAROUND SECTION -->
113+
97114
</Project>

0 commit comments

Comments
 (0)