Closed Liero closed 6 years ago
@rynowak, @NTaylorMullen, related to class library support for Razor? Adding @vijayrkn as well since this impacts publishing.
/cc @pranavkm
Fixed by upgrading to .NET Core SDK 2.1.301. v2.1.300 had some buggy targets
Likely a dup of this - https://github.com/aspnet/Razor/issues/2363.
After I upgraded my solution from asp.net core 2.0 to 2.1, I'm not able to publish my web app from Visual Studio, although it can build.
During the upgrade I've changed SDK in one of my class libraries to Microsoft.NET.Sdk.Razor, but now I'm getting a lot of errors and if project references were not recognized in this library when publishing.
Also, see https://stackoverflow.com/questions/50926116/publish-failed-when-using-microsoft-net-sdk-razor-if-reference-was-not-recognize for more details