deploy window application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I want o deploy window app to another PC, which does not .Net 2.0
component. The window app has some .Net 2.0 support, so how to deplot the app
to that PC?

Thanks
 
Let me first correct what you need (if I got it right)

You want to deploy Windows Application written for the .NET 2.0 framework

You need to have the .NET 2.0 installed on the destination computer

You may download it free from Microsoft and it easy to install

To verify whether it is already installed go to:Control Panel/Administrative
tool and if it is installed it will be listed there


HTH,
Samuel Shulman
 
Thank you. Samuel,

So if .Net 2.0 install on destination PC, just copy app's .exe file from dev
PC to destination PC, and then run the .exe file, is this correct?
 
Don't forget about all the .dll files that you may be using. In general all
you need to do is copy the Bin folder

And assuming you are not using .dll files that require registration

Cheers,
Samuel Shulman
 
no .dll file is used.

another question is the bin folder has 2 folders, one is debug, where is
..exe file,the another one is release and it is nothing there, so need copy
only debug folder? Thanks
 
First Debug and release are modes which you can choose how to compile the
program

Normally debug is used for testing and release is used for the normal use of
the program

So the answer to your question is first change the Mode to Release then
compile/build the program again and then you will find that this bin folder
will have the program (.exe) and possibly some dlls (if you find them there
you will need them)


HTH,
Samuel Shulman
 
Thank you, Samuel,

when I run Build and rebuild, the .exe file generates in the release folder.
Another question is how to change mode to release?
 
What VS version are you using

Is it .NET 2005


martin1 said:
Thank you, Samuel,

when I run Build and rebuild, the .exe file generates in the release
folder.
Another question is how to change mode to release?
 
I was surprised that I couldn't find where to change it. I will post a
question and I suggest you should follow it

Samuel
 
Based on the feeback that I got it is automatic so you don't need to chage
the mode

All you can do (and I am not sure that make any difference) is go to
Project/Properties/
Then select the Compile tab and change the 'Buils Output Path: '

Cheers,
Samuel Shulman
 
Back
Top