diff --git a/global.json b/global.json
index 4d464e8..a0eb6e0 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "2.1.505"
+ "version": "6.0.300"
},
"msbuild-sdks": {
"Microsoft.Build.Traversal": "1.0.45"
diff --git a/mirepoix.proj b/mirepoix.proj
index 5b6fcd5..3c5e5c5 100644
--- a/mirepoix.proj
+++ b/mirepoix.proj
@@ -33,9 +33,9 @@
-
+
diff --git a/mirepoix.sln b/mirepoix.sln
index 148206d..644cf3c 100644
--- a/mirepoix.sln
+++ b/mirepoix.sln
@@ -35,12 +35,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.MSBuild.Sdk.Tests",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Mac.Sdk", "src\Xamarin.Mac.Sdk\Xamarin.Mac.Sdk.csproj", "{0A774290-7199-5364-BC2E-82526B386C7A}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ILRepackPatcher", "tools\ILRepackPatcher\ILRepackPatcher.csproj", "{F95EC498-1C9C-5C97-BE3B-0F6702E57314}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.BuildConsolidator", "src\Xamarin.BuildConsolidator\Xamarin.BuildConsolidator.csproj", "{00109FC2-4F86-583E-93A8-167E47928E84}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.BuildConsolidator.Tests", "src\Xamarin.BuildConsolidator.Tests\Xamarin.BuildConsolidator.Tests.csproj", "{CFC355DB-EB92-56D7-A0EE-4CF585D2A341}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Cecil.Rocks", "src\Xamarin.Cecil.Rocks\Xamarin.Cecil.Rocks.csproj", "{02CC9070-D5F4-571C-90F9-75B7E8F8D341}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Cecil.Rocks.Tests", "src\Xamarin.Cecil.Rocks.Tests\Xamarin.Cecil.Rocks.Tests.csproj", "{1D45883F-3DA7-5EA7-AE55-0F2634BE1C1A}"
@@ -120,18 +114,6 @@ Global
{0A774290-7199-5364-BC2E-82526B386C7A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A774290-7199-5364-BC2E-82526B386C7A}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{0A774290-7199-5364-BC2E-82526B386C7A}.Release|Any CPU.Build.0 = Debug|Any CPU
- {F95EC498-1C9C-5C97-BE3B-0F6702E57314}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F95EC498-1C9C-5C97-BE3B-0F6702E57314}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F95EC498-1C9C-5C97-BE3B-0F6702E57314}.Release|Any CPU.ActiveCfg = Debug|Any CPU
- {F95EC498-1C9C-5C97-BE3B-0F6702E57314}.Release|Any CPU.Build.0 = Debug|Any CPU
- {00109FC2-4F86-583E-93A8-167E47928E84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {00109FC2-4F86-583E-93A8-167E47928E84}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {00109FC2-4F86-583E-93A8-167E47928E84}.Release|Any CPU.ActiveCfg = Debug|Any CPU
- {00109FC2-4F86-583E-93A8-167E47928E84}.Release|Any CPU.Build.0 = Debug|Any CPU
- {CFC355DB-EB92-56D7-A0EE-4CF585D2A341}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {CFC355DB-EB92-56D7-A0EE-4CF585D2A341}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {CFC355DB-EB92-56D7-A0EE-4CF585D2A341}.Release|Any CPU.ActiveCfg = Debug|Any CPU
- {CFC355DB-EB92-56D7-A0EE-4CF585D2A341}.Release|Any CPU.Build.0 = Debug|Any CPU
{02CC9070-D5F4-571C-90F9-75B7E8F8D341}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{02CC9070-D5F4-571C-90F9-75B7E8F8D341}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02CC9070-D5F4-571C-90F9-75B7E8F8D341}.Release|Any CPU.ActiveCfg = Debug|Any CPU
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 90b1ae5..7639876 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -6,6 +6,7 @@
latest
true
true
+ $(NoWarn);CA1416
true
@@ -15,7 +16,9 @@
https://github.com/xamarin/mirepoix
https://xamarin.github.io/mirepoix
MIT
- https://www.xamarin.com/content/images/nuget/xamarin.png
+
+
$([MSBuild]::NormalizePath($(MSBuildThisFileDirectory)..\_artifacts\))
true
@@ -26,9 +29,9 @@
- netcoreapp2.1
+ net6.0
false
- xUnit1026
+ $(NoWarn);xUnit1026
diff --git a/src/Xamarin.MSBuild.Sdk.Tests/DependencyGraphTests.cs b/src/Xamarin.MSBuild.Sdk.Tests/DependencyGraphTests.cs
index 261f8b4..cc561da 100644
--- a/src/Xamarin.MSBuild.Sdk.Tests/DependencyGraphTests.cs
+++ b/src/Xamarin.MSBuild.Sdk.Tests/DependencyGraphTests.cs
@@ -50,9 +50,9 @@ public async Task ProcessMirepoixSolution ()
p => Assert.Equal ("Xamarin.MSBuild.Sdk", p),
p => Assert.Equal ("Xamarin.MSBuild.Sdk.Tests", p),
p => Assert.Equal ("Xamarin.Mac.Sdk", p),
- p => Assert.Equal ("ILRepackPatcher", p),
- p => Assert.Equal ("Xamarin.BuildConsolidator", p),
- p => Assert.Equal ("Xamarin.BuildConsolidator.Tests", p),
+ // p => Assert.Equal ("ILRepackPatcher", p),
+ // p => Assert.Equal ("Xamarin.BuildConsolidator", p),
+ // p => Assert.Equal ("Xamarin.BuildConsolidator.Tests", p),
p => Assert.Equal ("Xamarin.Cecil.Rocks", p),
p => Assert.Equal ("Xamarin.Cecil.Rocks.Tests", p),
p => Assert.Equal ("Xamarin.PropertyListDeserializer", p));
diff --git a/src/Xamarin.MSBuild.Sdk/Sdk.props b/src/Xamarin.MSBuild.Sdk/Sdk.props
index c261814..623d80f 100644
--- a/src/Xamarin.MSBuild.Sdk/Sdk.props
+++ b/src/Xamarin.MSBuild.Sdk/Sdk.props
@@ -1,9 +1,12 @@
- $(MSBuildThisFileDirectory)..\lib\netstandard2.0\Xamarin.MSBuild.Sdk.dll
+ <_FrameworkFolderName>net472
+ <_FrameworkFolderName Condition="'$(MSBuildRuntimeType)' == 'Core'">net6.0
+
+ $(MSBuildThisFileDirectory)..\lib\$(_FrameworkFolderName)\Xamarin.MSBuild.Sdk.dll
$(XamarinMSBuildSdkNuGetTaskAssembly)
- $(MSBuildThisFileDirectory)\bin\Debug\netstandard2.0\Xamarin.MSBuild.Sdk.dll
+ $(MSBuildThisFileDirectory)bin\Debug\$(_FrameworkFolderName)\Xamarin.MSBuild.Sdk.dll
$(XamarinMSBuildSdkLocalBuildTaskAssembly)
\ No newline at end of file
diff --git a/src/Xamarin.MSBuild.Sdk/Xamarin.MSBuild.Sdk.csproj b/src/Xamarin.MSBuild.Sdk/Xamarin.MSBuild.Sdk.csproj
index e854425..f798dc2 100644
--- a/src/Xamarin.MSBuild.Sdk/Xamarin.MSBuild.Sdk.csproj
+++ b/src/Xamarin.MSBuild.Sdk/Xamarin.MSBuild.Sdk.csproj
@@ -1,6 +1,6 @@
- netstandard2.0
+ net6.0;net472
true
Dependency;MSBuildSdk
true
@@ -13,11 +13,11 @@
-
-
+
+
-
-
+
+