c++ - Visual Studio 2012 app could not load file or assembly -
the infamous not load file or assembly "filename.dll" or 1 of dependencies.
i error when client tries run mixed c/c++/c# app developed in vs2012. used process monitor see modules not being loaded , got weird results.
on developer computer, vs2012 installed, runs fine. client computer not have visual studio installed, have .net 4.0 , redistributable update.
for reason when program run on client computer, handful of c:\windows\microsoft.net\assembly\gac_msil\system(*.ini) files queried. since these files not exist, confident issue.
now, why when ran on developer computer these files not queried, when ran on client computer these files become necessary?
you can use fusion utility(assembly binding log viewer) determing problem run command prompt admin, fuslogvw.exe tool determine referenced assemblies calls in program , including broken references. helped me lot while trying resolve unmapped ioc registries.
you can learn more here http://msdn.microsoft.com/en-us/library/e74a18c4.aspx
Comments
Post a Comment