Click here to Skip to main content
16,022,402 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please help. For three years my visual studio 2010 has been running well. This week when I try to run a project , it displays
‘’error while trying to run project: could not load file or assembly, ‘SchoolManager1’ or one of its dependencies .the module was expected to contain an assembly manifest.’’
I tried the following
- Changed the target framework form .net 4 to .net 4 client profile and vice versa
- Rebuild and clean solution
- Repaired vs 2010
- Scanned the computer but all in vain
Some Contents of the log file
'SchoolManager1.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SchoolManager1.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'SchoolManager1.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled
Posted
Updated 2-Feb-16 0:47am
v2
Comments
F-ES Sitecore 2-Feb-16 6:42am    
What is SchoolManager1? Is it something in your solution? A project? A dll provided by someone else?
[no name] 2-Feb-16 6:48am    
You could try recreating the project from scratch and adding the existing source files.
dihawa 2-Feb-16 10:43am    
Recreating wont solve the problem because the problem occurs even when i try to create a new project. Schoolmanager1 is the name of the solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900