473,624 Members | 2,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why do I keep getting a warning that a reference cannot be overwritten when I compile?

nfr
I keep getting the following warning in my compile:
Warning: The dependency 'WBWebServices, Version=1.0.128 9.13943,
Culture=neutral ' in project 'WBWin' cannot be copied to the run directory
because it would overwrite the reference 'WBWebServices,
Version=1.0.128 9.15088, Culture=neutral '.

If I delete and readd the reference, it compiles fine but when I come leave
and return to Visual Studio.NET, the error pops up again when I recompile
the project.
Nov 13 '05 #1
2 2100
nfr,

You are trying to compile a version of your assembly someplace where a
later version is already in place. Are you using automatic version
numbering on your assembly? In other words, are you explicitly controlling
the version number through the AssemblyVersion attribute?

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni************* *@exisconsultin g.com

"nfr" <nf*@nospam.com > wrote in message
news:uL******** ******@tk2msftn gp13.phx.gbl...
I keep getting the following warning in my compile:
Warning: The dependency 'WBWebServices, Version=1.0.128 9.13943,
Culture=neutral ' in project 'WBWin' cannot be copied to the run directory
because it would overwrite the reference 'WBWebServices,
Version=1.0.128 9.15088, Culture=neutral '.

If I delete and readd the reference, it compiles fine but when I come leave and return to Visual Studio.NET, the error pops up again when I recompile
the project.

Nov 13 '05 #2
nfr
"Nicholas Paldino [.NET/C# MVP]" <ni************ **@exisconsulti ng.com> wrote
in message news:u8******** ******@tk2msftn gp13.phx.gbl...
nfr,

You are trying to compile a version of your assembly someplace where a
later version is already in place. Are you using automatic version
numbering on your assembly? In other words, are you explicitly controlling the version number through the AssemblyVersion attribute?


I don't know. Everythihng is defaulted. Could that cause a problem?
Nov 13 '05 #3

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

Similar topics

5
2533
by: Philip Ronan | last post by:
OK, here's my 2p worth: === Q. Why am I getting the error message 'Headers already sent'? A. PHP produces this error message when you try to set a header for a web page after you have already started sending out the content of the page. Web content is always delivered with a few headers at the top, ending with a blank line. For example, a web page might start like this:
1
3073
by: Raed Sawalha | last post by:
when i build asp.net application i have theses warnings messages ,what they mean? Preparing resources... Updating references... Warning: The dependency 'EW_Calender, Version=2.5.2055.20123, Culture=neutral' in project 'EduWaveApplication' cannot be copied to the run directory because it would overwrite the reference 'EW_Calender, Version=2.5.2060.18779, Culture=neutral'. Warning: The dependency 'EW_StudentThesis, Version=2.5.2055.22884,
3
1412
by: tsair | last post by:
I am new to Vb.net.I create a solution with multiple project, when I compile it show me the Warning message, how to solve this. Warning: The dependency 'AppFrameWork, Version=1.0.1811.36961, Culture=neutral' in project 'Clinic' cannot be copied to the run directory because it would overwrite the reference 'AppFrameWork, Version=1.0.1814.28046, Culture=neutral'. Thank you.
0
3705
by: ruju00 | last post by:
I am getting an error in Login() method of the following class FtpConnection public class FtpConnection { public class FtpException : Exception { public FtpException(string message) : base(message){} public FtpException(string message, Exception innerException) : base(message,innerException){}
13
2681
by: Sam Steingold | last post by:
the following program does not compile with g++ 4.1.1: ==================================================== // $Id$ // $Source$ #include <stdint.h> #include <stdio.h> typedef struct { uint32_t one_c; } chart; #define as_chart(c) ((chart){one_c:(c)})
5
17683
by: Eric | last post by:
Hi, I want to generate a dll for x64. In the project, I specify the platform target x64 but VS2005 use the win32 framework. Here is the warnings that I get : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /platform:x64 /errorreport:prompt /baseaddress:285212672 /define:TRACE;DEBUG /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
27
3109
by: Terry | last post by:
I am getting the following warning for the below function. I understand what it means but how do I handle a null reference? Then how do I pass the resulting value? Regards Warning 1 Function 'Dec2hms' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
0
2597
by: xpnctoc | last post by:
There is a newsgroup thread posted http://www.thescripts.com/forum/thread726628.html. This site would not let me respond directly to it, which is a shame because I've found an answer that I think gets more to the root of the problem than the response on the thread itself. I am posting this message hoping whoever posted the original question will see it: I recently had a C++/CLI project start throwing 351 instances of the C4945 warning on me....
12
3006
by: Bryan Parkoff | last post by:
I write my large project in C++ source code. My C++ source code contains approximate four thousand small functions. Most of them are inline. I define variables and functions in the global scope. The global variables and global functions are hidden to prevent from accessing by the programmers. All global functions share global variables. Only very few global functions are allowed to be reusability for the programmers to use. Few...
0
8675
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.