First deployment of .net winforms help needed

M

mickieparis

Hello, I've never had to deploy a .net solution (winforms) before. In
the past (with COM) I'd have to register any dlls with regsvr32. Now
with .net we don't have to do that but I'm not sure exactly how to
deploy a .net solution.

If I compiled a visual studio project in .net 3.5 I need to make sure
the destination server is running .net 3.5. Then I just use xcopy to
copy the exe and dlls into any directory and that's it? What if I
wish to put the dlls in a separate directory? how will the exe find
it? I'd really appreciate any help or links on how to deploy a .net
solution which includes exe and dll files.

Thanks a bunch.

Michelle
 
A

Arne Vajhøj

Hello, I've never had to deploy a .net solution (winforms) before. In
the past (with COM) I'd have to register any dlls with regsvr32. Now
with .net we don't have to do that but I'm not sure exactly how to
deploy a .net solution.

If I compiled a visual studio project in .net 3.5 I need to make sure
the destination server is running .net 3.5. Then I just use xcopy to
copy the exe and dlls into any directory and that's it? What if I
wish to put the dlls in a separate directory? how will the exe find
it? I'd really appreciate any help or links on how to deploy a .net
solution which includes exe and dll files.

..NET is XCOPY deployment.

If you need more sophisticated installation, then use an
install generator.

By far the easiest is to have the DLL's in the same dir
as the EXE.

You can specify them to be in sub dir though.

See:
http://msdn.microsoft.com/en-us/library/15hyw9x3.aspx
for details.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top