Getting app to work right on non-development PC
Ok so I'm a noob at C# (but much experienced at MFC). Created a small app that runs fine on the development machine (VS2008).
To test it on another machine, I copied the .exe and all the .dlls to a folder.
When I run the app, it launches just fine.. but won't DO anything. Specifically, when I click the buttons the events don't seem to fire, but I don't get any error messages either. It just acts as though there is no code for events.
I'm developing in debug mode on the development machine, and have tried this using both the debug and release .exe & .dll's on the other machine - no luck.
Now, the dev. machine is using .NET 3.5, the other machine is at 2.0... but if the app requires a newer version of .NET shouldn't it pop up a warning or something?
Let me know what I'm missing! Thanks.
# 1 Re: Getting app to work right on non-development PC
2008 beta you can choose which .net version you are compiling for
and if you make an install project which you can in visual studio it automaticly add all dll's needed to the install
# 2 Re: Getting app to work right on non-development PC
Ok... not at the point where I"m ready to make an official "install" was just trying to test on another machine.
So... if I am developing for .NET 3.0 and the target machine only has 1.5 or 2.0, will it give me an error message?
# 3 Re: Getting app to work right on non-development PC
3 is really just a few extre dll's not a whole new platform
but if the app use them the install project will add them
it's really pretty simple you just add an install project to the solution
and let it take the primary output from the normal solution
and it auto add all dll's and stuf needed only take min to compile
# 4 Re: Getting app to work right on non-development PC
Ok I made an install... will try it tomorrow.
Does it make sense that the app "plays dead" if the version I developed in isn't on the test machine? I just thought I"d get an error or something.