SOS:VC2005 B2 Express VC++ Directories Problem

I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories".
screenshot:
http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg

is this bug

this is a BIG PROBLEM!!Sad


Answer this question

SOS:VC2005 B2 Express VC++ Directories Problem

  • JT673

    Here's a workaround that's not handy when working with lot of projects in one solution, but works:
    http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=7b53636c-8de4-4c00-b15c-eacf00be8754

    Hint: You can actually select multple projects and change the properties, but only if all of them they the same property

  • Ramesh Narayanan

    Still doesn't work here. When I right click on an include and try to 'open document' it pops up saying it can't find the file and lists all the include folders I used for Beta 1 (which i correctly uninstalled).
  • Marten Ataalla

    I get the following error message when I try to build a sample solution from the DirectX 9 SDK:

    ------ Build started: Project: CustomUI, Configuration: Debug Win32 ------

    Compiling...

    dxstdafx.cpp

    c:\documents and settings\randall j hoogerhyde\my documents\visual studio projects\customui\common\dxstdafx.h(24) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory

    Build log was saved at "file://c:\Documents and Settings\Randall J Hoogerhyde\My Documents\Visual Studio Projects\CustomUI\Debug\BuildLog.htm"

    CustomUI - 1 error(s), 0 warning(s)

    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


    I searched my entire C: drive and the file windows.h does not exist!  Where do I get the file windows.h to build the DirectX 9 samples

    Thanks,
    Randy

  • Jason Smith


    this work around does not seem to work Sad

  • Ifgash

    Followed all the instructions in the posts from a fresh download and install -- never had any other VC or VStudio products on this machine.

    Added the following line to a C++ base project:

    // TODO: reference additional headers your program requires here
    #include <windows.h>

    And still got the following error:

    d:\home\lkyrala\mydocuments\visual studio 2005\projects\test\test\stdafx.h(16) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
    Build log was saved at "file://d:\home\lkyrala\MyDocuments\Visual Studio 2005\Projects\test\test\Debug\BuildLog.htm"
    test - 1 error(s), 0 warning(s)

    Is there another path that needs to be set somewhere other than the previously mentioned files   I ran C++ Express before making those changes -- is it possible that it is caching the default settings in some registry or temp file location and that this needs to be cleared first

    Thanks!



  • Steve Thornton

    I think I have found this issue in the known issues doc for VC++ Express.

    Issue:  Cannot set VC++ Directories in the Options dialog of Visual C++ Express Edition

    Details:  The VC++ Directories page on the Options dialog does not have a list box for viewing and modifying the directories used during a build. Consequently, it is not possible to modify the build directories using the IDE UI.

    Workaround: C++ Directories can be added, removed or changed by modifying the VCProjectEngine.dll.express.config file located in the .\vc\vcpackages subdirectory of the Visual C++ Express Edition install location in a text editor, saving the changes and restarting the Visual C++ Express Edition.

    http://lab.msdn.microsoft.com/express/readme/ExpressKnownIssues.rtf

    Bret Grinslade
    VS /. NET Framework Setup PM


  • iemad

    Doesn't work here either. For some odd reason, it's still trying to use the directories I used in Beta 1. I deleted Beta 1 correctly as per the instructions. I even searched the registry and it doesn't appear anywhere in there. I guess Beta 2 is trying to load a config file in the system folder made by Beta 1.Tongue Tied
  • Vb.net user

    So is this issue confirmed as a bug
    Or is it just the way C++ express works (Limitations )
    I really hope its not...Tongue Tied




    cheers,


    Paul June A. Domag

  • Nikola_Smircic

    How about removing C++ Beta2 ane replacing it with Beta1   Will this work   I am thinking about trying it.  
  • HohnerMan20

    In fact, without sounding too harsh it is a bit of a joke really. Didnt anyone try to follow the install instructions before everything was released This is seems to be another incident in a long line - the stereotype is holding true once again.

    Come on people, lets have a fix or an update.

  • amphi

    Hi,

    I think that this problem (and others) occur only if you start an older Version of Visual C++/Visual Studio. After installing VC 2005 it worked. After starting Visual Studio 2003 it is not possilbe to set the directories any more and VC 2005 adopted the keyboard settings from 2003.

    HTH,

    Christian

  • pccoder

     mancha wrote:
    I am really hoping that MS comes out with something soon to resolve the whole directory stuff as well as the Win32 missing template.



    Cheers,
    Miguel


    Thanks Miguel.
    I hope it is sorted as well. A little slack in my opinion.

  • Global Lens

    Hello,

    The instructions in URL: http://lab.msdn.microsoft.com/express/readme/ExpressKnownIssues.rtf
    to change the VCProjectEngine.dll.express.config found in \vc\vcpackages are fine to do.  Below is what mine looks like:

    Include="C:\Program Files\PlatformSDK\Include;$(VCInstallDir)include;$(VCInstallDir)PlatformSDK\i........"

    Library="C:\Program Files\PlatformSDK\Lib;$(VCInstallDir)lib;$(VCInstallDir)PlatformSDK\lib;$(Fr......."

    Path="C:\Program Files\PlatformSDK\Bin;$(VCInstallDir)bin;$(V"

    Granted that you will need to place your installation directory if it does not match mine.


    This is only a work around to accomplish step 4 in the instructions found in http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx.  But you still need to finish up step 5 to fully get the Win32 working.


    There is yet another problem I found and it is that MS seems to have forgotten to include the template to generate Win32 Applications.  So, when you are trying to finish up with step 6 in the instructions above, you will see that you don't really have the option to click Win32 as it is suggested.

    To test that things work, you could create a Win32 project in previous version of VS and convert it into this new VS 8 beta 2.  I am sure you could do a search on google to get a small sample application with source code and project files.


    I am really hoping that MS comes out with something soon to resolve the whole directory stuff as well as the Win32 missing template.



    Cheers,
    Miguel

  • C# Lover

    If i uninstall visual studio 2003 and reinstall visual studio 2005 will it work
    again

  • SOS:VC2005 B2 Express VC++ Directories Problem