473,586 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3779
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.co m

"Mark Ingram" <no****@nowhere .com> wrote in message
news:ec******** ******@TK2MSFTN GP09.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
2028
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 below to quickly design, generate, and deploy a great portion of your real-life N- Tier application. For free evaluation download please visit...
1
1641
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 like to be to do it correctly. What steps (in terms of designing, drawing, flowcharts, etc...) would I need to take in order to make it as...
1
1375
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 uses a SQL server backend. I have experience developing thin client apps using ASP.net and thin client apps using VB with COM+ but I do not have...
0
1403
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. Initially, the machine environment variables were set to enable code development; however, I am facing problem deploying the application. To work with these...
6
5519
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. Thanks, Ryan
7
2507
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 machine ? Thanks Harry
0
2331
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 out the solution with the SDLCODE and SQLSTATE. Please help me to resole this issue. Please check the below snipet. 0000013c BpelEngine E ...
0
8200
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6610
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.