Go to file
Pranav K 5c1f6ffc8c
Update compiler version to 3.8.0 (#28125)
Razor requires referencing two different versions of Roslyn

Razor compiler (rzc) that ships as part of the SDK. rzc ships copies of compiler binaries (Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.Common).
Razor runtime compilation is shipped as a NuGet package and needs to reference a version of Roslyn that ships as a NuGet package.
Roslyn doesn't follow the runtime ship schedule so to reliably the 2nd item, ASP.NET Core manually updates this package version. As part of 5.0.1, it was discovered that there's two different versions of these binaries in the SDK (a 3.8.0 version carried by the compiler and a 3.7.0 version carried by Razor). This is a bit vexxing, more so in source build which only builds the newer version.

Fixes #28096

Description
Update the Roslyn version referenced by Razor to 3.8.0

Customer impact
Razor compilation uses a newer version of the compiler consistent with the rest of the SDK.
Users updating to the 5.0.1 version of runtime compilation package will now use a newer version of the compiler. While it's slightly unusual to update a reference by a minor version as part of a patch release, we do not see users taking a hard dependency on the compiler version to be affected by this.
Regression
No

Risk
Low.
2020-11-24 19:38:35 -08:00
.azure/pipelines [release/5.0] Enable MUSL ARM support (#27942) 2020-11-23 11:49:10 -08:00
.config Update dependencies from https://github.com/dotnet/efcore build 20201110.8 (#27708) 2020-11-11 06:20:15 +00:00
.github
.vscode
docs
eng Update compiler version to 3.8.0 (#28125) 2020-11-24 19:38:35 -08:00
src [release/5.0] Enable MUSL ARM support (#27942) 2020-11-23 11:49:10 -08:00
.editorconfig
.gitattributes
.gitignore
.gitmodules
.vsconfig
AspNetCore.sln
CODE-OF-CONDUCT.md
CONTRIBUTING.md
Directory.Build.props [release/5.0] Enable MUSL ARM support (#27942) 2020-11-23 11:49:10 -08:00
Directory.Build.targets [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
LICENSE.txt
NuGet.config Update dependencies from https://github.com/dotnet/efcore build 20201121.1 (#28046) 2020-11-21 10:50:52 +00:00
README.md
SECURITY.md
THIRD-PARTY-NOTICES.txt
activate.ps1
activate.sh
build.cmd
build.ps1
build.sh
clean.cmd
clean.ps1
clean.sh
dockerbuild.sh
global.json [release/5.0] Update dependencies from dotnet/arcade (#27683) 2020-11-12 19:46:20 +00:00
restore.cmd
restore.sh Fix repo root in restore.sh (#7521) 2019-02-13 15:01:30 -08:00
startvs.cmd

README.md

ASP.NET Core

ASP.NET Core is an open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends. ASP.NET Core apps run on .NET Core, a free, cross-platform and open-source application runtime. It was architected to provide an optimized development framework for apps that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET Core apps cross-platform on Windows, Mac and Linux. Learn more about ASP.NET Core.

Get Started

Follow the Getting Started instructions in the ASP.NET Core docs.

Also check out the .NET Homepage for released versions of .NET, getting started guides, and learning resources.

See the Triage Process document for more information on how we handle incoming issues.

How to Engage, Contribute, and Give Feedback

Some of the best ways to contribute are to try things out, file issues, join in design conversations, and make pull-requests.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

These are some other repos for related projects:

Code of conduct

See CODE-OF-CONDUCT