471,319 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Steps needed when deploying C# application?

Hi, what steps do i need to undertake before / when i deploy a c#
application?

Generate strong name key?
Add the file to the GAC?

What else?
Feb 9 '06 #1
3 3716
Mark,

You don't necessarily ^have^ to generate a strong name key, nor do you
have to add your assemblies to the GAC.

The #1 prerequisite is of course to have the .NET framework installed.
Beyond that, what you need to do is dependent on the structure of your
program.

If you want to add assemblies to the GAC, then yes, you will have to
generate a strong name key. If you have COM interop assemblies, then you
might want to make sure that your COM components are installed as well on
the target machine. Serviced components also have to be strong named.

Is there anything in your program that is not purely .NET? That should
tell you the things you have to be aware of.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mark Ingram" <no****@nowhere.com> wrote in message
news:ec**************@TK2MSFTNGP09.phx.gbl...
Hi, what steps do i need to undertake before / when i deploy a c#
application?

Generate strong name key?
Add the file to the GAC?

What else?

Feb 9 '06 #2
Is there a link where we can download the framework from for free?
Feb 9 '06 #3
Nicholas Paldino [.NET/C# MVP] wrote:
Mark,

You don't necessarily ^have^ to generate a strong name key, nor do you
have to add your assemblies to the GAC.

The #1 prerequisite is of course to have the .NET framework installed.
Beyond that, what you need to do is dependent on the structure of your
program.

If you want to add assemblies to the GAC, then yes, you will have to
generate a strong name key. If you have COM interop assemblies, then you
might want to make sure that your COM components are installed as well on
the target machine. Serviced components also have to be strong named.

Is there anything in your program that is not purely .NET? That should
tell you the things you have to be aware of.

Hope this helps.


We've got 2 C# apps and 1 native C/C++ app. The C# apps share common
custom controls we've developed. I thought it was important to add your
files to the GAC to stop version conflicts (as it always stores each
version of a file you register)?
I thought if we set the option when building to only build with a
specific version, that would help with version control too?
Feb 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by M.sajjad | last post: by
1 post views Thread by Dr.Jekyl | last post: by
reply views Thread by Dave | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.