I have upgraded a C# WinForms application from Visual C# 2008 (framework 3.5) to 2010 (framework 4.0) and I\'m getting runtime errors.
The application loads assembli
SOLUTION FOUND
I found out that the problem was related to how the dotnet framework tried to find localized resources and after I added the following line to AssemblyInfo.cs in my assemblies it started working again.
[assembly: NeutralResourcesLanguageAttribute("sv-SE", UltimateResourceFallbackLocation.MainAssembly)]
You could try enabling logging in the the Fusion loader. I have had great success creating the DWORD
value EnableLog
in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
to 1
. You will then get detailed loading error messages in the event log.