无法运行程序,因为它要求我附加进程 [英] Can't run program because it asks me to attach on process

查看:21
本文介绍了无法运行程序,因为它要求我附加进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 C# 编程的新手,不是让我按 F5 来运行代码,而是附加..."出现在运行按钮的位置,但它不会让我运行代码.这已经发生了两次,我不知道如何让运行"按钮再次出现,因为我无法测试我编写的任何程序.

I'm new to C# Programming, and instead of just letting me run the code by pressing F5, "Attach..." appears where the Run button should be and it won't let me run the code. This has happened me twice by now and I don't know how to make the "Run" button appear again, because I can't test any program I write.

推荐答案

确保您的解决方案已打开,然后右键单击您的项目 > 设置为启动项目

Make sure you have your solution opened, then right click on your project > Set as Start Up Project

这篇关于无法运行程序,因为它要求我附加进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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