By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,671 Members | 1,355 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,671 IT Pros & Developers. It's quick & easy.

Development Practice: multiple assemblies

P: n/a
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
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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]
- ni**************@exisconsulting.com

"Curtis Justus" <do*********@nospam.ruurjv.com> wrote in message
news:e4**************@tk2msftngp13.phx.gbl...
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

Nov 13 '05 #2

P: n/a
That's what I thought. Thanks.

"Nicholas Paldino [.NET/C# MVP]" <ni**************@exisconsulting.com> wrote
in message news:uh**************@TK2MSFTNGP11.phx.gbl...
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]
- ni**************@exisconsulting.com

"Curtis Justus" <do*********@nospam.ruurjv.com> wrote in message
news:e4**************@tk2msftngp13.phx.gbl...
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


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.