473,732 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about deployment with strong name

Ray
Dear all,
Now, I have 3 projects of class library and 1 project of window
application. The window application will call the 3 class librarys. So
should I make 4 .snk files for each project? Or one .snk file linked by
Assemblyinfo.vb of each class library?
The main target of me is that I can install the window application once
in the client PC, then the client PC can update its version after I compile
in the program in the server. Please advice me some comments or provides
some references for that.
Thanks a lot,
Ray
Nov 21 '05 #1
3 1288
Hi,

maybe you can do it like this, add a reference in your windows application
to all your class library projects, then after you've changed something to
the windows application or one of your class library projects also build the
windows application and increase the version number in your config file (
You always have to build your windows application so that the new dll's of
your class library projects get copied). Place the bin of your windows
application on a server share. Than when your client starts his application
you can check to see if his version number (version number in his local
config file) is lower than the one on the server, if his version number is
lower start a small app to copy the new files and which closes the current
running app otherwise you can't copy the new files and after the copy is
done, let copy app restart your windows app. If you do it like this every
time the version number from the app on the server is changed the user
automaticaly gets an update the next time he starts the app.

hth
Peter

"Ray" <so*****@micros oft.com> wrote in message
news:ON******** ******@TK2MSFTN GP14.phx.gbl...
Dear all,
Now, I have 3 projects of class library and 1 project of window
application. The window application will call the 3 class librarys. So
should I make 4 .snk files for each project? Or one .snk file linked by
Assemblyinfo.vb of each class library?
The main target of me is that I can install the window application once
in the client PC, then the client PC can update its version after I compile in the program in the server. Please advice me some comments or provides
some references for that.
Thanks a lot,
Ray

Nov 21 '05 #2
Ray
Dear Peter,
Thanks for your help.
I would like to ask should I write program by myself to check the Version
of the dll and download the dll from the server? Is there any function in
vb.net that while the dll in the server update, client will automatically
download the dll from the server?
Moreover, some reference book says that I have to update the dll using in
the client PC manually after the dll is downloaded. Is there any method that
the client PC can download the dll and update the dll using automatically?
Thanks a lot,
Ray
"Peter Proost" <pp*****@nospam .hotmail.com> ¼¶¼g©ó¶l¥ó·s»D: e3************* *@TK2MSFTNGP15. phx.gbl...
Hi,

maybe you can do it like this, add a reference in your windows application
to all your class library projects, then after you've changed something to
the windows application or one of your class library projects also build
the
windows application and increase the version number in your config file (
You always have to build your windows application so that the new dll's of
your class library projects get copied). Place the bin of your windows
application on a server share. Than when your client starts his
application
you can check to see if his version number (version number in his local
config file) is lower than the one on the server, if his version number is
lower start a small app to copy the new files and which closes the current
running app otherwise you can't copy the new files and after the copy is
done, let copy app restart your windows app. If you do it like this every
time the version number from the app on the server is changed the user
automaticaly gets an update the next time he starts the app.

hth
Peter

"Ray" <so*****@micros oft.com> wrote in message
news:ON******** ******@TK2MSFTN GP14.phx.gbl...
Dear all,
Now, I have 3 projects of class library and 1 project of window
application. The window application will call the 3 class librarys. So
should I make 4 .snk files for each project? Or one .snk file linked by
Assemblyinfo.vb of each class library?
The main target of me is that I can install the window application
once
in the client PC, then the client PC can update its version after I

compile
in the program in the server. Please advice me some comments or provides
some references for that.
Thanks a lot,
Ray


Nov 21 '05 #3
You should use the same .snk for all your proyects, referencing it in the
assemblyinfo.vb file of each project. The .snk contains your private key to
sign assemblies and generally there is no reason to have more than one
private key.

--

Carlos J. Quintero

The MZ-Tools all-in-one add-in, now for .NET: http://www.mztools.com
"Ray" <so*****@micros oft.com> escribió en el mensaje
news:ON******** ******@TK2MSFTN GP14.phx.gbl...
Dear all,
Now, I have 3 projects of class library and 1 project of window
application. The window application will call the 3 class librarys. So
should I make 4 .snk files for each project? Or one .snk file linked by
Assemblyinfo.vb of each class library?
The main target of me is that I can install the window application once
in the client PC, then the client PC can update its version after I
compile in the program in the server. Please advice me some comments or
provides some references for that.
Thanks a lot,
Ray

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
1104
by: Bob | last post by:
Hi Folks, I am new to CSS and have a very basic question. I am trying create a list of companies consisting of several one-liners in the form of : company name, address, phone, description, etc. I want the text to have no margins and no space between lines, but I want the first line bold. And, I want a space between companies such as: Name:_________. (bold)
1
401
by: RK | last post by:
Hi I am having this problem with my deployment project. 'Another version of this product is already installed. Installtion of this version cannot continue. Configure or remove existing version of this product use Add/Remove programs on the control panel.' I think PackageCode will change with each build. Can we configure(set any property) so as to PackageCode remains same with each new build.
1
1169
by: Shawn | last post by:
Hi ; I'm trying to deploy my first winform app that i built with C# in VS.net 2003. how ever i can't make it work on the test machine i have. can any point me to a tutorial, steps or a book that explains the process of deploying an application. i got a strong name error when i went to register the dlls i created. they are in the same directory as the main app but when i went to run it in the test environment it would not work. any help...
1
1711
by: Richard K Bethell | last post by:
Hi, Want to know if anyone else encounters this issue. I maintain several asp.net websites over the Internet. Now I love xcopy deployment. It makes it easy to do date based change management. But I do find some files slip through, especially if you are using standard libraries that may not have been recently compiled. And some of my staff routinely overlook the update procedures and will not deploy files they've changed to all copies...
2
2198
by: Miguel Dias Moura | last post by:
Hi, i created a script to send form values by email. I am working in ASP.net / VB. The email is sent in HTM format. Well, i everything is working fine but i am getting an error in the msg.Body. Can you tell me what i am doing wrong? Ln1 - msg.Body = "<html><head><style type='text/css'> {font-family: Verdana,
5
1504
by: Gopal Krish | last post by:
Hello, Can anyone tell me how to strong name a web page? Thanks Gopal
12
1560
by: Mike | last post by:
I found this question before I asked mine: ----<previous question>---- We are clearly going about this the wrong way so before we get too far I would like some advice. We have all common assemblies like our page base class etc located on our Dev server. We reference them in all our applications with Copy Local set to trued
3
1297
by: Derek Martin | last post by:
Hi list, I have been doing VB.Net for quite a while now and just now getting into the forray of ASP.Net using VS2003. I have created our development website and now we are ready to start putting it into production. I've messed around with a few different deployment scenarios but the one we ended up with was two copies of the code, one on dev and one on prod and all changes we make to code on dev have to be copied to the prod and then...
4
3532
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
3056
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
8774
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9447
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9181
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6735
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
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
3
2180
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.