From: mickieparis on
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
From: Arne Vajhøj on
On 10-05-2010 15:30, mickieparis wrote:
> 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