Re: Bug in VC++2005 running an "embeded" devenv cmd?
- From: Viviana Vc <vcotirlea@xxxxxxxxxxx>
- Date: Wed, 15 Mar 2006 17:16:05 +0100
Hi Helge,
Thanks for your answer, but your suggestion didn't work :( I would
assume this is a VC++ 2005 bug but I was wondering if there is also a
workaround for it?
Thx,
Viv
From: Helge Kruse - view profile
Date: Tues, Feb 21 2006 10:41 pm
Email: "Helge Kruse" <Helge.Kruse-nos...@xxxxxxx>
Groups: microsoft.public.vc.ide_general, microsoft.public.vsnet.general, microsoft.public.vsnet.act, microsoft.public.vsnet.ide, microsoft.public.vstudio.development, microsoft.public.vstudio.general, comp.windows.misc
Not yet ratedRating:
show options
Reply | Reply to Author | Forward | Print | Individual Message | Show original | Report Abuse | Find messages by this author
Sounds strange. Do you wan to try a workaround bat file like following? I
did not check it. But it should be closer to your manual invokation.
set local
cd /d <preferable-full-path-or-a-correct-relative-path>
devenv resdl.sln
endlocal
/Helge
On Tue, 21 Feb 2006 18:21:56 +0100, Viviana Vc <vcotirlea@xxxxxxxxxxx> wrote :
Hi all,
I upgarded to VC++ 2005 and I'm having a problem that didn't occur on
VC++ 2003. I would like to know if there is a way to fix this.
The scenario is like this:
- Create a project e.g. resdll.sln/vcproj, that is a normal application
that might also include resources
- Create a batch file in the same directory like where the above .sln
file is e.g. mybat.bat containing the following line:
devenv <preferable-full-path-or-a-correct-relative-path>\resdll.sln
/rebuild release /out release/BuildLog.htm
- Create another new project e.g. MyTest.sln/vcproj that contains
whatever dummy file, e.g. empty dummy.h file. Right click on the dummy.h
file and at the Custom Build Step add the following line:
call <preferable-full-path-or-a-correct-relative-path>\mybat.bat.
You'll also need to add something in the Outputs filed, so just add
whatever.dummy.
Problem: if I try to build the MyTest project I always get the error:
error PRJ0003 : Error spawning 'C:\Programming\Microsoft Visual Studio
8\VC\bin\cl.exe'.
or in case it's a resource dll I get:
error PRJ0003 : Error spawning 'C:\Programming\Microsoft Visual Studio
8\VC\bin\rc.exe'.
(of course cl.exe and rc.exe are in the right place:
C:\Programming\Microsoft Visual Studio 8\VC\bin\)
Notes:
- If I run just the mybat.bat file in a cmd prompt everything works just
fine.
- The sample above works just fine with VC++ 2003.
Any help to fix this would be appreciated.
Thanks,
Viv
.
- Prev by Date: Regional language support in VC++ IDE
- Next by Date: Re: Compiling with an updated headerfile
- Previous by thread: Regional language support in VC++ IDE
- Next by thread: Re: Compiling with an updated headerfile
- Index(es):
Relevant Pages
|