473,414 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 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 3775
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: M.sajjad | last post by:
Five Steps to Rapid Development with TierDeveloper 3.0 Unlock the power of rapid development when you use TierDeveloper from AlachiSoft in your N-Tier application development. Follow the steps...
1
by: Vaughn | last post by:
What steps would I need to take to build a complete application from scratch? I'll be working on a payroll/HR application but, instead of just starting to program like I normally would do, I would...
1
by: Dr.Jekyl | last post by:
Are there any issues that I need to be concerned with either in designing,developing or deploying a VB.Net win32 application on a Citrix server for concurrent usage by 100 users? The application...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
7
by: harry | last post by:
I've set my database connection as an Application.Setting using the designer. Since Application.Settings are read only, how do I change the connection properties when deploying to another...
0
by: sanjaypasumarty | last post by:
Hello, I am facing issues when i am deploying application on WebSphere Process server. The appplication is not deploying successfully and showing some DB2 errors in the logs. We are unable to find...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.