项目必须提供配置值 [英] Project must provide a value for configuration
本文介绍了项目必须提供配置值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
项目必须提供配置值.如果通过vs 2017进行构建,则Msbuild会出现此错误,并且可以正常工作.但是使用Msbuild cmdline时会中断
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
推荐答案
尝试删除 .csproj
文件中的 Microsoft.AspNetCore.Razor.Design
.那对我来说很完美.当我将项目从 .NET Core 2.2
迁移到 .NET Core 3.0
时,我遇到了同样的问题.
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
.
这篇关于项目必须提供配置值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文