持久性'RunCommand未定义'错误 [英] Persistent 'RunCommand is not defined' error

查看:552
本文介绍了持久性'RunCommand未定义'错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio Community 2017并安装了最新版本(2.0)的.NET Framework和Runtime。

I am using Visual Studio Community 2017 and have the latest version (2.0) .NET Framework and Runtime installed.

我有一个应该采用多个类的项目应该能够一起编译的文件。

I have a project that is supposed to take multiple class files that should be able to compile all together.

我的一个类文件是存储main的地方,我试图将该文件设置为可执行控制台应用程序文件

One of my class files is where main is stored, I have tried to set that file as the executable console application file

我也在文件中也有这个并且它正确放置但仍然存在'RunCommand'错误。

I also have this within the file as well and it is place properly but still the 'RunCommand' Error persists.

public static void Main(string[] args)

我看过Stack Overflow和MSDN社区论坛,只看到一个与我有同样问题,但无法访问该页面,因为它给了我404错误页面不存在。

I have looked at Stack Overflow and MSDN community forum and only seen one with the same problem as mine but was unable to access the page because it gave me a 404 error page did not exist.

我非常需要帮助,我正在尝试编写一个需要多个课程的游戏,但我无法让它工作。

I seriously need help, I am trying to compile a game that takes multiple classes but I cannot get it to work.

推荐答案

嗨科尔,

感谢您的提问。

>>我的一个类文件是存储main的地方,我试图将该文件设置为可执行控制台应用程序文件

但你创建了什么样的项目(模板)?

But what kind of project(template) you've created?

确保你已经创建了控制台

 

祝你好运,

Fletcher


这篇关于持久性'RunCommand未定义'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆