Prism/WPF/C#: ModuleInitializeException When Trying to Run Published ClickOnce Application on other Machines. What Causes this issue? -


i working on application using wpf/prism/c#. publishing application via clickonce using visual studios 2015. application runs fine on development machine doesn't open after installation on other machine.

from dev machine:

  • win 7 64-bit

i can open application fine in visual studios. likewise published clickonce version installs , runs fine.

from other machines:

  • win 8 64-bit

installs seems succeed thereafter crash on startup , closes immediately. when happens see following message in windows event viewer:

application: fileplayer.exe framework version: v4.0.30319 description: process terminated due unhandled exception. exception info: prism.modularity.moduleinitializeexception stack:    @ prism.modularity.moduleinitializer.handlemoduleinitializationerror(prism.modularity.moduleinfo, system.string, system.exception)    @ prism.modularity.moduleinitializer.initialize(prism.modularity.moduleinfo)    @ prism.modularity.modulemanager.loadmodulesthatarereadyforload()    @ prism.modularity.modulemanager.loadmoduletypes(system.collections.generic.ienumerable`1<prism.modularity.moduleinfo>)    @ prism.modularity.modulemanager.loadmoduleswhenavailable()    @ prism.modularity.modulemanager.run()    @ prism.unity.unitybootstrapper.initializemodules()    @ prism.unity.unitybootstrapper.run(boolean)    @ prism.bootstrapper.run()    @ fileplayer.app.onstartup(system.windows.startupeventargs)    @ system.windows.application.<.ctor>b__1(system.object)    @ system.windows.threading.exceptionwrapper.internalrealcall(system.delegate, system.object, int32)    @ ms.internal.threading.exceptionfilterhelper.trycatchwhen(system.object, system.delegate, system.object, int32, system.delegate)    @ system.windows.threading.dispatcheroperation.invokeimpl()    @ system.windows.threading.dispatcheroperation.invokeinsecuritycontext(system.object)    @ system.threading.executioncontext.runinternal(system.threading.executioncontext, system.threading.contextcallback, system.object, boolean)    @ system.threading.executioncontext.run(system.threading.executioncontext, system.threading.contextcallback, system.object, boolean)    @ system.threading.executioncontext.run(system.threading.executioncontext, system.threading.contextcallback, system.object)    @ system.windows.threading.dispatcheroperation.invoke()    @ system.windows.threading.dispatcher.processqueue()    @ system.windows.threading.dispatcher.wndprochook(intptr, int32, intptr, intptr, boolean byref)    @ ms.win32.hwndwrapper.wndproc(intptr, int32, intptr, intptr, boolean byref)    @ ms.win32.hwndsubclass.dispatchercallbackoperation(system.object)    @ system.windows.threading.exceptionwrapper.internalrealcall(system.delegate, system.object, int32)    @ ms.internal.threading.exceptionfilterhelper.trycatchwhen(system.object, system.delegate, system.object, int32, system.delegate)    @ system.windows.threading.dispatcher.legacyinvokeimpl(system.windows.threading.dispatcherpriority, system.timespan, system.delegate, system.object, int32)    @ ms.win32.hwndsubclass.subclasswndproc(intptr, int32, intptr, intptr)    @ ms.win32.unsafenativemethods.dispatchmessage(system.windows.interop.msg byref)    @ system.windows.threading.dispatcher.pushframeimpl(system.windows.threading.dispatcherframe)    @ system.windows.threading.dispatcher.pushframe(system.windows.threading.dispatcherframe)    @ system.windows.application.rundispatcher(system.object)    @ system.windows.application.runinternal(system.windows.window)    @ system.windows.application.run(system.windows.window)    @ system.windows.application.run()    @ fileplayer.app.main()  log name: application source: .net runtime task category: none level: error event id: 1026 

can provide guidance on might cause of issue? also, how can attempt determine cause/solve issue?

as don't know what's cause provide project's github: https://github.com/yousefm87/fileplayer/ if can narrow scope, can provide relevant code within project.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -