Sgen: Update GetTempAssemblyName according to #46499 (#57026)
authorTal Aloni <tal.aloni.il@gmail.com>
Tue, 17 Aug 2021 18:11:00 +0000 (21:11 +0300)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 18:11:00 +0000 (11:11 -0700)
commit4699992264a63642eb2f965b0b1de2353f26ad91
tree28e30e52ad14714d81fd1b82ec710de44cd25aef
parentf0ad279ea3323913256a2e38461e717d00f75d18
Sgen: Update GetTempAssemblyName according to #46499 (#57026)

* Update GetTempAssemblyName according to #46499

In #46499 we corrected Compilation.GetTempAssemblyName in order for it to be not deterministic under .NET Core.
In this PR we update the generated filename to match the new logic.

* Update Microsoft.XmlSerializer.Generator.csproj

* Update SGen.cs

Avoid using external dependency

* Update Microsoft.XmlSerializer.Generator.csproj

Avoid using external dependency

* Update Sgen.cs

Fixed compilation
src/libraries/Microsoft.XmlSerializer.Generator/src/Sgen.cs