aspnet / Razor

[Archived] Parser and code generator for CSHTML files used in view pages for MVC web apps. Project moved to https://github.com/aspnet/AspNetCore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

msbuild error: Microsoft.AspNetCore.Razor.Design.CodeGeneratio n.targets(69,5):

bkskomal opened this issue · comments

commented

Getting below given error when building using msbuild command line:

ResolveTagHelperRazorGenerateInputs target) ->
C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.de
sign\2.1.1\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneratio
n.targets(69,5): error : The project xyz must provide a value for Configuration. [xyzcs.proj]

Project is building successfully when building from visual studio 2017.

commented

Thanks for contacting us, @bkskomal.
What is the command you run to build?
@ajaybhargavb, can you please look into this? Thanks!

Could you share the project file too?

commented

I am using below given command to build project
MSBuild project.sln /t:rebuild /p:Configuration=Release

I am trying to build the solution file and this solution file contains many projects.

@bkskomal could you share the build logs from doing the build? Run MSBuild project.sln /t:rebuild /p:Configuration=Release /bl and share the generated msbuild.binlog file

@bkskomal please reopen the issue once you've had the chance to include the build log.