Development Practice: multiple assemblies

C

Curtis Justus

Hello,

We are making a large scale application with numerous assemblies. We have
our business object assemblies, UI assemblies, etc. During the course of
the project, people would be getting errors trying to compile their user
controls. The errors state that the version of the lower-level DLL is not
the right version.

Let's say we have the following structure:

Low-level DLL: LowDLL.DLL

UserControl1 references LowDLL.DLL
UserControl2 references LowDLL.DLL
UserControl3 references LowDLL.DLL

Main application (myapp.exe) refers to all three user controls.

Is the best way to make sure LowDLL.DLL is the right version to make sure
everybody has the "right version?" I know this is probably a very simple
question, but please humor me ;-).

Thank you in advance,
cj
 
N

Nicholas Paldino [.NET/C# MVP]

Curtis,

I think that if you strong name the LowDLL.DLL assembly, then the
version number must match when making references to it. The strong name
changes when the assembly version changes.

Hope this helps.
 
C

Curtis Justus

That's what I thought. Thanks.

Nicholas Paldino said:
Curtis,

I think that if you strong name the LowDLL.DLL assembly, then the
version number must match when making references to it. The strong name
changes when the assembly version changes.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Curtis Justus said:
Hello,

We are making a large scale application with numerous assemblies. We have
our business object assemblies, UI assemblies, etc. During the course of
the project, people would be getting errors trying to compile their user
controls. The errors state that the version of the lower-level DLL is not
the right version.

Let's say we have the following structure:

Low-level DLL: LowDLL.DLL

UserControl1 references LowDLL.DLL
UserControl2 references LowDLL.DLL
UserControl3 references LowDLL.DLL

Main application (myapp.exe) refers to all three user controls.

Is the best way to make sure LowDLL.DLL is the right version to make sure
everybody has the "right version?" I know this is probably a very simple
question, but please humor me ;-).

Thank you in advance,
cj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top