Help with compiler (VS2005 c++, D3D)

Well,... the first thing I'm wondering is if anyone else experienced similar problems opening sample solutions from the sample browser - versions for the Vs2005beta. I keep getting critical error that says something like "...XML failed  parsing...Property sheet file 'UpgradeFromVC71.vsprops' was not found or failed to load."
As the 2005.sln wouldn't load, I tried converting the Vs2003 solutions. Here I encountered the second set of problems. When the solution tries to compile, I get a "duplicate resource" error, type:MANIFEST. O.K. So I had to open the project.rc file and exclude the line that defines the manifest file. The project compiles smoothly. I'm still wondering whether this solution to the problem influences the application on some future-critical-level, or did I run into this problem due to conversion from the 2003 solution in the first place

Thanks in advance,
Brin


Answer this question

Help with compiler (VS2005 c++, D3D)

  • PupDaddy

    I received this same error (duplicate resource.  type:MANIFEST...) after converting a VC++ 6 project.  My .RC file has a manifest specified in it.  I can get rid of the error by turning off incremental linking, or by turning off the option to embed the manifest in the project settings.  Its not clear how this manifest tool is supposed to work with the manifest file included in the .RC.

    Thanks,
    Mark

  • Viral Shah

    We need a little more information:
    Which version of VS 2005 C++ are you using
    Which version of the DirectX SDK
    Which specific sample did you try to open


  • cliftonic

    I was using FX Composer with a bad XML loader version
    and I had all kind of problem

    It look like you could try to load the new MSXML 4.0  from Microsoft

    http://www.microsoft.com/downloads/details.aspx FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en

    Since I installed this my Property parser XML don't bug anymore...

  • Gardini

    Can you upgrade to the latest verison of Visual Studio 2005 and let us know if this problem still exists   I'm not seeing the same problems that you're reporting.  Based on the lack of other replies, you might be in a unique situation.

    Here's what I need you to do:
    1) Install the released version of VS 2005 (the Express versions are free and available to download off of MSDN)
    2) Re-install the latest SDK
    3) Install the "Empty Project" sample and see if you have the same problem.

    Also, make sure that $(DXSDK_DIR)include is in you include directory list and $(DXSDK_DIR)lib\x86 (or x64 if necessary) is in you library directory list.


  • Shane_2k5

    I had similar problems when loading a VS2003 project with VS 2005.  The way that I got around it was to create a new blank project and manually set it up from scratch (add all of the files to it and change all of the project properties as required).  It involved a bit of work, but at least the new project was a clean start and wasn't working with any legacy settings.

  • Coder0

    I've converted a bunch of VS2003 projects without a single problem, but the threat of one going bad is unnerving.

    Don.

  • shupe

    Firstly I would like to thank you for the inquiry. To the questions...

    ->Which version of VS 2005 C++ are you using
    -->VS 2005, version 8.0.50110.28

    ->Which version of the DirectX SDK
    -->The October  2005 version

    ->Which specific sample did you try to open
    -->It's a common error to all C++ based projects. Since only the C++ projects have separate VS version dependent .sln files (the managed samples share one VS version independent .sln file) and considering the fact that only the 2005 solutions fail to load with the error pasted bellow, my wild guess is there is an interpreter-to-vs2005-solutions link missing. That strikes out the samples coded in the managed languages.


    An actual error message follows:

    ***message***
    The following error has occurred during XML parsing:

    File: C:\...\DxApp\DxApp_2005.vcproj
    Line: 21
    Column: 20
    Error Message:
    Property sheet file 'UpgradeFromVC71.vsprops' was not found or failed to load.
    The file '
    C:\...\DxApp\DxApp_2005.vcproj' has failed to load.
    ***/message***


    And the lines 15/21 in the .vcproj XML file are:
    ***code***
      
          <Configuration
                Name="Debug|Win32"
                OutputDirectory="Debug"
                IntermediateDirectory="Debug"
                ConfigurationType="1"
                InheritedPropertySheets="UpgradeFromVC71.vsprops"
                CharacterSet="1">        
    //that would make this line the 21st
                                                      //and this whole code chunk the stuck fish bone
    ***/code***


    I hope this makes any sense at all. If there is any other information you require, do not hesitate asking.

    Regards,
    Brin





  • Help with compiler (VS2005 c++, D3D)