locked
RC : fatal error RC1106: invalid option: -ologo Somebody Help me Please RRS feed

  • Question

  • I installed visual studio 2010 but

    i create Win32 aplication and try to debug ...

    and i see the "RC : fatal error RC1106"

    And my quistion is How can I swtich my SDK to 7.0A verion ? anyone knows about drill?

    Please Help me...

    Monday, October 25, 2010 6:08 AM

All replies

  • YOu can take a look of this post: http://social.msdn.microsoft.com/Forums/en-US/vcprerelease/thread/df83f1ab-da0c-487d-88f4-0427a641949d

    YOu can use VC++ Directories to change the setting for include directories so that you use 7.0a version of WinSDK instead of older version of WinSDK. You can take a look this blog for some changes in VS2010 http://blogs.msdn.com/b/vcblog/archive/2010/03/02/visual-studio-2010-c-project-upgrade-guide.aspx. Here is the relevant information:

       VC++ Directories change

    VC++ Directories are no longer supported in VS2010 through Tools->Options page. Instead, VS2010 introduces the user settings file (Microsoft.cpp.<Platform>.users.props) to control global settings including Global search path. These files are located at $(USERPROFILE)\appdata\local\microsoft\msbuild\v4.0 directory. Upon migration to VS2010, the custom settings of VC++ Directories from VS2005 or VS2008 are migrated to these user files. These global settings files are imported into all the converted and newly created projects.

     Here are the steps to change the settings file through UI:

    ·         Open up property manager by clicking on View.Property Manager.

    ·         Expand the project node and then the Configuration|Platform nodes, you will see "Microsoft.cpp.<Platform>.users" file for each Configuration|Platform. These are the files for the global settings, similar to the old tools/Options/VC++ Directories.

    ·         Multi-Select "Microsoft.cpp.<Platform>.users", right click and bring up the property page window

    ·         In the property page window, click on "VC++ Directories" (for example) in the left pane, add new paths for the directories such as "Include Directories". separated by semicolons

    ·         Make sure to save the settings before shutting down Visual Studio.

    ·         Re-launch Visual Studio and the new settings will be in effect.

    -Note: If you would like to only change the settings for one project, you can right click on the project and bring up the property page. Change the settings for “VC++ Directories”, these settings will be persisted to the project file.

    Li Shao, MSFT


    Li Shao
    Tuesday, October 26, 2010 4:11 AM
  • I have the same problem. Very funny. Brand new VS2010 and a single file program is already stopped by such bug. Congratulations. Is VS team actually testing things?
    Thursday, December 16, 2010 10:50 AM
  • Do you have old SDK installed on the machine along with Visual Studio?

    Li Shao, MSFT


    Li Shao
    Friday, December 24, 2010 12:30 AM