无法编译C#HelloWorld程序 [英] Unable able to compile C# HelloWorld Program
问题描述
我正在使用VS2015并尝试运行一个简单的HelloWorld程序并继续收到以下错误消息...
I am using VS2015 and trying to run a simple HelloWorld program and continue to get the following error message...
我试图在此处包含图像但被阻止...来自编译器的错误消息以<
I tried to include image here but was blocked... The error message from the compiler starts as "
Visual Studio cannot start debbuging because the debug target...
我在这里查看了网站,发现了一些评论,但似乎无法找到解决方案。当我按照我在网站上找到的信息时,它似乎没有解决问题。
我确信我错过了一些东西,但我想我会问专业人士,而不是继续挫败我自己。
I am certain that I am missing something but thought I would ask the pro's rather than continue to frustrate myself.
推荐答案
您好,
您是否尝试过以下帖子中的建议,仔细阅读每篇建议并查看是否有任何帮助。
Have you tried the suggestions in the following post, read through each one and see if any help.
这也发生了使用当前项目以外的新项目?您是否尝试过不同的项目类型,例如,如果这是一个控制台a针对.NET Core的目标使用.NET标准框架尝试另一个项目,甚至尝试使用WinForms项目。
Also does this happen with a new project other than the current project? Have you tried different project types e.g. if this is a console app targeting .NET Core try another project using .NET standard Framework, even try this with a WinForms project.
这篇关于无法编译C#HelloWorld程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!