Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project must provide a value for configuration

Tags:

asp.net-core

Project must provide a value for configuration. Msbuild failed wih this error and its working fine if doing build via vs 2017. But breaking when using Msbuild cmdline

like image 826
Shubham Arya Avatar asked Mar 26 '19 11:03

Shubham Arya


1 Answers

Try deleting Microsoft.AspNetCore.Razor.Design in your .csproj file. That worked perfectly for me. I had the same issue, when I migrated my project from .NET Core 2.2 to .NET Core 3.0.

like image 130
rchrd Avatar answered Nov 03 '22 16:11

rchrd