Merge pull request #3631 from dotnet/pranavkm-patch-2
Add 3.1-Preview1 known issue
This commit is contained in:
commit
0739221035
|
@ -1,4 +1,4 @@
|
|||
# .NET Core 3.! Known Issues
|
||||
# .NET Core 3.1 Known Issues
|
||||
|
||||
This document lists known issues for **.NET Core 3.1 Preview 1 and beyond releases** which may be encountered during usage.
|
||||
|
||||
|
@ -6,4 +6,26 @@ This document lists known issues for **.NET Core 3.1 Preview 1 and beyond releas
|
|||
|
||||
## .NET Core 3.1 SDK, all releases
|
||||
|
||||
## ASP.NET Core
|
||||
## ASP.NET Core
|
||||
|
||||
### Preview1
|
||||
|
||||
* **Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation package is missing MSBuild targets to correctly enable runtime compilation**
|
||||
|
||||
Due to an package authoring error, the `Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation` is missing build targets that are required to for runtime compilation to work.
|
||||
Users of this package will see errors along the lines of `"System.InvalidOperationException: Cannot find reference assembly '...' file for package '...'*`
|
||||
|
||||
To resolve this issue, add the following contents to the your project file:
|
||||
|
||||
```xml
|
||||
<PropertyGroup>
|
||||
<PreserveCompilationContext>true</PreserveCompilationContext>
|
||||
<PreserveCompilationReferences>true</PreserveCompilationReferences>
|
||||
<GenerateRazorHostingAssemblyInfo>true</GenerateRazorHostingAssemblyInfo>
|
||||
<RazorUpToDateReloadFileTypes>$(RazorUpToDateReloadFileTypes.Replace('.cshtml', ''))</RazorUpToDateReloadFileTypes>
|
||||
<AddCshtmlFilesToDotNetWatchList>false</AddCshtmlFilesToDotNetWatchList>
|
||||
</PropertyGroup>
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue