473,387 Members | 1,834 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,387 software developers and data experts.

Problem mit Assembly-Version

Hallo.

Ich habe folgendes Problem:

Ich baue gerade eine Art Framework für meine Firma, das diverse
Grundklassen enthält, die nicht Projekt- oder Produktbezogen sind und
allgemein verwendet werden können. Ich möchte dieses Framework,
welches komplett in einer einzigen Assembly (Dll) liegt, natürlich in
mehreren Programmen verwenden und regelmäßig um Fumktionalität (also
neue Klassen, evtl. neue Methoden in bestehenden Klassen oder
ersatzweise von diesen erbende Klassen mit den neuen Methoden)
erweitern. Daher soll diese Assembly auf den nutzenden Rechnern und
bei den Kunden auch im GAC installiert werden. Ich weiß, das man im
GAC mehrere Versionen einer Assembly installieren kann, aber ich
möchte trotzdem nicht dutzende oder hunderte Versionen dieser Assembly
auf den Entwicklungsrechern im GAC haben und alte Versionen
rausschmeißen, wenn eine neue installiert wird. Dafür, dass die alten
Klassen mit ihren Methoden weiter unverändert nutzbar bleiben, ist
entweder durch Interfaces oder Ableitung der Klassen für Erweiterungen
gesorgt, falls Methodennamen oder Parameterlisten bestehender Methoden
verändert werden müssen.

Gibt es eine Möglichkeit, den Assemblies, die diese benutzen,
mitzuteilen, dass sie nicht exakt Version x des Frameworks, sondern x
oder eine neuere Version verwenden sollen. Im Assemblyversion-Attribut
sind auch die Build- und Revision-Nummer komplett angegeben. Aber
selbst wenn das nicht der Fall wäre (z. B. 1.0.*), wäre die zeitliche
Reihenfolge der Erstellung der Versionen durch die Art der Generierung
von Build und Revision (aktuelles Datum - 1. 1. 2000 bzw. Sekunden
seit 0:00 Uhr des aktuellen Tages modulo 2) ja eindeutig.

Danke.

MfG

Marco
Jul 21 '05 #1
1 2001
Cor
Hi Marco,

This is an international newsgroup and with convention we use the Enlish
language.

There is a very good Dotnet group in the German language.

It is

microsoft.public.de.german.dotnet.entwickler.vb

There are more de. groups.but from this I know that it is very good.

For your question (I readed it) it is not important if you use vb or C#.

I know that the guys there know your answer on this question in dept.

Cor

Ich baue gerade eine Art Framework für meine Firma, das diverse
Grundklassen enthält, die nicht Projekt- oder Produktbezogen sind und
allgemein verwendet werden können. Ich möchte dieses Framework,
welches komplett in einer einzigen Assembly (Dll) liegt, natürlich in
mehreren Programmen verwenden und regelmäßig um Fumktionalität (also
neue Klassen, evtl. neue Methoden in bestehenden Klassen oder
ersatzweise von diesen erbende Klassen mit den neuen Methoden)
erweitern. Daher soll diese Assembly auf den nutzenden Rechnern und
bei den Kunden auch im GAC installiert werden. Ich weiß, das man im
GAC mehrere Versionen einer Assembly installieren kann, aber ich
möchte trotzdem nicht dutzende oder hunderte Versionen dieser Assembly
auf den Entwicklungsrechern im GAC haben und alte Versionen
rausschmeißen, wenn eine neue installiert wird. Dafür, dass die alten
Klassen mit ihren Methoden weiter unverändert nutzbar bleiben, ist
entweder durch Interfaces oder Ableitung der Klassen für Erweiterungen
gesorgt, falls Methodennamen oder Parameterlisten bestehender Methoden
verändert werden müssen.

Gibt es eine Möglichkeit, den Assemblies, die diese benutzen,
mitzuteilen, dass sie nicht exakt Version x des Frameworks, sondern x
oder eine neuere Version verwenden sollen. Im Assemblyversion-Attribut
sind auch die Build- und Revision-Nummer komplett angegeben. Aber
selbst wenn das nicht der Fall wäre (z. B. 1.0.*), wäre die zeitliche
Reihenfolge der Erstellung der Versionen durch die Art der Generierung
von Build und Revision (aktuelles Datum - 1. 1. 2000 bzw. Sekunden
seit 0:00 Uhr des aktuellen Tages modulo 2) ja eindeutig.

Jul 21 '05 #2

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

Similar topics

6
by: Iain Bishop | last post by:
I'm trying to model objects for the following problem: A building site contains assemblies, each of which can contain other assemblies and/or materials. I have modelled this using a Site...
2
by: Vera | last post by:
I have two assemblies that each consist of several classes. Each object instantiated from those classes can have one or more child- and/or parentobjects that are also instantiated from those...
12
by: SJD | last post by:
I've just read Christoph Schittko's article on XmlSerializer: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/trblshtxsd.asp . . . and very informative it is too....
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
5
by: Lucas | last post by:
Well, here's the situation.. It's pretty simple; just that I can't get it to work. I have 2 Executables.. The first one is called CSharp.exe which is a simple WinForm App. I have a single...
15
by: Ken Allen | last post by:
I have been developing a suite of assemblies over the past couple of weeks, and this afternoon somethign started misbehaving. If I do not run the IDE and compiler the code from the command line,...
7
by: Mr. Mountain | last post by:
Hi, I am building a custom wizard engine in C# following the example in "Mastering Visual Studio.NET" by Griffiths, Flanders and Sells (pg 304). Unfortunately, I'm having several problems that the...
0
by: Nadav | last post by:
Hi, Introduction ******************** I am writing some kind pf an assembly linker, this linker should be able to work with an already compiled assembly, e.g. add several global methods, To...
0
by: Nadav | last post by:
Hi, Introduction ******************** I am writing some kind pf an assembly linker, this linker should be able to work with an already compiled assembly, e.g. add several global methods, To...
19
by: Larry Smith | last post by:
Hi there, When I run the following on my app's primary thread: System.Type.GetType("System.Windows.Forms.Form") It works as expected. If I then launch a thread via the "BackgroundWorker"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.