Last post Dec 06, 2018 03:30 AM by Nan Yu
Dec 05, 2018 05:11 PM|pBeltrami|LINK
I've updated the my ASP.NET 472 to ASP.CORE 2.2.0; after this when I rebuild the project had this error:
.nuget\packages\microsoft.aspnetcore.razor.design\2.2.0\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets(161,5): error : Assembly location for Razor SDK Tasks was not specified. The most likely cause
is an older incompatible version of Microsoft.NET.Sdk.Razor, or Microsoft.NET.Sdk.Web used by this project. Please target a newer version of the .NET Core SDK.
If I install the previous versione (2.1..6) the project has rebuild correctly.
Someone can help me?
Dec 06, 2018 03:30 AM|Nan Yu|LINK
I would suggest you create a new .NET Core 2.2 template project , and compare the new one's csproj file and the old one's . Pay attention to `TargetFramework` and related `PackageReference` , check the `Version` variable .