我在哪里以及如何将Outputpath和AssemblyName设置为目标程序集?

编程入门 行业动态 更新时间:2024-10-08 20:34:31
本文介绍了我在哪里以及如何将Outputpath和AssemblyName设置为目标程序集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在Windows 8上和我使用Visual Studio Flask运行我下载的github网站另一个人所做的事情,我确实将项目提取到c:驱动器中的特定位置.然后我在Visual Studio中打开了那个项目,所以 我试图运行该网站,但收到一条错误消息,内容为:

Im on Windows 8 and im using Visual Studio Flask to run a website thatI downloaded of github that another person made, and i did extract the project to a specfic location in the c: drive. And i opended up that project in visual studio and so i attempted to run the website and i got an error message saying this:

Visual Studio cannot start debbuging because the debug target 'C:/raffle web/Flask-master/bin/Debug/ConsoleApplication.exe' is missing.Please build the project and retry, or set the outputpath and AssemblyName properties appropriatetly to point at the location for the target assembly.

我遇到另一个错误,不确定这是否与先前解释的相同错误有关,而在这里.

i got another error not sure if this is related to same error prevsiouly explianed but here it is.

severity Code Description Project File Line Suppression State Error no input sources specified raffle C:\raffle web\Flask-master\vbc

我不知道Visual Studio flask空白项目中OutputPath和AssemblyName属性的位置,因此我无法设置目标程序集的位置,并且不确定我是否具有调试目标目标程序集,请在哪里提供帮助输出路径 以及Visual Studio中的assemeblyname以及如何找到目标程序集,如果我没有目标程序集,我该从哪里获得感谢.

I dont know where the OutputPath and AssemblyName properties are located in visual studio flask blank project, so i cant set the the location of the target assembly,and im not sure if i have the debug target target assembly please help where is the outputpath and assemeblyname in visual studio and how can i locate the target assembly and if i dont have the target assembly where can i get from thanks.

推荐答案

kimfake,

Hi kimfake,

您能在解决方案资源管理器窗口中与我分享有关此项目类型的屏幕截图吗?

Could you share me a screen shot about this project type in your solution explorer window?

>> Visual Studio cannot start debbuging because the debug target 'C:/raffle web/Flask-master/bin/Debug/ConsoleApplication.exe' is missing.Please build the project and retry, or set the outputpath and AssemblyName properties appropriatetly to point at the location for the target assembly.

>>Visual Studio cannot start debbuging because the debug target 'C:/raffle web/Flask-master/bin/Debug/ConsoleApplication.exe' is missing.Please build the project and retry, or set the outputpath and AssemblyName properties appropriatetly to point at the location for the target assembly.

正如您所说的,这是网站项目,为什么它具有Console .exe文件?您是否将正确的项目设置为启动项目?我的意思是,在同一个解决方案中是否有多个项目,您是否有一个名为ConsoleApplication的控制台应用程序.

As you said that it is the web site project, why it has the Console .exe file? Whether you set the correct project as the start up project? I mean that whether there are several projects in the same solution, do you have a console app which was called ConsoleApplication.

此外,如果它是网站项目,则实际上没有输出和程序集名称项目属性设置,但是对于常规控制台应用程序,它具有这些选项.例如,如果我创建一个简单的控制台应用程序,则可以在以下位置获取程序集名称 应用"选项,则在"Build"下选择输出路径设置选项.

In addition, if it is the web site project, it really has no the output and assembly name project property settings, but for the general console app, it has those options. For example, if I create a simple console app, we could get the Assembly name under "Application" option, the output path settings under "Build" option.

也许您可以创建一个空白解决方案,添加一个新的空白网站,然后将所有网站文件添加到新的空白解决方案中,清理并重建它,然后再次运行/调试.

Maybe you could create a blank solution, add a new blank web site, and then add all web site files to the new blank solution, clean and rebuild it, run/debug it again.

请先备份,然后再移动所有项目的文件.

Please take a backup before you move all project's files.

最好的问候,

Jack

Jack

更多推荐

我在哪里以及如何将Outputpath和AssemblyName设置为目标程序集?

本文发布于:2023-11-25 21:40:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1631449.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我在   设置为   如何将   目标   程序

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!