Tuesday, 19 August 2014

Error : Unable to open module file

 

 

Description

When we try opening an existing solution, every project inside this solution has the following error: Unable to open module file 'C:\Users\USER123\AppData\Local\Temp\2\.NETFramework,Version=v4.0.AssemblyAttributes.vb': System Error &H80070002& C:\Users\USER123\AppData\Local\Temp\2\.NETFramework,Version=v4.0.AssemblyAttributes.vb

 

 

This issue is still happening with VS2012 as well.
Steps to reproduce:

1. Create a project/application using .NetFramework 4.5
2. Close VS2012
3. Navigate to Temp Folder (C:\Users\xxxxx\AppData\Local\Temp)
4. Delete the .NETFramework,Version=v4.5.AssemblyAttributes.vb file
5. Restart VS2012 and Start debug.

 

 

URL : https://connect.microsoft.com/VisualStudio/feedback/details/515041/unable-to-open-module-file-when-an-existing-solution-is-loaded