deployment - XamlParseException after deploying WPF project -



deployment - XamlParseException after deploying WPF project -

i have been trying deploy wpf app, created setup project using setup wizard.the project output added primary. after building , installing program, click exe on desktop pop says "'my program' has stopped working", click debug programme , see

an unhandled exception of type 'system.windows.markup.xamlparseexception' occurred in presentationframework.dll

additional information: 'set connectionid threw exception.' line number '10' , line position '9'.

this exception not point me in direction fix. there no 'connectionid' anywhere in app.

i had ran xamlparseexception because of notifyicon scheme tray, fixed adding icon path of exe. thought may problem added icon setup project, along other project outputs. still not working.

i know vague error help @ appreciated, app won't run @ all. thanks!

this caused not having dependencies copied output. error message not helpful, check application has necessary dependencies available resolve parsed types.

normally plenty set re-create local true referenced assemblies, i've experienced cases references reference assemblies, can necessary explicitly add together references well.

update:

important add-on @benn1th.

if want see assembly necessary:

was getting same type of issue 1 time had published , installed project (was working fine in debug vs2013 desktop, no errors etc) used advice in http://geekswithblogs.net/lbugnion/archive/2007/03/14/108728.aspx , wham! installed project working..

try { initializecomponent(); } grab ( exception ex ) { // log error (including innerexceptions!) // handle exception }

wpf deployment xamlparseexception

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -