Error Generating Win32 Resource Error Reading
Contents |
Visual Studio Setup and Installation Question 0 Sign in to vote Please can anybody help with this error, our domain server has recently gone down and now we a running on a backup DNS, everything seems OK with error generating win32 resource error reading icon the data is invalid the network now; but now I am receiving the following error messages and my projects are refusing
Error Generating Win32 Resource Access Is Denied
to compile. I've spent a couple of hours on trying to solve this problem by Repairing/Re-installing VS2005, and i can't find any help from cs1567 a google search. Error 1 Error creating Win32 resources: Error reading icon '\\wxmdc\dfs\Application Data\ben\Microsoft\VisualStudio\8.0\VSProjectApplication.ico' -- The network path was not found. Many thanks in advance for any help I recieve Ben Friday, March 02, 2007 4:50 PM Reply | Quote All replies 1 Sign in to vote We recently moved our home folders to a different server, and started getting this error. The problem is that the path to this resource is persisted in the .suo (Solution User Options) file as a full UNC path, instead of a relative path from the home folder. (Why this resource was landed in the home folder to start with, I have no idea.) To get rid of the message, close the solution and delete the .suo file. Visual Studio will recreate it the next time you save the solution or exit Visual Studio. Edited by Jon Seigel Thursday, November 17, 2011 9:45 PM Proposed as answer by Kashan Khan Monday, February 20, 2012 11:43 PM Thursday, November 17, 2011 9:44 PM Reply | Quote 1 Sign in to vote The method which Job Seigel mention didn't work for me. What I did it Right Click the project and Unload it. Once it is unloaded again right click the project file to edit. it will open up vbproj or csproj file which is actually xml. Search for ApplicationIcon tag and remove whatever is inside or search for the missing file name and delete it. That's it ... it worked for me.Agha Usman Ahmed http://www.aghausman.net Proposed as answer by Agha Usman Ahmed Saturday, January 28, 2012 5:06 PM Wednesday, January 18, 2012 10:01 AM Reply | Quote 1 Sign in to vote We recently moved our home folders to a different server, and started getting this error. The problem is that the path to this resource is persisted in the .suo (Solution User Options) file as a full UNC path, instead of a relative path from the home folder. (Why this resource was landed in the home folder to start with, I have no idea.)
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Visual Basic Reference Visual Basic Language Reference Error Messages Error Messages Error creating Win32 resources:
here for a quick overview of the site Help Center Detailed answers to http://stackoverflow.com/questions/6973/invalid-resource-file any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow error generating Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Invalid Resource File up vote 8 down vote favorite 2 When attempting to compile my C# project, I get the following error: 'C:\Documents and Settings\Dan\Desktop\Rowdy Pixel\Apps\CleanerMenu\CleanerMenu\obj\Debug\CSC97.tmp' error generating win32 is not a valid Win32 resource file. Having gone through many Google searches, I have determined that this is usually caused by a 256x256 image inside an icon used by the project. I've gone through all the icons and removed the 256x256 versions, but the error persists. Any ideas on how to get rid of this? @Mike: It showed up mysteriously one night. I've searched the csproj file, but there's no mention of a CSC97.tmp (I also checked the solution file, but I had no luck there either). In case it helps, I've posted the contents of the csproj file on pastebin. @Derek: No problem. Here's the compiler output. ------ Build started: Project: Infralution.Licensing, Configuration: Debug Any CPU ------ Infralution.Licensing -> C:\Documents and Settings\Dan\Desktop\Rowdy Pixel\Apps\CleanerMenu\Infralution.Licensing\bin\Debug\Infralution.Licensing.dll ------ Build started: Project: CleanerMenu, Configuration: Debug Any CPU ------ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /main:CleanerMenu.Program /reference:"C:\Documents and Settings\Dan\Desktop\Rowdy Pixel\Apps\CleanerMenu\Infralution.Licensing\bin\Debug\Infralution.Licensing.dll" /reference:..\NotificationBar.dll /reference:..\PSTaskDialog.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727