c# - Common Language Runtime Detected an Invalid Program with ClickOnce -
i have invalidprogram exception message
common language runtime detected invalid program
this happen in application didn't change in last 3 month. change have change our build server (reinstall it). server running windows 8 , has windows sdk 7.1 on it. package application clickonce.
this exception happen in specific method call, after methods of same class assembly called, think rules out assembly loading issues.
i can't find lead start debug issue. think related version of tools use on build server such msbuild, csc, mage.exe , such.
i found people error might happen when have long method names, not seem apply here because don't have long methods names , don't generate code myself.
the application use .net 4.0
update 1 sure problem compile tools (the version think) or clickonce packaging tools because when compile , run application on machine work, when install packaged application on machine show exception above.
add argument compiler: /nowin32manifest
Comments
Post a Comment