VS2010: "fatal error RC1106: invalid option: -ologo"

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Ive just installed VS2010 and encountered the error:
<span style="font-family:Consolas; font-size:xx-small <span style="font-family:Consolas; font-size:xx-small
RC : fatal error RC1106: invalid option: -ologo

building my first application. The app was created as a <span style="text-decoration:underline
new Win32 console application with MFC support.
My system is Windows 7 Professional. It already had VS2005 and the Windows SDK v6.1. (More technically, "Windows Software Development Kit (SDK) for Windows Server 2008 and .NET Framework 3.5".)
Ive already tried the suggestion to set the Resource Compiler option "Suppress Startup Banner" to "No"; that didnt eliminate the problem. Also, my Projects VC++ Directories have been set to:
Executable Directories: $(VSInstallDir)SDKv2.0bin;$(ExecutablePath)<br/>
Include Directories: $(IncludePath)<br/>
Reference Directories: $(ProgramFiles)Reference AssembliesMicrosoftFrameworkv3.0;$(ProgramFiles)Reference AssembliesMicrosoftFramework;$(ProgramFiles)Reference AssembliesMicrosoftmmc;$(ProgramFiles)Reference AssembliesMicrosoftTablet
PC;$(ProgramFiles)Reference AssembliesMicrosoftUDDI;$(ProgramFiles)Reference AssembliesMicrosoftWindowsPowerShell;$(ReferencePath)<br/>
Library Directories: $(LibraryPath)<br/>
Source Directories: $(SourcePath)<br/>
Exclude Directories: $(ProgramFiles)Reference AssembliesMicrosoftFrameworkv3.0;$(ProgramFiles)Reference AssembliesMicrosoftFramework;$(ProgramFiles)Reference AssembliesMicrosoftmmc;$(ProgramFiles)Reference AssembliesMicrosoftTablet
PC;$(ProgramFiles)Reference AssembliesMicrosoftUDDI;$(ProgramFiles)Reference AssembliesMicrosoftWindowsPowerShell;$(ExcludePath)
Those Project Properties did not eliminate the error. However, a posting by Li Shao in the message thread
http://connect.microsoft.com/VisualStudio/feedback/details/499476/c-project-resource-compiler-fails-with-rc-fatal-error-rc1106-invalid-option-ologo
http://connect.microsoft.com/VisualStudio/feedback/details/499476/c-project-resource-compiler-fails-with-rc-fatal-error-rc1106-invalid-option-ologo did correct the error, which puzzles me. I would assume that the settings in user.props are global settings
that are overridden by the Project Properties. Instead, the Project Properties directory settings seem to be overridden by the user.props settings?

View the full article
 
Back
Top