From 9e51e8a5192805512a87a85699d0e00e1e170202 Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Fri, 24 Feb 2023 14:55:53 -0800
Subject: [PATCH 1/4] Rename `netstandard` Formatting projects -
Formatting.NetCore and Formatting.NetStandard names no longer make sense
---
RuntimePortable.sln | 8 ++++----
src/Directory.Build.props | 2 +-
.../ICloneable.cs | 0
.../MediaTypeHeaderValueExtensions.cs | 0
.../System.Net.Http.Formatting.ns1_3.csproj} | 0
.../System.Net.Http.Formatting.ns2_0.csproj} | 0
src/System.Net.Http.Formatting/Properties/AssemblyInfo.cs | 4 ++--
test/Directory.Build.props | 4 ++--
test/Microsoft.TestCommon/Microsoft.TestCommon.csproj | 2 +-
.../System.Net.Http.Formatting.ns1_3.Test.csproj} | 2 +-
.../System.Net.Http.Formatting.ns2_0.Test.csproj} | 2 +-
tools/SkipStrongNames.xml | 4 ++--
12 files changed, 14 insertions(+), 14 deletions(-)
rename src/{System.Net.Http.Formatting.NetCore => System.Net.Http.Formatting.ns1_3}/ICloneable.cs (100%)
rename src/{System.Net.Http.Formatting.NetCore => System.Net.Http.Formatting.ns1_3}/MediaTypeHeaderValueExtensions.cs (100%)
rename src/{System.Net.Http.Formatting.NetCore/System.Net.Http.Formatting.NetCore.csproj => System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj} (100%)
rename src/{System.Net.Http.Formatting.NetStandard/System.Net.Http.Formatting.NetStandard.csproj => System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj} (100%)
rename test/{System.Net.Http.Formatting.NetCore.Test/System.Net.Http.Formatting.NetCore.Test.csproj => System.Net.Http.Formatting.ns1_3.Test/System.Net.Http.Formatting.ns1_3.Test.csproj} (97%)
rename test/{System.Net.Http.Formatting.NetStandard.Test/System.Net.Http.Formatting.NetStandard.Test.csproj => System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj} (96%)
diff --git a/RuntimePortable.sln b/RuntimePortable.sln
index 6838937f7..42dffff64 100644
--- a/RuntimePortable.sln
+++ b/RuntimePortable.sln
@@ -9,13 +9,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{C40883CD-3
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TestCommon", "test\Microsoft.TestCommon\Microsoft.TestCommon.csproj", "{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.NetCore", "src\System.Net.Http.Formatting.NetCore\System.Net.Http.Formatting.NetCore.csproj", "{C7060639-719B-4BD2-8A37-2F146B5A0668}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns1_3", "src\System.Net.Http.Formatting.ns1_3\System.Net.Http.Formatting.ns1_3.csproj", "{C7060639-719B-4BD2-8A37-2F146B5A0668}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.NetCore.Test", "test\System.Net.Http.Formatting.NetCore.Test\System.Net.Http.Formatting.NetCore.Test.csproj", "{8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns1_3.Test", "test\System.Net.Http.Formatting.ns1_3.Test\System.Net.Http.Formatting.ns1_3.Test.csproj", "{8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.NetStandard", "src\System.Net.Http.Formatting.NetStandard\System.Net.Http.Formatting.NetStandard.csproj", "{636CA76A-C85C-42E2-B4AA-88046279B3CA}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns2_0", "src\System.Net.Http.Formatting.ns2_0\System.Net.Http.Formatting.ns2_0.csproj", "{636CA76A-C85C-42E2-B4AA-88046279B3CA}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.NetStandard.Test", "test\System.Net.Http.Formatting.NetStandard.Test\System.Net.Http.Formatting.NetStandard.Test.csproj", "{DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns2_0.Test", "test\System.Net.Http.Formatting.ns2_0.Test\System.Net.Http.Formatting.ns2_0.Test.csproj", "{DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A72045D4-B048-4697-9535-C3A6EDCA85B9}"
ProjectSection(SolutionItems) = preProject
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index c5c258a90..6785fd164 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -4,6 +4,6 @@
true
false
- v4.5
+ v4.5
diff --git a/src/System.Net.Http.Formatting.NetCore/ICloneable.cs b/src/System.Net.Http.Formatting.ns1_3/ICloneable.cs
similarity index 100%
rename from src/System.Net.Http.Formatting.NetCore/ICloneable.cs
rename to src/System.Net.Http.Formatting.ns1_3/ICloneable.cs
diff --git a/src/System.Net.Http.Formatting.NetCore/MediaTypeHeaderValueExtensions.cs b/src/System.Net.Http.Formatting.ns1_3/MediaTypeHeaderValueExtensions.cs
similarity index 100%
rename from src/System.Net.Http.Formatting.NetCore/MediaTypeHeaderValueExtensions.cs
rename to src/System.Net.Http.Formatting.ns1_3/MediaTypeHeaderValueExtensions.cs
diff --git a/src/System.Net.Http.Formatting.NetCore/System.Net.Http.Formatting.NetCore.csproj b/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
similarity index 100%
rename from src/System.Net.Http.Formatting.NetCore/System.Net.Http.Formatting.NetCore.csproj
rename to src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
diff --git a/src/System.Net.Http.Formatting.NetStandard/System.Net.Http.Formatting.NetStandard.csproj b/src/System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj
similarity index 100%
rename from src/System.Net.Http.Formatting.NetStandard/System.Net.Http.Formatting.NetStandard.csproj
rename to src/System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj
diff --git a/src/System.Net.Http.Formatting/Properties/AssemblyInfo.cs b/src/System.Net.Http.Formatting/Properties/AssemblyInfo.cs
index 331be44ef..a9d9262b9 100644
--- a/src/System.Net.Http.Formatting/Properties/AssemblyInfo.cs
+++ b/src/System.Net.Http.Formatting/Properties/AssemblyInfo.cs
@@ -14,10 +14,10 @@
[assembly: Guid("7fa1ae84-36e2-46b6-812c-c985a8e65e9a")]
#if NETSTANDARD2_0
-[assembly: InternalsVisibleTo("System.Net.Http.Formatting.NetStandard.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: InternalsVisibleTo("System.Net.Http.Formatting.ns2_0.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
#elif NETFX_CORE
[assembly: InternalsVisibleTo("Microsoft.TestCommon, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
-[assembly: InternalsVisibleTo("System.Net.Http.Formatting.NetCore.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
+[assembly: InternalsVisibleTo("System.Net.Http.Formatting.ns1_3.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
#else
[assembly: InternalsVisibleTo("System.Net.Http.Formatting.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
[assembly: InternalsVisibleTo("System.Net.Http.Formatting.Test.Integration, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
diff --git a/test/Directory.Build.props b/test/Directory.Build.props
index 23c8b064c..c55ba298d 100644
--- a/test/Directory.Build.props
+++ b/test/Directory.Build.props
@@ -6,7 +6,7 @@
true
v4.6.2
+ '$(MSBuildProjectName)' != 'System.Net.Http.Formatting.ns1_3.Test' AND
+ '$(MSBuildProjectName)' != 'System.Net.Http.Formatting.ns2_0.Test' ">v4.6.2
diff --git a/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj b/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
index 593a10e13..f22011fdc 100644
--- a/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
+++ b/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
@@ -33,7 +33,7 @@
Condition=" '$(TargetFrameworkIdentifier)' != '.NETFramework' " />
-
diff --git a/test/System.Net.Http.Formatting.NetCore.Test/System.Net.Http.Formatting.NetCore.Test.csproj b/test/System.Net.Http.Formatting.ns1_3.Test/System.Net.Http.Formatting.ns1_3.Test.csproj
similarity index 97%
rename from test/System.Net.Http.Formatting.NetCore.Test/System.Net.Http.Formatting.NetCore.Test.csproj
rename to test/System.Net.Http.Formatting.ns1_3.Test/System.Net.Http.Formatting.ns1_3.Test.csproj
index 1a2fc91cd..b33a842ff 100644
--- a/test/System.Net.Http.Formatting.NetCore.Test/System.Net.Http.Formatting.NetCore.Test.csproj
+++ b/test/System.Net.Http.Formatting.ns1_3.Test/System.Net.Http.Formatting.ns1_3.Test.csproj
@@ -37,7 +37,7 @@
%(RecursiveDir)\%(Filename).cs
-
+
diff --git a/test/System.Net.Http.Formatting.NetStandard.Test/System.Net.Http.Formatting.NetStandard.Test.csproj b/test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj
similarity index 96%
rename from test/System.Net.Http.Formatting.NetStandard.Test/System.Net.Http.Formatting.NetStandard.Test.csproj
rename to test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj
index dc96f8c4c..22e0b000d 100644
--- a/test/System.Net.Http.Formatting.NetStandard.Test/System.Net.Http.Formatting.NetStandard.Test.csproj
+++ b/test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj
@@ -33,7 +33,7 @@
%(RecursiveDir)\%(Filename).cs
-
+
diff --git a/tools/SkipStrongNames.xml b/tools/SkipStrongNames.xml
index 7844b81cb..b189c3596 100644
--- a/tools/SkipStrongNames.xml
+++ b/tools/SkipStrongNames.xml
@@ -41,8 +41,8 @@
-
-
+
+
From e65b647471f23e098932ee1e18755e9fdc647e10 Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Fri, 24 Feb 2023 15:20:01 -0800
Subject: [PATCH 2/4] Adjust `netstandard` Formatting output paths - align w/
new project names
---
Runtime.msbuild | 6 +++---
.../System.Net.Http.Formatting.ns1_3.csproj | 2 +-
.../System.Net.Http.Formatting.ns2_0.csproj | 2 +-
test/Microsoft.TestCommon/Directory.Build.props | 2 +-
test/Microsoft.TestCommon/Microsoft.TestCommon.csproj | 4 ++--
.../System.Net.Http.Formatting.ns1_3.Test.csproj | 2 +-
.../System.Net.Http.Formatting.ns2_0.Test.csproj | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Runtime.msbuild b/Runtime.msbuild
index e02860a28..fd960add4 100644
--- a/Runtime.msbuild
+++ b/Runtime.msbuild
@@ -115,9 +115,9 @@
XmlPath=$(TestResultsDirectory)%(_TestDLLsXunit.FileName)-XunitResults.xml
- <_VSTestDLLs Include="bin\$(Configuration)\test\NetCore\**\*.Test.dll;
- bin\$(Configuration)\test\NetStandard\**\*.Test.dll"
- Exclude="bin\$(Configuration)\test\Net*\net4*\*.Test.dll" />
+ <_VSTestDLLs Include="bin\$(Configuration)\test\ns1_3\**\*.Test.dll;
+ bin\$(Configuration)\test\ns2_0\**\*.Test.dll"
+ Exclude="bin\$(Configuration)\test\ns*\net4*\*.Test.dll" />
<_XunitProject Include="tools\WebStack.testing.targets" Condition=" '$(BuildPortable)' == 'true' ">
TestAssembly=%(_VSTestDLLs.FullPath);
XmlPath=$(TestResultsDirectory)%(_VSTestDLLs.FileName)-$([System.String]::Copy('%(_VSTestDLLs.RecursiveDir)').Trim('\\'))-XunitResults.xml;
diff --git a/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj b/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
index 615fd2326..3c1352369 100644
--- a/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
+++ b/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
@@ -4,7 +4,7 @@
netstandard1.3
System.Net.Http
System.Net.Http.Formatting
- $(OutputPath)NetCore\
+ $(OutputPath)ns1_3\
$(OutputPath)$(AssemblyName).xml
false
$(DefineConstants);ASPNETMVC;NETFX_CORE
diff --git a/src/System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj b/src/System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj
index ba3a97a38..b44945028 100644
--- a/src/System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj
+++ b/src/System.Net.Http.Formatting.ns2_0/System.Net.Http.Formatting.ns2_0.csproj
@@ -4,7 +4,7 @@
netstandard2.0
System.Net.Http
System.Net.Http.Formatting
- $(OutputPath)NetStandard\
+ $(OutputPath)ns2_0\
$(OutputPath)$(AssemblyName).xml
false
$(DefineConstants);ASPNETMVC
diff --git a/test/Microsoft.TestCommon/Directory.Build.props b/test/Microsoft.TestCommon/Directory.Build.props
index dc9c3befb..29afc8610 100644
--- a/test/Microsoft.TestCommon/Directory.Build.props
+++ b/test/Microsoft.TestCommon/Directory.Build.props
@@ -3,7 +3,7 @@
- obj\NetCore\
+ obj\ns2_0\
$(DefaultItemExcludes);obj\**
diff --git a/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj b/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
index f22011fdc..12feb20d6 100644
--- a/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
+++ b/test/Microsoft.TestCommon/Microsoft.TestCommon.csproj
@@ -8,13 +8,13 @@
false
..\..\bin\$(Configuration)\Test\
$(OutputPath)NetCore\
+ Condition=" '$(NetFX_Core)' == 'true' ">$(OutputPath)ns1_3\
-
+
net462;netcoreapp2.1;net6.0
System.Net.Http
- ..\..\bin\$(Configuration)\Test\NetCore\
+ ..\..\bin\$(Configuration)\Test\ns1_3\
$(Configurations);CodeAnalysis
false
$(DefineConstants);NETFX_CORE
diff --git a/test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj b/test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj
index 22e0b000d..8c7958b39 100644
--- a/test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj
+++ b/test/System.Net.Http.Formatting.ns2_0.Test/System.Net.Http.Formatting.ns2_0.Test.csproj
@@ -3,7 +3,7 @@
net462;netcoreapp2.1;net6.0
System.Net.Http
- ..\..\bin\$(Configuration)\Test\NetStandard\
+ ..\..\bin\$(Configuration)\Test\ns2_0\
$(Configurations);CodeAnalysis
false
$(DefineConstants);Testing_NetStandard2_0
From be409a81e4710959778b9ee229426a1d4e4d0d8c Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Fri, 24 Feb 2023 15:43:07 -0800
Subject: [PATCH 3/4] Use `NETSTANDARD1_3` and `Testing_NetStandard1_3` -
`NETFX_CORE` name no longer makes much sense - remove both `NETFX_CORE` C#
defined constant and `msbuild` property - manually-defined constant
completely unnecessary in src/ code
---
Runtime.msbuild | 2 +-
src/Common/CommonWebApiResources.Designer.cs | 2 +-
src/Common/Error.cs | 2 +-
.../System.Net.Http.Formatting.ns1_3.csproj | 2 +-
.../Formatting/BaseJsonMediaTypeFormatter.cs | 2 +-
.../Formatting/BsonMediaTypeFormatter.cs | 4 +-
.../Formatting/JsonContractResolver.cs | 2 +-
.../Formatting/JsonMediaTypeFormatter.cs | 10 +-
.../Formatting/StringComparisonHelper.cs | 2 +-
.../Formatting/XmlMediaTypeFormatter.cs | 2 +-
.../FormattingUtilities.cs | 2 +-
.../Handlers/ProgressStream.cs | 4 +-
.../Internal/ByteRangeStream.cs | 4 +-
.../Internal/DelegatingStream.cs | 4 +-
.../Internal/HttpValueCollection.cs | 4 +-
.../Internal/NonClosingDelegatingStream.cs | 2 +-
.../Internal/TypeExtensions.cs | 12 +-
.../InvalidByteRangeException.cs | 2 +-
.../MimeBodyPart.cs | 2 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Properties/Resources.Designer.cs | 176 +++++++++---------
.../PushStreamContent.cs | 2 +-
.../Directory.Build.props | 4 +-
.../ExceptionAssertions.cs | 4 +-
.../Microsoft.TestCommon.csproj | 10 +-
.../Formatting/BsonMediaTypeFormatterTests.cs | 2 +-
...DataContractJsonMediaTypeFormatterTests.cs | 2 +-
.../Formatting/JsonNetSerializationTest.cs | 4 +-
.../Formatting/StringComparisonHelperTest.cs | 2 +-
.../Formatting/XmlMediaTypeFormatterTests.cs | 2 +-
.../Handlers/ProgressStreamTest.cs | 4 +-
.../HttpContentMultipartExtensionsTests.cs | 4 +-
.../Internal/ByteRangeStreamTest.cs | 2 +-
.../Internal/DelegatingStreamTest.cs | 4 +-
.../Internal/TranscodingStreamTests.cs | 2 +-
.../PushStreamContentTest.cs | 4 +-
...stem.Net.Http.Formatting.ns1_3.Test.csproj | 4 +-
37 files changed, 150 insertions(+), 150 deletions(-)
diff --git a/Runtime.msbuild b/Runtime.msbuild
index fd960add4..8aff23b15 100644
--- a/Runtime.msbuild
+++ b/Runtime.msbuild
@@ -68,7 +68,7 @@
<_ToRestore Include="@(SolutionsToBuild)" />
<_ToRestore Include="test\Microsoft.TestCommon\Microsoft.TestCommon.csproj"
- AdditionalProperties="NetFX_Core=true"
+ AdditionalProperties="Testing_NetStandard1_3=true"
Condition=" '$(BuildPortable)' == 'true' " />
diff --git a/src/Common/CommonWebApiResources.Designer.cs b/src/Common/CommonWebApiResources.Designer.cs
index 251eed2b4..6e1e476d6 100644
--- a/src/Common/CommonWebApiResources.Designer.cs
+++ b/src/Common/CommonWebApiResources.Designer.cs
@@ -40,7 +40,7 @@ internal CommonWebApiResources() {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
-#if NETFX_CORE
+#if NETSTANDARD1_3
var assembly = typeof(CommonWebApiResources).GetTypeInfo().Assembly;
#else
var assembly = typeof(CommonWebApiResources).Assembly;
diff --git a/src/Common/Error.cs b/src/Common/Error.cs
index f25b3d9b2..85449c142 100644
--- a/src/Common/Error.cs
+++ b/src/Common/Error.cs
@@ -262,7 +262,7 @@ internal static NotSupportedException NotSupported(string messageFormat, params
return new NotSupportedException(Error.Format(messageFormat, messageArgs));
}
-#if NETFX_CORE // InvalidEnumArgumentException not available in netstandard1.3.
+#if NETSTANDARD1_3 // InvalidEnumArgumentException not available in netstandard1.3.
internal class InvalidEnumArgumentException : ArgumentException
{
public InvalidEnumArgumentException() : this(null)
diff --git a/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj b/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
index 3c1352369..70326ce1b 100644
--- a/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
+++ b/src/System.Net.Http.Formatting.ns1_3/System.Net.Http.Formatting.ns1_3.csproj
@@ -7,7 +7,7 @@
$(OutputPath)ns1_3\
$(OutputPath)$(AssemblyName).xml
false
- $(DefineConstants);ASPNETMVC;NETFX_CORE
+ $(DefineConstants);ASPNETMVC
1591
false
$(Configurations);CodeAnalysis
diff --git a/src/System.Net.Http.Formatting/Formatting/BaseJsonMediaTypeFormatter.cs b/src/System.Net.Http.Formatting/Formatting/BaseJsonMediaTypeFormatter.cs
index 300716228..c25bdba46 100644
--- a/src/System.Net.Http.Formatting/Formatting/BaseJsonMediaTypeFormatter.cs
+++ b/src/System.Net.Http.Formatting/Formatting/BaseJsonMediaTypeFormatter.cs
@@ -19,7 +19,7 @@ namespace System.Net.Http.Formatting
///
public abstract class BaseJsonMediaTypeFormatter : MediaTypeFormatter
{
- // Though MaxDepth is not supported in portable library, we still override JsonReader's MaxDepth
+ // Though MaxDepth is not supported in netstandard1.3, we still override JsonReader's MaxDepth
private int _maxDepth = FormattingUtilities.DefaultMaxDepth;
private readonly IContractResolver _defaultContractResolver;
diff --git a/src/System.Net.Http.Formatting/Formatting/BsonMediaTypeFormatter.cs b/src/System.Net.Http.Formatting/Formatting/BsonMediaTypeFormatter.cs
index b6d0a8351..c6eba6e45 100644
--- a/src/System.Net.Http.Formatting/Formatting/BsonMediaTypeFormatter.cs
+++ b/src/System.Net.Http.Formatting/Formatting/BsonMediaTypeFormatter.cs
@@ -73,7 +73,7 @@ public sealed override int MaxDepth
}
}
-#if !NETFX_CORE // DBNull not supported in portable library; no need to override there
+#if !NETSTANDARD1_3 // DBNull not supported in netstandard1.3; no need to override there
///
public override Task
@@ -16,9 +16,9 @@
+ Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' AND '$(Testing_NetStandard1_3)' == 'true' " />
+ Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' AND '$(Testing_NetStandard1_3)' != 'true' " />
@@ -34,6 +34,6 @@
+ Condition=" '$(Testing_NetStandard1_3)' == 'true' " />
diff --git a/test/System.Net.Http.Formatting.Test/Formatting/BsonMediaTypeFormatterTests.cs b/test/System.Net.Http.Formatting.Test/Formatting/BsonMediaTypeFormatterTests.cs
index 8b49dba47..17711aacd 100644
--- a/test/System.Net.Http.Formatting.Test/Formatting/BsonMediaTypeFormatterTests.cs
+++ b/test/System.Net.Http.Formatting.Test/Formatting/BsonMediaTypeFormatterTests.cs
@@ -392,7 +392,7 @@ public async Task ReadFromStreamAsync_RoundTripsWriteToStreamAsync_PerhapsJObjec
}
}
-#if !NETFX_CORE // DBNull not supported in portable library
+#if !Testing_NetStandard1_3 // DBNull not supported in netstandard1.3
// Test alternate null value
[Theory]
[TestDataSet(typeof(JsonMediaTypeFormatterTests), "DBNullAsObjectTestDataCollection", TestDataVariations.AllSingleInstances)]
diff --git a/test/System.Net.Http.Formatting.Test/Formatting/DataContractJsonMediaTypeFormatterTests.cs b/test/System.Net.Http.Formatting.Test/Formatting/DataContractJsonMediaTypeFormatterTests.cs
index 55ad646b4..f29126ba1 100644
--- a/test/System.Net.Http.Formatting.Test/Formatting/DataContractJsonMediaTypeFormatterTests.cs
+++ b/test/System.Net.Http.Formatting.Test/Formatting/DataContractJsonMediaTypeFormatterTests.cs
@@ -87,7 +87,7 @@ public void CanReadType_ReturnsExpectedValues(Type variationType, object testDat
Assert.False(isSerializable != canSupport && isSerializable, String.Format("2nd CanReadType returned wrong value for '{0}'.", variationType));
}
-#if !NETFX_CORE // XsdDataContractExporterMethods unconditionally return true without XsdDataContractExporter to use.
+#if !Testing_NetStandard1_3 // XsdDataContractExporterMethods unconditionally return true without XsdDataContractExporter to use.
[Fact]
public void CanReadType_ReturnsFalse_ForInvalidDataContracts()
{
diff --git a/test/System.Net.Http.Formatting.Test/Formatting/JsonNetSerializationTest.cs b/test/System.Net.Http.Formatting.Test/Formatting/JsonNetSerializationTest.cs
index bd0edfd20..da5c9d7da 100644
--- a/test/System.Net.Http.Formatting.Test/Formatting/JsonNetSerializationTest.cs
+++ b/test/System.Net.Http.Formatting.Test/Formatting/JsonNetSerializationTest.cs
@@ -92,7 +92,7 @@ public static TheoryDataSet
From 89412eb84da3ecc4b8c2f7ab95990409ca1c51c4 Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Fri, 24 Feb 2023 22:11:52 -0800
Subject: [PATCH 4/4] Remove RuntimePortable.sln - solution name no longer
makes much sense and division adds little or no value - add .NET Standard
projects to Runtime.sln - add solution filters for .NET Framework and .NET
Standard projects - remove `$(BuildPortable)` property and
`@(SolutionsToBuild)` item group
---
.codeql.yml | 2 +-
Runtime.NetFramework.slnf | 57 +++++++++++++++++++++++++++++
Runtime.NetStandard.slnf | 12 +++++++
Runtime.msbuild | 33 +++++------------
Runtime.sln | 41 +++++++++++++++++++--
RuntimePortable.sln | 76 ---------------------------------------
azure-pipelines.yml | 2 +-
7 files changed, 119 insertions(+), 104 deletions(-)
create mode 100644 Runtime.NetFramework.slnf
create mode 100644 Runtime.NetStandard.slnf
delete mode 100644 RuntimePortable.sln
diff --git a/.codeql.yml b/.codeql.yml
index 53b9e8e43..65948ac75 100644
--- a/.codeql.yml
+++ b/.codeql.yml
@@ -57,7 +57,7 @@ jobs:
- script: .\build.cmd EnableSkipStrongNames
displayName: Windows Build - EnableSkipStrongNames
- - script: .\build.cmd Build /p:BuildPortable=true
+ - script: .\build.cmd Build
displayName: Windows Build
- task: CodeQL3000Finalize@0
diff --git a/Runtime.NetFramework.slnf b/Runtime.NetFramework.slnf
new file mode 100644
index 000000000..7b79711ff
--- /dev/null
+++ b/Runtime.NetFramework.slnf
@@ -0,0 +1,57 @@
+{
+ "solution": {
+ "path": "Runtime.sln",
+ "projects": [
+ "src\\Microsoft.AspNet.Facebook\\Microsoft.AspNet.Facebook.csproj",
+ "src\\Microsoft.Web.Helpers\\Microsoft.Web.Helpers.csproj",
+ "src\\Microsoft.Web.Mvc\\Microsoft.Web.Mvc.csproj",
+ "src\\Microsoft.Web.WebPages.OAuth\\Microsoft.Web.WebPages.OAuth.csproj",
+ "src\\System.Net.Http.Formatting\\System.Net.Http.Formatting.csproj",
+ "src\\System.Web.Cors\\System.Web.Cors.csproj",
+ "src\\System.Web.Helpers\\System.Web.Helpers.csproj",
+ "src\\System.Web.Http.Cors\\System.Web.Http.Cors.csproj",
+ "src\\System.Web.Http.Owin\\System.Web.Http.Owin.csproj",
+ "src\\System.Web.Http.SelfHost\\System.Web.Http.SelfHost.csproj",
+ "src\\System.Web.Http.SignalR\\System.Web.Http.SignalR.csproj",
+ "src\\System.Web.Http.Tracing\\System.Web.Http.Tracing.csproj",
+ "src\\System.Web.Http.WebHost\\System.Web.Http.WebHost.csproj",
+ "src\\System.Web.Http\\System.Web.Http.csproj",
+ "src\\System.Web.Mvc\\System.Web.Mvc.csproj",
+ "src\\System.Web.Razor\\System.Web.Razor.csproj",
+ "src\\System.Web.WebPages.Administration\\System.Web.WebPages.Administration.csproj",
+ "src\\System.Web.WebPages.Deployment\\System.Web.WebPages.Deployment.csproj",
+ "src\\System.Web.WebPages.Razor\\System.Web.WebPages.Razor.csproj",
+ "src\\System.Web.WebPages\\System.Web.WebPages.csproj",
+ "src\\WebApiHelpPage\\VB\\WebApiHelpPageVB.vbproj",
+ "src\\WebApiHelpPage\\WebApiHelpPage.csproj",
+ "src\\WebMatrix.Data\\WebMatrix.Data.csproj",
+ "src\\WebMatrix.WebData\\WebMatrix.WebData.csproj",
+ "test\\Microsoft.AspNet.Facebook.Test\\Microsoft.AspNet.Facebook.Test.csproj",
+ "test\\Microsoft.TestCommon\\Microsoft.TestCommon.csproj",
+ "test\\Microsoft.Web.Helpers.Test\\Microsoft.Web.Helpers.Test.csproj",
+ "test\\Microsoft.Web.Mvc.Test\\Microsoft.Web.Mvc.Test.csproj",
+ "test\\Microsoft.Web.WebPages.OAuth.Test\\Microsoft.Web.WebPages.OAuth.Test.csproj",
+ "test\\System.Net.Http.Formatting.Test\\System.Net.Http.Formatting.Test.csproj",
+ "test\\System.Web.Cors.Test\\System.Web.Cors.Test.csproj",
+ "test\\System.Web.Helpers.Test\\System.Web.Helpers.Test.csproj",
+ "test\\System.Web.Http.Cors.Test\\System.Web.Http.Cors.Test.csproj",
+ "test\\System.Web.Http.Integration.Test\\System.Web.Http.Integration.Test.csproj",
+ "test\\System.Web.Http.Owin.Test\\System.Web.Http.Owin.Test.csproj",
+ "test\\System.Web.Http.SelfHost.Test\\System.Web.Http.SelfHost.Test.csproj",
+ "test\\System.Web.Http.SignalR.Test\\System.Web.Http.SignalR.Test.csproj",
+ "test\\System.Web.Http.Test\\System.Web.Http.Test.csproj",
+ "test\\System.Web.Http.Tracing.Test\\System.Web.Http.Tracing.Test.csproj",
+ "test\\System.Web.Http.WebHost.Test\\System.Web.Http.WebHost.Test.csproj",
+ "test\\System.Web.Mvc.Test\\System.Web.Mvc.Test.csproj",
+ "test\\System.Web.Razor.Test\\System.Web.Razor.Test.csproj",
+ "test\\System.Web.WebPages.Administration.Test\\System.Web.WebPages.Administration.Test.csproj",
+ "test\\System.Web.WebPages.Deployment.Test\\System.Web.WebPages.Deployment.Test.csproj",
+ "test\\System.Web.WebPages.Razor.Test\\System.Web.WebPages.Razor.Test.csproj",
+ "test\\System.Web.WebPages.Test\\System.Web.WebPages.Test.csproj",
+ "test\\WebApiHelpPage.Test\\WebApiHelpPage.Test.csproj",
+ "test\\WebApiHelpPage.VB.Test\\WebApiHelpPage.VB.Test.csproj",
+ "test\\WebMatrix.Data.Test\\WebMatrix.Data.Test.csproj",
+ "test\\WebMatrix.WebData.Test\\WebMatrix.WebData.Test.csproj"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/Runtime.NetStandard.slnf b/Runtime.NetStandard.slnf
new file mode 100644
index 000000000..b8270ab3e
--- /dev/null
+++ b/Runtime.NetStandard.slnf
@@ -0,0 +1,12 @@
+{
+ "solution": {
+ "path": "Runtime.sln",
+ "projects": [
+ "src\\System.Net.Http.Formatting.ns1_3\\System.Net.Http.Formatting.ns1_3.csproj",
+ "src\\System.Net.Http.Formatting.ns2_0\\System.Net.Http.Formatting.ns2_0.csproj",
+ "test\\Microsoft.TestCommon\\Microsoft.TestCommon.csproj",
+ "test\\System.Net.Http.Formatting.ns1_3.Test\\System.Net.Http.Formatting.ns1_3.Test.csproj",
+ "test\\System.Net.Http.Formatting.ns2_0.Test\\System.Net.Http.Formatting.ns2_0.Test.csproj"
+ ]
+ }
+}
\ No newline at end of file
diff --git a/Runtime.msbuild b/Runtime.msbuild
index 8aff23b15..c77f8bc72 100644
--- a/Runtime.msbuild
+++ b/Runtime.msbuild
@@ -8,7 +8,6 @@
Release
true
true
- true
true
false
false
@@ -19,16 +18,6 @@
.nuget\NuGet.exe
-
-
- $(BuildInParallel)
-
-
- $(BuildInParallel)
- true
-
-
-
@@ -49,9 +38,8 @@
@@ -66,10 +54,9 @@
- <_ToRestore Include="@(SolutionsToBuild)" />
+ <_ToRestore Include="Runtime.sln" />
<_ToRestore Include="test\Microsoft.TestCommon\Microsoft.TestCommon.csproj"
- AdditionalProperties="Testing_NetStandard1_3=true"
- Condition=" '$(BuildPortable)' == 'true' " />
+ AdditionalProperties="Testing_NetStandard1_3=true" />
@@ -107,9 +93,8 @@
- <_TestDLLsXunit Include="bin\$(Configuration)\test\*.Test.dll" />
- <_TestDLLsXunit Include="bin\$(Configuration)\test\*\net4*\*.Test.dll"
- Condition=" '$(BuildPortable)' == 'true' " />
+ <_TestDLLsXunit Include="bin\$(Configuration)\test\*.Test.dll;
+ bin\$(Configuration)\test\*\net4*\*.Test.dll" />
<_XunitProject Include="tools\WebStack.testing.targets">
TestAssembly=%(_TestDLLsXunit.FullPath);
XmlPath=$(TestResultsDirectory)%(_TestDLLsXunit.FileName)-XunitResults.xml
@@ -117,8 +102,8 @@
<_VSTestDLLs Include="bin\$(Configuration)\test\ns1_3\**\*.Test.dll;
bin\$(Configuration)\test\ns2_0\**\*.Test.dll"
- Exclude="bin\$(Configuration)\test\ns*\net4*\*.Test.dll" />
- <_XunitProject Include="tools\WebStack.testing.targets" Condition=" '$(BuildPortable)' == 'true' ">
+ Exclude="bin\$(Configuration)\test\*\net4*\*.Test.dll" />
+ <_XunitProject Include="tools\WebStack.testing.targets">
TestAssembly=%(_VSTestDLLs.FullPath);
XmlPath=$(TestResultsDirectory)%(_VSTestDLLs.FileName)-$([System.String]::Copy('%(_VSTestDLLs.RecursiveDir)').Trim('\\'))-XunitResults.xml;
UseVSTest=true
diff --git a/Runtime.sln b/Runtime.sln
index bd43f01fe..56de063a7 100644
--- a/Runtime.sln
+++ b/Runtime.sln
@@ -57,7 +57,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Web.Http.Test", "tes
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Net.Http.Formatting", "src\System.Net.Http.Formatting\System.Net.Http.Formatting.csproj", "{668E9021-CE84-49D9-98FB-DF125A9FCDB0}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.TestCommon", "test\Microsoft.TestCommon\Microsoft.TestCommon.csproj", "{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TestCommon", "test\Microsoft.TestCommon\Microsoft.TestCommon.csproj", "{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Net.Http.Formatting.Test", "test\System.Net.Http.Formatting.Test\System.Net.Http.Formatting.Test.csproj", "{7AF77741-9158-4D5F-8782-8F21FADF025F}"
EndProject
@@ -95,8 +95,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Web.Http.Owin", "src
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Web.Http.Owin.Test", "test\System.Web.Http.Owin.Test\System.Web.Http.Owin.Test.csproj", "{C19267DD-3984-430C-AE18-4034F85DE4E5}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{CB34D534-9A09-4EE4-B350-C1C23AFBF5EE}"
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution items", "{CB34D534-9A09-4EE4-B350-C1C23AFBF5EE}"
ProjectSection(SolutionItems) = preProject
+ global.json = global.json
NuGet.Config = NuGet.Config
.nuget\packages.config = .nuget\packages.config
EndProjectSection
@@ -113,6 +114,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNet.Facebook",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNet.Facebook.Test", "test\Microsoft.AspNet.Facebook.Test\Microsoft.AspNet.Facebook.Test.csproj", "{C3BEF382-C7C4-454D-B017-1EAC03E9A82C}"
EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns1_3", "src\System.Net.Http.Formatting.ns1_3\System.Net.Http.Formatting.ns1_3.csproj", "{5ABD9968-F3A3-4967-B768-A6142F69759E}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns2_0", "src\System.Net.Http.Formatting.ns2_0\System.Net.Http.Formatting.ns2_0.csproj", "{9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns1_3.Test", "test\System.Net.Http.Formatting.ns1_3.Test\System.Net.Http.Formatting.ns1_3.Test.csproj", "{A1A20049-04C2-4676-93CF-92449C4BBAA9}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns2_0.Test", "test\System.Net.Http.Formatting.ns2_0.Test\System.Net.Http.Formatting.ns2_0.Test.csproj", "{6C320AD9-F380-4F8B-85F9-0689F88766EC}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CodeAnalysis|Any CPU = CodeAnalysis|Any CPU
@@ -420,6 +429,30 @@ Global
{C3BEF382-C7C4-454D-B017-1EAC03E9A82C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C3BEF382-C7C4-454D-B017-1EAC03E9A82C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C3BEF382-C7C4-454D-B017-1EAC03E9A82C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5ABD9968-F3A3-4967-B768-A6142F69759E}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
+ {5ABD9968-F3A3-4967-B768-A6142F69759E}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
+ {5ABD9968-F3A3-4967-B768-A6142F69759E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5ABD9968-F3A3-4967-B768-A6142F69759E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5ABD9968-F3A3-4967-B768-A6142F69759E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5ABD9968-F3A3-4967-B768-A6142F69759E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -475,6 +508,10 @@ Global
{1E89A3E9-0A7F-418F-B4BE-6E38A6315373} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
{821A136C-7C6F-44C6-A9E6-C39B5BFB1483} = {A9836F9E-6DB3-4D9F-ADCA-CF42D8C8BA93}
{C3BEF382-C7C4-454D-B017-1EAC03E9A82C} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
+ {5ABD9968-F3A3-4967-B768-A6142F69759E} = {A9836F9E-6DB3-4D9F-ADCA-CF42D8C8BA93}
+ {9AAFB58C-B8C1-4D7F-80E6-7B95C94A829B} = {A9836F9E-6DB3-4D9F-ADCA-CF42D8C8BA93}
+ {A1A20049-04C2-4676-93CF-92449C4BBAA9} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
+ {6C320AD9-F380-4F8B-85F9-0689F88766EC} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A855CFDC-9BEE-43A9-A3EA-4C4624A747DB}
diff --git a/RuntimePortable.sln b/RuntimePortable.sln
deleted file mode 100644
index 42dffff64..000000000
--- a/RuntimePortable.sln
+++ /dev/null
@@ -1,76 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.27116.1
-MinimumVisualStudioVersion = 15.0
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A9836F9E-6DB3-4D9F-ADCA-CF42D8C8BA93}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{C40883CD-366D-4534-8B58-3EA0D13136DF}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.TestCommon", "test\Microsoft.TestCommon\Microsoft.TestCommon.csproj", "{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns1_3", "src\System.Net.Http.Formatting.ns1_3\System.Net.Http.Formatting.ns1_3.csproj", "{C7060639-719B-4BD2-8A37-2F146B5A0668}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns1_3.Test", "test\System.Net.Http.Formatting.ns1_3.Test\System.Net.Http.Formatting.ns1_3.Test.csproj", "{8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns2_0", "src\System.Net.Http.Formatting.ns2_0\System.Net.Http.Formatting.ns2_0.csproj", "{636CA76A-C85C-42E2-B4AA-88046279B3CA}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "System.Net.Http.Formatting.ns2_0.Test", "test\System.Net.Http.Formatting.ns2_0.Test\System.Net.Http.Formatting.ns2_0.Test.csproj", "{DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}"
-EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A72045D4-B048-4697-9535-C3A6EDCA85B9}"
- ProjectSection(SolutionItems) = preProject
- global.json = global.json
- EndProjectSection
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- CodeAnalysis|Any CPU = CodeAnalysis|Any CPU
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Release|Any CPU.Build.0 = Release|Any CPU
- {C7060639-719B-4BD2-8A37-2F146B5A0668}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
- {C7060639-719B-4BD2-8A37-2F146B5A0668}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
- {C7060639-719B-4BD2-8A37-2F146B5A0668}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C7060639-719B-4BD2-8A37-2F146B5A0668}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C7060639-719B-4BD2-8A37-2F146B5A0668}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C7060639-719B-4BD2-8A37-2F146B5A0668}.Release|Any CPU.Build.0 = Release|Any CPU
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08}.Release|Any CPU.Build.0 = Release|Any CPU
- {636CA76A-C85C-42E2-B4AA-88046279B3CA}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
- {636CA76A-C85C-42E2-B4AA-88046279B3CA}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
- {636CA76A-C85C-42E2-B4AA-88046279B3CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {636CA76A-C85C-42E2-B4AA-88046279B3CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {636CA76A-C85C-42E2-B4AA-88046279B3CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {636CA76A-C85C-42E2-B4AA-88046279B3CA}.Release|Any CPU.Build.0 = Release|Any CPU
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}.CodeAnalysis|Any CPU.ActiveCfg = CodeAnalysis|Any CPU
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}.CodeAnalysis|Any CPU.Build.0 = CodeAnalysis|Any CPU
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
- {C7060639-719B-4BD2-8A37-2F146B5A0668} = {A9836F9E-6DB3-4D9F-ADCA-CF42D8C8BA93}
- {8DA61DAC-FF7E-4CA1-93A0-6148DB66FD08} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
- {636CA76A-C85C-42E2-B4AA-88046279B3CA} = {A9836F9E-6DB3-4D9F-ADCA-CF42D8C8BA93}
- {DECB05DF-B33A-44A0-B5DE-B14A8CE0740F} = {C40883CD-366D-4534-8B58-3EA0D13136DF}
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {2A542E86-4A12-4997-B307-DEA9C7EE6539}
- EndGlobalSection
-EndGlobal
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index fbd694417..b4e242d3a 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -73,7 +73,7 @@ jobs:
- script: .\build.cmd EnableSkipStrongNames
displayName: Enable SkipStrongNames
- - script: .\build.cmd $(_BuildTarget) /p:BuildPortable=true ^
+ - script: .\build.cmd $(_BuildTarget) ^
/binaryLogger:artifacts/msbuild.binlog /p:Configuration=$(_Configuration) /p:StyleCopEnabled=$(_StyleCopEnabled) ^
/fileLoggerParameters:LogFile=artifacts/msbuild.log;Summary;Verbosity=minimal
displayName: Build