Hello!!
I use VS 2003 and C# for all class library except MeltPracCommon.dll which
is C++.NET
The problem is that I get these warnings when building the exe file and use
my class libraries.
See below for a detail description.
Preparing resources...
Updating references...
Warning: The dependency 'MultiLang, Version=1.0.2274.20801, Culture=neutral'
in project 'MeltPracApplication' cannot be copied to the run directory
because it would overwrite the reference 'MultiLang, Version=1.0.2274.22477,
Culture=neutral'.
Warning: The dependency 'MeltPracStorage, Version=1.0.2274.22854,
Culture=neutral' in project 'MeltPracApplication' cannot be copied to the
run directory because it would overwrite the reference 'MeltPracStorage,
Version=1.0.2274.22891, Culture=neutral'.
Warning: The dependency 'MeltPracStorage, Version=1.0.2274.22428,
Culture=neutral' in project 'MeltPracApplication' cannot be copied to the
run directory because it would overwrite the reference 'MeltPracStorage,
Version=1.0.2274.22891, Culture=neutral'.Performing main compilation...
Build complete -- 0 errors, 0 warnings
Building satellite assemblies...
I have search the internet and found a lot but nothing that explains these
kind of warnings.
For example in the reference for the exe project I reference MeltPracStorage
in this way I use
C:\PK\Development\Products\UTCAS\4.0\SRC\MeltPracS torage\bin\Debug\MeltPracS
torage.dll
For example in the reference for the exe project I reference 'MultiLang in
this way I use
C:\PK\Development\Products\UTCAS\4.0\SRC\MultiLang \bin\Debug\MultiLang.dll
The exe file are using six class library dll. These are:
1. MeltPracCommon.dll is using Multilang.dll
2. Commons.dll is not using any dll
3. MeltPracStorage.dll is not using any dll
4. MMICommon.dll is using Commons
5. Multilang.dll is using MeltPracStorage.dll
6. UTCASCommon.dll is using MMICommon.dll and MeltPracStorage.dll
I have only a single project in each solution project. So a have 6 solution
project having one class library project in each one.
So in the referens list for each project I have the following.
UTCASCommon reference MMICommon and MeltPracStorage
MMICommon reference Commons
MeltPracCommon reference Multilang
Multilang reference MeltPracStorage
I use copy local = TRUE for each referece dll that I use.
There are no problems at all to build all the class library dll
In the UTCASCommon output directory I have the following after a successful
build. UTCASCommon.dll, MMICommon.dll, Common.dll and MeltPracStorage.dll
In the MMICommon output directory I have the following after a successful
build. MMICommon.dll and Commons.dll
In the Commons output directory I have the following after a successful
build. Commons.dll
In the MeltPracCommon output directory I have the following after a
successful build. MeltPracCommon.dll and Multilang.dll
In the Multilang output directory I have the following after a successful
build. Multilang.dll and MeltPracStorage.dll
In the MeltPracStorage output directory I have the following after a
successful build MeltPracStorage.dll
So can somebody explain or tell me how to fix my warnings when buiding the
exe file because
I haven't any idea.
Why do I only get warning for MeltPracStorage and Multilang and why do I get
two warnings for
MeltPracStorage
//Tony