473,395 Members | 2,468 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,395 software developers and data experts.

Why do I get these kind of warnings when building my exefile

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





Mar 24 '06 #1
3 1732
Hello,

Basically You have a refernce to one or more dll that corresponds to version
say version 1.0.0.0.1 in your project. When you build, it tries to copy it
to the bin directory and finds the dll's you copied there that is of
version 1.0.0.0.0

To fix this, do one of the following...

Simply reference the dll's from where they are, Visual studio will
automatically copy them to the bin directory when your build or run your
project.

If you want it referenced from within the bin directory (where you
already have put it) reference it from there (take out the old reference and
add the one from bin)

If you don't want it copied there (want it referenced in some other
location - would force you to deploy to the same location ...) then change
its property "copy Local" to false.

Regards
Scott Blood
C# Developer

p.s. i did post this under your last posting, but you must of missed this.

"tony" <jo*****************@telia.com> wrote in message
news:OA**************@TK2MSFTNGP14.phx.gbl...
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





Mar 24 '06 #2
Hello!!
As in my case building one exe file which use six dll is it good choice to
put the dll into the global assembly cache(GAC) to get rid of my warnings.

//Tony

"scott blood" <sc*********@hotmail.com> skrev i meddelandet
news:Og**************@TK2MSFTNGP11.phx.gbl...
Hello,

Basically You have a refernce to one or more dll that corresponds to version say version 1.0.0.0.1 in your project. When you build, it tries to copy it
to the bin directory and finds the dll's you copied there that is of
version 1.0.0.0.0

To fix this, do one of the following...

Simply reference the dll's from where they are, Visual studio will
automatically copy them to the bin directory when your build or run your
project.

If you want it referenced from within the bin directory (where you
already have put it) reference it from there (take out the old reference and add the one from bin)

If you don't want it copied there (want it referenced in some other
location - would force you to deploy to the same location ...) then change
its property "copy Local" to false.

Regards
Scott Blood
C# Developer

p.s. i did post this under your last posting, but you must of missed this.

"tony" <jo*****************@telia.com> wrote in message
news:OA**************@TK2MSFTNGP14.phx.gbl...
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






Mar 24 '06 #3
Tony,

Once again its really just a matter of preference, however isntalling them
into the GAC might not be a good idea well you are still developing your
software, especially if you intend to edit the source for the DLL's.

Simply reference the DLL's from where they are now and turn off the
CopyLocal property of the reference, this will erradicate your error
messages.

Regards
Scott Blood
C# Developer
"tony" <jo*****************@telia.com> wrote in message
news:Oa**************@TK2MSFTNGP09.phx.gbl...
Hello!!
As in my case building one exe file which use six dll is it good choice
to
put the dll into the global assembly cache(GAC) to get rid of my warnings.

//Tony

"scott blood" <sc*********@hotmail.com> skrev i meddelandet
news:Og**************@TK2MSFTNGP11.phx.gbl...
Hello,

Basically You have a refernce to one or more dll that corresponds to

version
say version 1.0.0.0.1 in your project. When you build, it tries to copy
it
to the bin directory and finds the dll's you copied there that is of
version 1.0.0.0.0

To fix this, do one of the following...

Simply reference the dll's from where they are, Visual studio will
automatically copy them to the bin directory when your build or run your
project.

If you want it referenced from within the bin directory (where you
already have put it) reference it from there (take out the old reference

and
add the one from bin)

If you don't want it copied there (want it referenced in some other
location - would force you to deploy to the same location ...) then
change
its property "copy Local" to false.

Regards
Scott Blood
C# Developer

p.s. i did post this under your last posting, but you must of missed
this.

"tony" <jo*****************@telia.com> wrote in message
news:OA**************@TK2MSFTNGP14.phx.gbl...
> 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



Mar 24 '06 #4

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

Similar topics

0
by: Bonj | last post by:
Hi I made a console application called ffind.exe. When building, the linker gives the warnings below. I presume they are telling me that it is eliminating functions from the .EXE that I have...
5
by: Lindsay | last post by:
I'm getting some strange warnings when I compile: pointer truncation from 'HMENU' to 'unsigned int' The line in question is: AppendMenu(hMenu,MF_STRING|MF_POPUP,UINT(hStyle),"Style"); (where...
0
by: tony | last post by:
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....
2
by: badkarspiloten | last post by:
Hi there! I have just migrated from VS 2003 to VS 2005 and are getting lots of compile warnings when building my solution. Some of them I want to disable. I have managed to do this with my...
6
by: pete142 | last post by:
When I compile this code: typedef unsigned char BYTE; BYTE * IpString(unsigned int ip) { static BYTE ipString; ipString = (BYTE) 0xff & (ip >24); ipString = (BYTE) 0xff & (ip >16);
13
by: markn | last post by:
Running some code through static analysis, I noticed that gcc will generate a warning if a function returns an aggregate, controlled with this flag (from the gcc manual): -Waggregate-return...
82
by: robert bristow-johnson | last post by:
here is a post i put out (using Google Groups) that got dropped by google: i am using gcc as so: $ gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure...
0
by: nichols.alan | last post by:
I am attempting to build the SVN release of python on Visual Studio 8. I get the warning messages such as the following: ...\..\Modules\cPickle.c(527) : warning C4244: '=' : conversion from...
3
by: neovantage | last post by:
Hey, Can some one guide me that from where these 2 css warnings come from as i am unable to find those id's in my css file named as here is the url which gives warnings on my contact page ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.