Skip to content

Microsoft.CodeAnalysis in 5.0.100 source-built Razor SDK is newer than Microsoft-built copy #1869

@dagood

Description

@dagood

Microsoft.CodeAnalysis is also shipped with the Microsoft-built SDK:

$ tar tf ~/downloads/dotnet-sdk-5.0.100-linux-x64.tar.gz | grep Microsoft.CodeAnalysis.dll
./sdk/5.0.100/Sdks/Microsoft.NET.Sdk.Razor/tools/Microsoft.CodeAnalysis.dll
./sdk/5.0.100/Roslyn/bincore/Microsoft.CodeAnalysis.dll

I can't see the version of the bincore dll, but the Razor/tools version seems to be 3.7.0 (instead of 3.8.0) 😞

$ exiftool ./sdk/5.0.100/Sdks/Microsoft.NET.Sdk.Razor/tools/Microsoft.CodeAnalysis.dll | grep -i version
ExifTool Version Number         : 12.00
Linker Version                  : 48.0
OS Version                      : 4.0
Image Version                   : 0.0
Subsystem Version               : 4.0
File Version Number             : 3.700.20.37502
Product Version Number          : 0.0.0.0
File Version                    : 3.700.20.37502
Product Version                 : 3.7.0-6.20375.2+34202cc2f3e869fd70a26d8237f4552cf9e192cf
Assembly Version                : 3.7.0.0

Originally posted by @omajid in #1849 (comment)

(In the source-built SDK, Roslyn is 3.8.0 including in Sdks/Microsoft.NET.Sdk.Razor/tools.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-upstream-fixNeeds a change in a contributing repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions