title: Getting Error During dotnet build in VSTS CI/CD error : rzc generate exited with code 1
body: <p>I am getting an error while using CI/CD to build dotnet mvc application.</p>
  
  <blockquote>
    <p>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]</p>
    
    <p>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.</p>
  </blockquote>
  
  <p>While it working in my local machine.</p>