问题描述
嗨
这个问题我只用C#
我编写了一个程序,运行几个月,然后停止运行输出错误,直到我用VS重新编译它代码的任何变化。
然后再运作几个月。
为什么?
有人有线索吗?
在C#上编写的可执行文件是否有效,直到某些东西开始不兼容并需要更改一些代码?
为什么我需要在相同的VS版本上重新编译相同的代码才能使程序再次运行?
谢谢
Eli
我的尝试:
我重新编译了不同的时间,但我没有任何调试,程序工作正常(如果重新编译)几个月
HiThis problem I have only with C#
I wrote a program, that works fine for a few months, then it stops running outputting errors, till I recompile it with VS without any change in code.
Then it works again for a few months.
Why?
Someone has a clue?
Aren't executables written on C# valid till something start to be incompatible and require some code change?
Why I need to recompile the same code on the same VS version for the program to work again?
Thanks
Eli
What I have tried:
I Recompiling various times, but I don't have anything to debug, the program works fine (if recompiled) for months
推荐答案
这篇关于程序停止运行直到我重新编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!