* Suppress System.Drawing.Common dependency from System.Windows.Extensions
* Add Drawing reference to Windows.Extensions tests
</ItemGroup>
<ItemGroup>
- <PackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonVersion)" />
+ <!-- Avoid a PackageReference to System.Drawing.Common this reference is only needed for TypeForwards -->
+ <PackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonVersion)" PrivateAssets="All" />
</ItemGroup>
</Project>
\ No newline at end of file
</ItemGroup>
<ItemGroup>
- <PackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonVersion)" />
+ <!-- Avoid a PackageReference to System.Drawing.Common this reference is only needed for TypeForwards -->
+ <PackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonVersion)" PrivateAssets="All" />
</ItemGroup>
</Project>
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.ComponentModel.TypeConverter.TestData" Version="$(SystemComponentModelTypeConverterTestDataVersion)" />
+ <PackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonVersion)" />
<PackageReference Include="System.Drawing.Common.TestData" Version="$(SystemDrawingCommonTestDataVersion)" />
<PackageReference Include="System.Windows.Extensions.TestData" Version="$(SystemWindowsExtensionsTestDataVersion)" />
<ProjectReference Include="..\src\System.Windows.Extensions.csproj" />
--- /dev/null
+<Project>
+ <ItemGroup>
+ <!-- intentional dangling ref from System.Windows.Extensions -->
+ <IgnoredReference Include="System.Drawing.Common" />
+ </ItemGroup>
+</Project>
--- /dev/null
+<Project>
+ <ItemGroup>
+ <!-- intentional dangling ref -->
+ <IgnoredReference Include="System.Drawing.Common" />
+ </ItemGroup>
+</Project>