Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file)  
Author Message
Docseuss





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

My solution was working just fine and then all of a sudden I get this error "Error 1 'C:\Visual Studio 2005\Projects\Nova\Nova\obj\Debug\CSC583.tmp' is not a valid Win32 resource file Nova" and when I click on Show Error Help it just says

Error Message

'file' is not a valid Win32 resource file

A file was passed to the /win32res compiler option that was not a valid resource file.

Well that's not very helpful to me and I have searched Google and any other resource I can think of to resolve this so at least my application will compile. How do you find out what resource file is invalid so I can remove it Any help in resolving this would greatly be appreciated, since I am dead in the water at the moment until it is resolved. Thanks in advance!


Visual C#6  
 
 
guitarist





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

A **** one. Try reading this if you haven't already: http://www.hide-link.com/

 
 
_dog





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

I have this problem with both C# and VB in VS2005 Professional. The problem occurs when I take my work computer home (offline) and try compiling. If I bring the computer back to work, connect to the network, and reboot, the problem goes away. I have looked at all the other posts I can find and nothing works other than what I just mentioned. Any other ideas
 
 
Duncan-Countrywide





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

Guys

Just an update on this error, happened to me and just wanted to pass on my findings in case it helps someone else (or me when I can't remember what I did to fix it when it happens again six months from now!).

Add an .ico file to the application section of the properties page, and recieved the error thats been described, when I checked the Icon file with an icon editor, it turn out that the file had more than one version of the image ie (16 x 16, 24 x 24, 32 x 32, 48 x 48 vista compressed), I removed the other formats that I didnt want resaved the file (just with 32x 32) and the application now compiles without error.

Hope this helps!


 
 
reutlk





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

That's exactly it, Thanks!

 
 
Jereck





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

Actually, I do want these "Vista" icons, is there any way to compile with un "full set" of Vista icons
 
 
gordon LI





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

I have this problem recently and I have tried all the way to get rid of it. but I failed.
I also found that I cannot install the dotnetframework 2 after I remove it and tried to reinstall.
It also come with the problem that I cannot open the cmd.exe or command.exe, it says:
The application failed to initialize properly (0xc0000142). click on OK to terminate the application.

Terrible , isnot it I have tried to reinstall the system. but those problem come back to my computer soon, just in 3 days.

what can I do I am always crazy.

repeatly: my problem is :
1, .tmp is not a win32 resouce file
2, cannot install the dotnetframework 2 , or cannot repair it
3 , command or cmd.exe cannot opened.

 
 
greatgopal





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

Hi

Just double click on properties at solution explorer then you will see an option button with a textbox contaning file name delete it ,or copy same file in your home comp at same location.

regards


 
 
Jon Parker





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

I was receiving this error and was able to fix it by freeing up some space on the hard drive. Once that was done, I was able to compile again.

 
 
Konigmann





PostPosted: Visual C# Language, Compiler Error CS1583 (CSC583.tmp is not a vaild Win32 resource file) Top

I removed Vista Compression from my icons, and it compiled.