The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

.NET/VB.NET: solving the error “The system cannot find the file specified.” “\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb”

Posted by jpluimers on 2013/08/22

Bumped into this error a while ago in Visual Studio 2010:

Kind Error
Number 80
Description Unable to open module file ‘C:\Users\username\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb’: The system cannot find the file specified.
File C:\Users\username\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb
Line 1
Column 1
Project VbPowerPack

(I replaced the column separators by line separators to make it more readable)

The code was using the VBPowerPack download I wrote about before, but that appeared to be irrelevant.

This is how I solved it:

  1. Build -> Clean Solution
  2. Build -> Rebuild Solution
  3. File -> Close Solution
  4. View -> Start Page
  5. Open most recent solution from the Start Page

I’m not the only one that has this problem every now and then.

Thanks to these posts that helped me out with the above solution:

–jeroen

via: “The system cannot find the file specified.” “\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb”

4 Responses to “.NET/VB.NET: solving the error “The system cannot find the file specified.” “\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.vb””

  1. caerwyn's avatar

    caerwyn said

    Nice one… I’d tried clean and rebuild, but open from start page was beyond my guesses.
    thank you.

  2. BillOertell's avatar

    BillOertell said

    This worked for me, too, but it begs the question, “Why is Visual Studio using a Temp directory to store stuff in, and can you change it?”

  3. Nibedita's avatar

    Nibedita said

    Thanks …its worked for me.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.