I have a weird .RC corruption problem with MSVC .NET 2003.
I have a .RC file that has been in use for years with .NET inside a project called Netcount. Recently I upgraded to .NET 2003 and migrated the project.
Now, everytime I access the resources to change a dialog or so, then, when I compile, the compiler halts with errors:
Generating Code...
Compiling resources...
..\Netcount.rc(1698) : error RC2135 : file not found: LANGUAGE
..\Netcount.rc(1707) : error RC2135 : file not found: 1252
After inspecting the .RC file, I found out that the keyword "RCDATA" is removed from the RC file which originally had this
...
1 RT_MANIFEST "res\\Netcount.exe.manifest"
6969 RCDATA "res\\ip2cntry.dat"
...
and because of this keyword being removed the RC compiler will fail a few lines below and give the errors as above.
I correct it, and then the compiler works fine...until later, when I need again to change some resources, it corrupts the RC file again...
Any hints on how to tell .NET 2003 NOT to corrupt my .RC file ?
--------------------------------
From: Pedro Lucas
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>Mr1ycZweBEeMaaYCmjrSzQ==</Id>