473,705 Members | 5,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Behavior Difference/Bug in vs2003 for Building vc.net solution?

Has anyone come across this issue?

There seems to be a behavioral difference (and possible bug) in visual
strudio 2003 when building a vc.net solution through IDE and building the
same solution through command line using "devenv". The linker seems to be
failing when build is invoked through command line.
Here are the differences: (There are additional references to .lib files in
cmdline invoked version which are not there in IDE invoked version; even the
path to the last 2 .libs is not correct). As a result the build of the
solution fails with error:
LINK : fatal error LNK1181: cannot open input file
'\Build\build\b in\Release\Erro rStr.lib'
Here are the response files that are generated by devenv:

linker response file when solution build is invoked from command-line:


/OUT:"..\..\..\. .\bin\Release/BlueMinder.dll" /INCREMENTAL:NO /NOLOGO
/LIBPATH:"D:\Bui ld\Work_Streams \Utility\Lib" /DLL /DEBUG
/PDB:"..\..\..\. .\bin\Release/BlueMinder.pdb" /FIXED:No kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
"\Build\bin\Rel ease\ErrorStr.l ib" "\Build\bin\Rel ease\EventStr.l ib"

".\Release\Blue Minder.obj"


linker response file when solution build is invoked from IDE:


/OUT:"..\..\..\. .\bin\Release/BlueMinder.dll" /INCREMENTAL:NO /NOLOGO
/LIBPATH:"D:\Bui ld\Utility\Lib" /DLL /DEBUG
/PDB:"..\..\..\. .\bin\Release/BlueMinder.pdb" /FIXED:No kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

".\Release\Blue Minder.obj"


Thanks for any comments or suggestions for alternatives in achieving the
build through commandline.

Nov 17 '05 #1
0 1233

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

Similar topics

by: AinO | last post by:
Hi, - I've created a webservice in VS2003/c# wich relies heavily on cache. It has a cache manager wich loads resources (triggered by requests) and wich has also a built in timer wich triggers every 5 mins a check on the unused lifetime of all cached resources and frees them if they exceed their idle time limit. I made also a log object wich logs HTTP application level (triggered from global.asax) and web method level events (triggered
by: Rolf Molini | last post by:
Hello board, I just started looking into C# - programming and find it quite applicable for very rapid development scenarios. But the handy support that the IDE provides has now run me into problems with localization. I started out very simple with a form called MainForm that is displayed but disabled. This form immediately starts a second form called "LoginDialog" which contains the usual labels, textBoxes and buttons. It connects to a...
by: Konstantin Sokolovskiy | last post by:
Hello. I have some VS solution, which contains some ASP.NET projects. Each project contains some common set of client libraries. For example: there are some folder ClientCommon, which contains these libraries. At present, each ASP.NET project contains it's own copy of ClientCommon folder. Is it possible to leave one copy only for all projects? I can, of course, create virtual directories for each of ASP.NET projects, which will be mapped...
by: chris | last post by:
I'm not sure if this is a bug being caused by visual studio, or by the vb compiler itself. I have good size solution (33 projects) and am consistently having a problem with one project.. Basically everytime I build, I get the compiler error bc30456...which is basically that some local variable is not declared. However, the variable is declared...and basically if I change its declaration from private to protected the project will...
by: D | last post by:
I have a winforms app that I'm reading some records from a datareader and writing them out to a file like so SqlDataReader dataReader = sqlCommand.ExecuteReader(); TextWriter textWriter = new StreamWriter(strFileName); while(drReader.Read()) { strRecord = ////// strRecord building stuff here textWriter.WriteLine(strRecord); iRecordCount++;
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers mapped to the local devleopment folder. Project compiles to a subfolder .\bin. To deploy, the asmx page and bin subfolder are copied to the production server. So now I upgrade to VS2005. OK, so except for the name, everything is changed. No more...
by: Tammam | last post by:
Hello All, I had a solution composed of managed/unmanaged C++ , C# projects. It builds with no problem in VS2003 but after converting the solution to VS2005 i get many linking errors such as LNK2020 LNK2028. Below is a little bit of the error report. Error 34 error LNK2020: unresolved token (0A000029) "public: __thiscall std::_Container_base::_Container_base(void)" (??0_Container_base@std@@$$FQAE@XZ) UnmanagedResiprocateController.obj
by: Tony Girgenti | last post by:
Hello. I developed a VS.NET2003(VB), ASP.NET web application client program with ..NET Framework 1.1, ASP.NET 1.1, IIS 5.1 and WSE 2.0. I tried to migrate it to VS 2005 Pro(VB), Web Application Projects, .NET Framework 2.0, ASP.NET 2.0, IIS 5.1, WSE ?. Is WSE 3.0 required for VS 2005?
by: nicknack | last post by:
Hello. I have a pc with visual studio 2005 working well. I tried to install VS2003 along with the VS2003 so I can work on an old project built with VS2003 and FW1.1. The problem is that when I'm tring to create a new asp.net project I'm getting the error: "The webserver reported the following error when attempting to create or open the web project located at the following
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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...
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...
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...
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...
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();...
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...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.