运行c#可执行文件.... [英] running c# executable....

查看:101
本文介绍了运行c#可执行文件....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同事c#程序员......


i需要一些帮助....

i创建了一个程序,一个模块是另一个更大的

程序...

当我调试它时,通过在IDE中按F5,它运行得很好我可以

几乎不等待显示它到我的项目负责人......

但是当我尝试运行IDE创建的可执行文件时,调试文件夹中的.exe文件

,它会捕获异常并停止程序......


困扰我的是:

1)当我调试它时运行得很好(在IDE中按F5) ,但

..exe文件没有...

2)我的截止日期已经在这里!!!!!!!


请告诉我该怎么做....

提前感谢...

解决方案

你需要提出具体问题以获得帮助,我想b $ b。我们需要看看你的代码。


tracernet_v2写道:

其他c#程序员...

我需要一些帮助....
我已经创建了一个程序,一个模块是另一个更大的程序的一部分...
当我调试它时,通过在IDE中按F5,它运行如此好吧,我可以等待向我的项目负责人展示它......
但是当我尝试运行IDE创建的可执行文件时,调试文件夹中的.exe文件
捕获异常并停止程序...

让我困扰的是:
1)当我调试它时(在IDE中按F5)它运行得很好,但< br。> .exe文件没有......
2)我的截止日期已经在这里!!!!!!!

请告诉我该如何处理这个......提前谢谢...



" jeremiah johnson"写道:

你需要提出具体问题以获得帮助,我想。我们需要看看你的代码。



ok然后......

i只是想问一些关于如何处理此事的提示。 ..

源代码,我觉得不行,项目有点

分类......


但是我想问一下你们是否遇到过这个...

当我尝试调试程序时,就是在IDE中按F5,

程序工作得很好并且运行时不会抛出任何异常...


因为我们知道IDE会在

Debug中创建等效的可执行文件正确工作文件夹的文件夹...?

当我尝试运行该可执行文件时,它运行顺畅但抛出一些已被过滤的例外情况... b $ b异常...

i可以看到可执行文件在它不应该出现时会遇到一些错误...


请帮助...给我一些关于如何处理这个问题的提示。 ..


acem-tracernet

softwar e devt staff


C#程序员


-

通过.NET新闻组发送
http://www.dotnetnewsgroups.com


< blockquote> tracernet_v2< hy ****** @ gmail.com>写道:

其他c#程序员...

我需要一些帮助....
我创建了一个程序,一个模块是另一个更大的一部分
程序...
当我调试它时,通过在IDE中按F5,它运行得很好我可以等待向我的项目负责人展示它......
但是当我尝试运行IDE创建的可执行文件,调试文件夹中的.exe文件时,它会捕获异常并停止程序..




和往常一样,如果你有例外你不明白,如果你能至少告诉我们这些例外是什么的话,它真的会有帮助。


-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet

如果回复该群组,请不要给我发邮件

fellow c# programmers...

i need some help....
i have created a program, a module that is part of another bigger
program...
when i debug it, by pressing F5 in the IDE, it runs so well i can
hardly wait to show it to my project leader...
but when i try to run the executable created by the IDE, the .exe file
in the Debug folder, it catches exceptions and stops the program...

what bothers me so much is that:
1) it runs so well when i debug it(pressing F5 in the IDE), but the
..exe file doesnt...
2) my deadline is already here!!!!!!!

please tell me what to do with this one....
thanks in advance...

解决方案

You''re going to need to ask specific questions in order to get help, I
think. We''ll need to see your code.

tracernet_v2 wrote:

fellow c# programmers...

i need some help....
i have created a program, a module that is part of another bigger
program...
when i debug it, by pressing F5 in the IDE, it runs so well i can
hardly wait to show it to my project leader...
but when i try to run the executable created by the IDE, the .exe file
in the Debug folder, it catches exceptions and stops the program...

what bothers me so much is that:
1) it runs so well when i debug it(pressing F5 in the IDE), but the
.exe file doesnt...
2) my deadline is already here!!!!!!!

please tell me what to do with this one....
thanks in advance...



"jeremiah johnson" wrote:

You''re going to need to ask specific questions in order to get help, I
think. We''ll need to see your code.


ok then...
i just want to ask for some tips on what to do regarding this matter...
as for the source code, i do not think i could, the project is a bit
classified...

but i just would like to ask if you guys had encountered this one...
when i try to debug the program, that is by pressing F5 in the IDE, the
program works very fine and runs without throwing any exception...

as we know the IDE would create the equivalent executable file in the
Debug folder of the working folder right...?
when i try to run that executable file, it runs smoothly but throws some
exceptions which had been filtered already...
i can see the executable catches some errors when it shouldnt have...

please help... give me some tips on what to do with this...

acem-tracernet
software devt staff

C# programmer

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com


tracernet_v2 <hy******@gmail.com> wrote:

fellow c# programmers...

i need some help....
i have created a program, a module that is part of another bigger
program...
when i debug it, by pressing F5 in the IDE, it runs so well i can
hardly wait to show it to my project leader...
but when i try to run the executable created by the IDE, the .exe file
in the Debug folder, it catches exceptions and stops the program..



As ever, if you''ve got exceptions you don''t understand, it would really
help if you could at least tell us what those exceptions are.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


这篇关于运行c#可执行文件....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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