In VS .NET 2003 (SP1) I wanted to add a preprocessor symbol to all configurations of all projects in
a solution. I selected all the projects and then went to Properties, where I went to the
preprocessor symbols edit box. Nothing was in there, presumably because no symbols are common to all
selections, which is as expected. However, when I added the new symbol I found that _all_ other
symbols, such as _WINDOWS etc. had been deleted from all configurations of all projects. I don't
know if this is by design, but it's wrong. VC++ 6.0 didn't work this way. How do I add a symbol to
multiple selections without losing anything?
David 4 1259
On Fri, 27 Oct 2006 09:55:43 +1000, "David W" <no@email.providedwrote:
>In VS .NET 2003 (SP1) I wanted to add a preprocessor symbol to all configurations of all projects in a solution. I selected all the projects and then went to Properties, where I went to the preprocessor symbols edit box. Nothing was in there, presumably because no symbols are common to all selections, which is as expected. However, when I added the new symbol I found that _all_ other symbols, such as _WINDOWS etc. had been deleted from all configurations of all projects. I don't know if this is by design, but it's wrong. VC++ 6.0 didn't work this way. How do I add a symbol to multiple selections without losing anything?
That's a common complaint, and here are a couple of bug reports on it: http://connect.microsoft.com/VisualS...dbackID=108849 http://connect.microsoft.com/VisualS...dbackID=109761
Hopefully it will be fixed in the next version. In the meantime, you can:
1. Update each project individually.
2. Use a header file to define macros.
3. In VC 2005, use the new "property sheet" feature: http://msdn2.microsoft.com/en-US/library/a4xbdz1e.aspx
--
Doug Harrison
Visual C++ MVP
"Doug Harrison [MVP]" <ds*@mvps.orgwrote in message
news:b2********************************@4ax.com...
On Fri, 27 Oct 2006 09:55:43 +1000, "David W" <no@email.providedwrote:
In VS .NET 2003 (SP1) I wanted to add a preprocessor symbol to all configurations of all projects
in
a solution. I selected all the projects and then went to Properties, where I went to the
preprocessor symbols edit box. Nothing was in there, presumably because no symbols are common to
all
selections, which is as expected. However, when I added the new symbol I found that _all_ other
symbols, such as _WINDOWS etc. had been deleted from all configurations of all projects. I don't
know if this is by design, but it's wrong. VC++ 6.0 didn't work this way. How do I add a symbol
to
multiple selections without losing anything?
That's a common complaint, and here are a couple of bug reports on it:
http://connect.microsoft.com/VisualS...dbackID=108849 http://connect.microsoft.com/VisualS...dbackID=109761
Those are for 2005, so this problem appears to have had a long life.
Hopefully it will be fixed in the next version. In the meantime, you can:
1. Update each project individually.
2. Use a header file to define macros.
3. In VC 2005, use the new "property sheet" feature:
http://msdn2.microsoft.com/en-US/library/a4xbdz1e.aspx
Thank you. I am getting the impression that 2003 is a bit of a lemon. The UI is all pretty clunky
and I'd rather be using just about anything else. The VC++ 6.0 IDE was a dream in comparison.
David
>Those are for 2005, so this problem appears to have had a long life.
It's been a problem ever since the first version of VS. Given how long
it's been a problem, one does have to wonder if it'll ever get fixed.
I really hope it does!
Dave
Thank you. I am getting the impression that 2003 is a bit of a lemon. The
UI is all pretty clunky
and I'd rather be using just about anything else. The VC++ 6.0 IDE was a
dream in comparison.
You have probably never used the VC2002 IDE?
E.g. The release that is never mentioned anymore. The shame, the horror, ...
The only excuse is that that release was the first of the .NET generation,
and they had a lot on their mind.
I agree that if you program MFC, the VC6 IDE is much better than any of the
later releases.
--
Kind regards,
Bruno van Dooren br**********************@hotmail.com
Remove only "_nos_pam" This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeremy Siek |
last post by:
CALL FOR PAPERS/PARTICIPATION
C++, Boost, and the Future of C++ Libraries
Workshop at OOPSLA
October 24-28, 2004
Vancouver, British Columbia, Canada
http://tinyurl.com/4n5pf
Submissions
|
by: Neil Ginsberg |
last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC
linked tables. I recently created a new set of tables for the app, and users
are complaining that unsaved data is being...
|
by: Walter Roberson |
last post by:
I have run into a peculiarity with SGI's C compiler (7.3.1.2m). I have been
reading carefully over the ANSI X3.159-1989 specification, but I cannot
seem to find a justification for the behaviour....
|
by: Water Cooler v2 |
last post by:
Sorry if this is a foolish question, but here it is.
I see things like
#ifndef STDC
...blah
#endif
#ifdef WIN32
|
by: anony |
last post by:
Hello,
I can't figure out why my parameterized query from an ASP.NET page is
dropping "special" characters such as accented quotes & apostrophes, the
registered trademark symbol, etc. These...
|
by: spibou |
last post by:
Is the output of the C preprocessor deterministic ? What I mean
by that is , given 2 compilers which conform to the same standard,
will their preprocessors produce identical output given as input...
|
by: =?Utf-8?B?bWFyaw==?= |
last post by:
I am contemplating converting a huge collection of functions from C++ to
VB.NET.
I am concerned with a style used in the original code where a variable is
set to a constant value with the # define...
|
by: Bob |
last post by:
Hi,
Is it possible to change the references in a project based upon
changing preprocesor symbols?
Thanks,
Bob
|
by: Bob |
last post by:
Hi,
Is it possible to change the references in a project by using
preprocessor directives?
Thanks,
Bob
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
| |