visual studio 2010 - C# App Developed with VS2010 fails on startup with .NET 3.0 -
read ton of material on 1 , still cannot find workable solution...
we have "hello, world1" app--one text block on mainwindow--built , tested vs2010 (c#). target version set .net 3.0. when "deployed" on .net 3.0 (sp2) system app fails on startup. fails in call initializecomponent() in mainwindow. error dump.
when same app put on system .net 3.5 works flawlessly.
note modules loaded during debugger (in vs2010) indicate dll being loaded .net 2.0. v2.50727.
can't figure out how identify what's causing load problem. thoughts, strategies, tools, suggestions?
(this holding deployment.)
ps. upgrading v3.5 in near future not , option--should be, it's not.
don't guess @ cause of error, let .net tell you. write event handler appdomain.currentdomain.unhandledexception , display or log value of e.exceptionobject.tostring().
you may need know innerexception in case since constructor failed. cast e.exceptionobject exception. if can't make sense of stack trace , exception message copy/paste question.
Comments
Post a Comment