Answer the question
In order to leave comments, you need to log in
Why does the assembled project crash on other computers?
When I compile a project in my studio and just compile it from a folder, everything is OK, but on other computers, when I open the compiled executable, it crashes and writes "The program has stopped working" .NET Framework is installed on another computer.
Answer the question
In order to leave comments, you need to log in
Tips from C# gurus:
- When compiling an application, you need to move your pelvis as if you are already using it.
- Make movements with your hands and eyes as if there are no bugs in it.
- Move your fingers as if you are ALREADY in her IL code.
- Growl, growl, growl: show that you are a PROGRAMMER!
But seriously - compile the application in the "Release" mode, copy the necessary .dlls to the .exe folder.
For the future - start a virtual machine and test your programs on it.
Go to My Colbuster -> RMB -> Management -> Utilities -> Event Viewer -> Windows Logs -> Application. And look for all the errors that originate from the .NET Runtime and double click on them, it should come out like this:
Get a reasonably informative error message -> fix it -> ... -> PROFIT!!!
Maybe not the right version, maybe something else is missing. Divination by coffee grounds, in general.
Release, Debug, doesn't matter in this case. ALL CPU select.
If there are no dependencies, then the CLR version is not the same, or there is not enough space on the HDD.
Describe what the program is, what it does, where it tries to go, the version in the .Net build, which Framework is installed on the second PC. Attach a screenshot with an error, and they will help much faster.
Play around with the settings.
I didn’t immediately see your comment about the studio version - in the 15th studio there will be 4.6, and at the moment the RC version, you’d better switch to 4.5.2, but in any case, both of them are not installed on 7-ke default, there is only 3.5. So if you didn't put it, you have to put it. Either YOU switch your project to 3.5, if you do not need features from 4.0, then you should go to the seven without additional. body movements.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question