Skip to content

Commit

Permalink
Remove indirect reference to System.Drawing.Common
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Jun 23, 2023
1 parent 8048bfb commit 1fa5f82
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Test.Utilities/AdditionalMetadataReferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public static class AdditionalMetadataReferences
public static MetadataReference SystemRuntimeSerialization { get; } = MetadataReference.CreateFromFile(typeof(System.Runtime.Serialization.NetDataContractSerializer).Assembly.Location);
#endif
public static MetadataReference TestReferenceAssembly { get; } = MetadataReference.CreateFromFile(typeof(OtherDll.OtherDllStaticMethods).Assembly.Location);
public static MetadataReference SystemDirectoryServices { get; } = MetadataReference.CreateFromFile(typeof(System.DirectoryServices.DirectoryEntry).Assembly.Location);
#if !NETCOREAPP
public static MetadataReference SystemXaml { get; } = MetadataReference.CreateFromFile(typeof(System.Xaml.XamlReader).Assembly.Location);
public static MetadataReference PresentationFramework { get; } = MetadataReference.CreateFromFile(typeof(System.Windows.Markup.XamlReader).Assembly.Location);
Expand Down
1 change: 0 additions & 1 deletion src/Test.Utilities/Test.Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.CodeFix.Testing.XUnit" Version="$(MicrosoftCodeAnalysisTestingVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.CodeRefactoring.Testing.XUnit" Version="$(MicrosoftCodeAnalysisTestingVersion)" />
<PackageReference Include="System.ComponentModel.Composition" Version="$(SystemComponentModelCompositionVersion)" />
<PackageReference Include="System.DirectoryServices" Version="$(SystemDirectoryServicesVersion)" />
<PackageReference Include="xunit.assert" Version="$(XunitVersion)" />
<PackageReference Include="Xunit.Combinatorial" Version="$(XunitCombinatorialVersion)" />
<PackageReference Include="Humanizer.Core" Version="$(HumanizerVersion)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,6 @@ protected static Project CreateProject(string[] sources)
.AddMetadataReference(projectId, AdditionalMetadataReferences.SystemWebReference)
.AddMetadataReference(projectId, AdditionalMetadataReferences.SystemRuntimeSerialization)
#endif
.AddMetadataReference(projectId, AdditionalMetadataReferences.SystemDirectoryServices)
#if !NETCOREAPP
.AddMetadataReference(projectId, AdditionalMetadataReferences.SystemXaml)
.AddMetadataReference(projectId, AdditionalMetadataReferences.PresentationFramework)
Expand Down

0 comments on commit 1fa5f82

Please sign in to comment.