Allow XmlSerializer.Generator to run on Core > 2.x (#39013)
authorViktor Hofer <viktor.hofer@microsoft.com>
Fri, 10 Jul 2020 07:12:26 +0000 (09:12 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2020 07:12:26 +0000 (09:12 +0200)
commit8790adefae322d2e6d680c8fb3470081bea0da0b
treea305c254822dc445a786be9f660e9318941bb126
parent2a4c626a0f5fb5d640b3e8ee7707e650ca570f7e
Allow XmlSerializer.Generator to run on Core > 2.x (#39013)

* Allow XmlSerializer.Generator to run on Core > 2.x

* Use repo local dotnet toolchain to build Generator

Use the repo local dotnet toolchain to generate the sgen output.
Adding a test to verify that the repo local and the live built outputs
are identical by size.
src/libraries/Microsoft.XmlSerializer.Generator/pkg/build/dotnet-Microsoft.XmlSerializer.Generator.runtimeconfig.json
src/libraries/Microsoft.XmlSerializer.Generator/tests/Microsoft.XmlSerializer.Generator.Tests.csproj
src/libraries/Microsoft.XmlSerializer.Generator/tests/SGenTests.cs