在 VS Code 中调试失败:无法加载项目文件 (MSB4025)
Debugging in VS Code fails: The project file could not be loaded (MSB4025)
我正在尝试在 VS Code 中调试 NETCore 项目,但启动调试器时出现以下错误:
MSBUILD : error MSB4025: The project file could not be loaded.
Data at the root level is invalid. Line 1, position 1.
c:\path\to\my\project.json
project.json内容:
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": "dnxcore50"
}
}
}
有什么想法吗?
原来 project.json 格式不再受支持。有关 GitHub.
的更多信息
我正在尝试在 VS Code 中调试 NETCore 项目,但启动调试器时出现以下错误:
MSBUILD : error MSB4025: The project file could not be loaded.
Data at the root level is invalid. Line 1, position 1.
c:\path\to\my\project.json
project.json内容:
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": "dnxcore50"
}
}
}
有什么想法吗?
原来 project.json 格式不再受支持。有关 GitHub.
的更多信息