Answers for "##[error]dotnet command failed with non-zero exit code on the following projects"

C#
0

##[error]dotnet command failed with non-zero exit code on the following projects

edit your.csproj and add MvcRazorCompileOnPublish as false

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PreserveCompilationContext>true</PreserveCompilationContext>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>
Posted by: Guest on March-17-2022

Code answers related to "##[error]dotnet command failed with non-zero exit code on the following projects"

C# Answers by Framework

Browse Popular Code Answers by Language