|
21 | 21 | <!-- The files for this project have been removed from the .NET product due to licensing issues. -->
|
22 | 22 | <ExcludeFromDotNetBuild>true</ExcludeFromDotNetBuild>
|
23 | 23 | <IsTestUtilityProject>true</IsTestUtilityProject>
|
| 24 | + <TargetFrameworks>$(NetCurrent)-windows;net481</TargetFrameworks> |
| 25 | + <!-- Unset TargetFramework as this property gets set in Directory.Build.props. This is necessary to avoid over-building. --> |
| 26 | + <TargetFramework /> |
24 | 27 | </PropertyGroup>
|
25 | 28 |
|
26 |
| - <ItemGroup> |
| 29 | + <ItemGroup Condition="'$(TargetFramework)' == '$(NetCurrent)-windows'"> |
27 | 30 | <PackageReference Include="System.Runtime.Serialization.Formatters" />
|
28 | 31 | </ItemGroup>
|
29 | 32 |
|
30 | 33 | <ItemGroup>
|
| 34 | + <EmbeddedResource Update="Properties\Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" /> |
| 35 | + <Compile Update="Properties\Resources.Designer.cs" AutoGen="True" DependentUpon="Resources.resx" DesignTime="True" /> |
| 36 | + </ItemGroup> |
| 37 | + |
| 38 | + <ItemGroup Condition="'$(TargetFramework)' == '$(NetCurrent)-windows'"> |
| 39 | + <ProjectReference Include="..\..\..\..\..\System.Design\src\System.Design.Facade.csproj" /> |
| 40 | + <ProjectReference Include="..\..\..\..\..\System.Drawing.Design\src\System.Drawing.Design.Facade.csproj" /> |
31 | 41 | <ProjectReference Include="..\..\..\..\..\System.Windows.Forms.Design\src\System.Windows.Forms.Design.csproj" />
|
32 | 42 | <ProjectReference Include="..\..\..\..\src\System.Windows.Forms.csproj" />
|
33 |
| - <ProjectReference Include="..\..\..\..\..\System.Drawing.Common\src\System.Drawing.Common.csproj" /> |
34 |
| - <ProjectReference Include="..\DesignSurfaceExt\DesignSurfaceExt.csproj" /> |
35 | 43 | </ItemGroup>
|
36 | 44 |
|
37 |
| - <ItemGroup> |
38 |
| - <EmbeddedResource Update="Properties\Resources.resx" Generator="ResXFileCodeGenerator" LastGenOutput="Resources.Designer.cs" /> |
39 |
| - <Compile Update="Properties\Resources.Designer.cs" AutoGen="True" DependentUpon="Resources.resx" DesignTime="True" /> |
| 45 | + <ItemGroup Condition="'$(TargetFramework)' == 'net481'"> |
| 46 | + <Reference Include='System.Windows.Forms'/> |
| 47 | + <Reference Include='System.Drawing'/> |
| 48 | + <Reference Include='System.Design'/> |
40 | 49 | </ItemGroup>
|
41 | 50 |
|
42 | 51 | <ItemGroup>
|
|
0 commit comments