使用C#的Visual Studio 2005项目没有编译 [英] Project Visual Studio 2005 with C# is not compiling

查看:81
本文介绍了使用C#的Visual Studio 2005项目没有编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

单击开始调试(F5)时,不使用C#编译Visual Studio 2005,只在导航器中运行项目但不编译而不生成项目的dll。 

Project Visual Studio 2005 with C# is not compiling when click in Start Debugging(F5), only run project in the navigator but not compile and not generate the dll of the project. 

推荐答案

你好Jupemen,

Hi Jupemen,

你创建了哪种类型的项目,以及在项目中运行项目的意思单击 启动调试(F5)时,导航器

Which type of project do you create and what's mean of run project in the navigator?

>> 未编译/ em>

>> is not compiling when click in Start Debugging(F5)

如果没有编译,你会收到任何错误信息吗?请尝试直接用F6编译它以检查它是否会编译。

If it is not compiling, do you get any error message? Please try compile it directly with F6 to check whether it will compile or not.

>> 不生成项目的dll

它基于项目类型。如果您的项目是类库,它将生成DLL。但如果它是一个可执行项目,如WinForm,Console应用程序,它将生成.exe文件,而不是dll。

It is based on the project type. If your project is a class library, it will generate dll. But if it is a executable project, such as WinForm, Console application, it will generate .exe file, not dll.

如果在一个解决方案中有多个项目,请确保你有将可执行项目设置为启动项目。

If there has several projects in one solution, please make sure you have set the executable project as start up project.

此外,请创建一个新项目以检查新项目是否也存在此问题。如果新项目也存在此问题,我担心Visual Studio 2005中存在任何问题。请尝试修复Visual Studio 2005。

In addition, please create a new project to check whether the new project also has this issue. If the new project also has this issue, I'm afraid that there has any problem in your Visual Studio 2005. Please try repair your Visual Studio 2005.

如果只有这个特定项目有这个问题,请创建一个新项目,然后将原始项目文件逐个复制到新项目。它可以帮助我们确认哪个文件导致了这个问题。

If only this specific project has this issue, please create a new project and then copy the original project files to the new project one by one. It could help us confirm which file causes this issue.

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于使用C#的Visual Studio 2005项目没有编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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