You must Sign In to post a response.
  • Category: Windows 8

    Visual Studio Compilation error

    Hi All,

    I am facing a weird issue while compiling my project, I am the only person in team who is facing the issue and for rest of the team its working fine.
    Did anyone faced the same kind of issue and know the solution?

    File name will change randomly (CSCF046 but the extension will remain same .*tmp) and getting randomly in any solution in project.
    I tried some of the solution on net but none of them worked.

    CSCF046.tmp' is not a valid Win32 resource file
  • #769083

    Try out this method, Let us know if its not worked out.

    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.


  • #769084
    Hai Rahul
    Looks like this is not the error related to the Visual Studio. The error shows that 'CSCF046.tmp' is not a valid Win32 resource file', it means this is related to the Windows and not to the Visual Studio.
    So try deleting all the temporary file using %temp% command and then restart your machine. Again try the same command and restart.
    Hope the issue will get resolved.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • #769094

    As Pawan said it's not related to Visual Studio, it's related to your windows only, try below link if it's help then let us know.

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • #769101
    There are multiple solution your problem
    1. check if sufficient space is available in your windows drive (C:\)
    2. Other possibility is, error occurs when you specify a filename with the /win32res compiler option that is not a valid or correctly formatted Win32 resource file. In Visual Studio, the filename is specified in the Application pane of the Project Designer.
    3. It may be access permission issue, try grant access permission to 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files'

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • Sign In to post your comments