I am getting an error while using CI/CD to build dotnet mvc application.
C:\Program Files\dotnet\sdk\2.1.402\Roslyn\Microsoft.CSharp.Core.targets(52,5): warning MSB3052: The parameter to the compiler is invalid, '/define:$(BUILDCONFIGURATION)' will be ignored. [D:\a\1\s\x.csproj]
C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.design\2.1.1\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets(121,5): error : rzc generate exited with code 1. [D:\a\1\s\x.csproj] error : rzc generate exited with code 1.
While it working in my local machine.