diff --git a/DllImportGenerator/DllImportGenerator.UnitTests/DllImportGenerator.UnitTests.csproj b/DllImportGenerator/DllImportGenerator.UnitTests/DllImportGenerator.UnitTests.csproj index 7fd03c53f8c1..1ebce78dadc5 100644 --- a/DllImportGenerator/DllImportGenerator.UnitTests/DllImportGenerator.UnitTests.csproj +++ b/DllImportGenerator/DllImportGenerator.UnitTests/DllImportGenerator.UnitTests.csproj @@ -26,4 +26,8 @@ + + + + diff --git a/DllImportGenerator/DllImportGenerator.UnitTests/TestUtils.cs b/DllImportGenerator/DllImportGenerator.UnitTests/TestUtils.cs index 995c2f0450f1..fd49c82ccf91 100644 --- a/DllImportGenerator/DllImportGenerator.UnitTests/TestUtils.cs +++ b/DllImportGenerator/DllImportGenerator.UnitTests/TestUtils.cs @@ -2,6 +2,7 @@ using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Testing; +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; @@ -96,7 +97,8 @@ public static (ReferenceAssemblies, MetadataReference) GetReferenceAssemblies() new PackageIdentity( "Microsoft.NETCore.App.Ref", "6.0.0-preview.6.21317.4"), - Path.Combine("ref", "net6.0")); + Path.Combine("ref", "net6.0")) + .WithNuGetConfigFilePath(Path.Combine(Path.GetDirectoryName(typeof(TestUtils).Assembly.Location)!, "NuGet.config")); // Include the assembly containing the new attribute and all of its references. // [TODO] Remove once the attribute has been added to the BCL diff --git a/eng/Versions.props b/eng/Versions.props index cd3c8ca95a31..fc425df2da3a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -20,7 +20,7 @@ 2.4.3 3.10.0-3.21229.26 - 1.0.1-beta1.20478.1 + 1.1.0 3.3.3-beta1.21268.3 2.0.0-beta1.21118.1