My C# 2010 Application runs, and works with KFlop, but not independent of dev. prog?
My new CNC C# program, works as it should, as long as I am running from C# 2010 program, even without debug.
Then I publish it... and I get the error below. During and after trying to install the program. Even on the same computer, and on my laptop?
__________________________________________________ _____________________________________________
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: truemachinecnc4.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 53bbf267
Problem Signature 04: KMotion_dotNet
Problem Signature 05: 1.0.1.0
Problem Signature 06: 5133ac38
Problem Signature 07: 3a
Problem Signature 08: e1
Problem Signature 09: KMotion_dotNet.DMException
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
__________________________________________________ ________________________
I am not sure why the program works so well in the development enviroment... and then not from the Release folder... or after install?
Any help would be much appreciated.
__________________________________________________ ________________________
I have tried to move all the .dll's over from Kmotion release to my release folder, and the two manifest files... but still the error.
Tried to run as admin.
Thanks in advance...
,
Re: My C# 2010 Application runs, and works with KFlop, but not independent of dev. pr
Hi jeffserv,
I'm not sure either. But since you are using VS2010 instead of VS2008 you may need to include the VS2010 run time distributables and possibly a manifest. The ones we include in the KMotion/Release directory are for VS2008. Running from within VS2010 may somehow find the necessary installed VS2010 DLLs. You might even need both unless you re-compile our KMotion Libraries using VS2010. I'm also not familiar with what you mean by "publish".
HTH
Regards
Re: My C# 2010 Application runs, and works with KFlop, but not independent of dev. pr
In VS 2010 publish, is the method for deploying your application...
I am researching the dependencies, of my exe... and seeing if I find anything related. As well the idea of distributables....
Have not succeeded yet. Works perfect if ran from VS2010... just not outside the program...
Re: My C# 2010 Application runs, and works with KFlop, but not independent of dev. pr
Hi jeffserv,
I can't see a problem. Here is what I did:
#1 Fresh Install Version 4.33cc
#2 open C:\KMotion433cc\PC VC Examples\BuildExamples\BuildExamples.sln with VS2010
#3 allow the projects to be converted
#4 change to Release Config
#5 set SimpleFormsCS as startup project
#6 verify SimpleFormsCS Project Properties | Build | Output Path = C:\Kmotion433cc\KMotion\Release
#7 Rebuild SimpleFormsCS
#8 Verify C:\KMotion433cc\KMotion\Release\SimpleFormsCS.exe has new time stamp
#9 exit VS2010
#10 double click C:\KMotion433cc\KMotion\Release\SimpleFormsCS.exe
#11 runs ok!
Regards
Re: My C# 2010 Application runs, and works with KFlop, but not independent of dev. pr
Ok,
Where is the download page for 4.33cc
I only see 4.32 on your web site??
Re: My C# 2010 Application runs, and works with KFlop, but not independent of dev. pr
Hi jeffserv,
I'm a bit confused by your reply. I thought you did not want to target your program to the KMotion\Release folder. But I never argue with success :)
Here is a link to our latetst Test Version 4.33cc.
http:\\dynomotion\Software\KMotion433cc.exe
Regards