简体   繁体   English

为解决方案中的多个 Visual Studio 2012 C# 项目启动调试器时出现 Visual Studio 2017 警告错误

[英]Visual Studio 2017 warning errors when starting a debugger for multiple Visual Studio 2012 C# projects in a solution

I am using Visual Studio 2017 Professional 15.5.5 for building and debugging a project of Visual Studio 2012. When I start a debugger for an executable file, I see following warning messages on multiple projects of C# in the solution:我正在使用 Visual Studio 2017 Professional 15.5.5 来构建和调试 Visual Studio 2012 项目。当我为可执行文件启动调试器时,我在解决方案中的多个 C# 项目中看到以下警告消息:

A problem occurred while trying to set the "References" parameter for the IDE's in-process compiler.尝试为 IDE 的进程内编译器设置“引用”参数时出现问题。 Sequence contains more than one matching element序列包含多个匹配元素

Is there any way to fix this issue?有没有办法解决这个问题?

Update: cleaning up the source tree fixed this issue, but the root cause was not found.更新:清理源树修复了这个问题,但没有找到根本原因。

Try checking to see if there is a app.config file in the .csproj file section.尝试检查 .csproj 文件部分中是否有 app.config 文件。 Removing it from the solution explorer could fix the problem从解决方案资源管理器中删除它可以解决问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C#Visual Studio启动调试器时挂了很长时间 - C# Visual Studio Hanging for a Long Time When Starting Debugger 在Visual Studio社区2017中启动C#控制台应用程序时未安装调试器 - Debugger Not Installed While Starting C# Console App in Visual Studio Community 2017 旧的C#项目不在Microsoft Visual Studio 2017中运行 - Old C# projects not running in Microsoft visual studio 2017 使用Visual Studio 2017的C#(xamarin.forms)警告 - Warning in C# (xamarin.forms) using visual studio 2017 Visual Studio 2012 C#解决方案,并行构建竞争条件 - Visual Studio 2012 C# solution, parallel build race condition 具有许多项目的Visual Studio C#解决方案(依赖项) - Visual Studio C# Solution with many Projects (Dependencies) 使用C#和Powershell项目构建Visual Studio解决方案 - Build a Visual Studio Solution with C# AND Powershell projects 在C#解决方案中时,Visual Studio 2008调试器错误地将C ++显示为语言 - Visual Studio 2008 Debugger incorrectly shows C++ as the language when in C# solution Visual Studio 2012调试多个项目 - Visual Studio 2012 Debugging multiple Projects 在Visual Studio 2017中禁用C#的“显示实时语义错误” - Disable 'Show live semantic errors' for C# in Visual Studio 2017
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM