My goal is to use any packer for C # applications and libraries (preferring WPF) through the command line or the full assembly in Visual Studio.
I came to .NetZ ( http://madebits.com/netz/ ), which is pretty neat and worked very well until I tested it with a WPF application: / p>
PackageExample.Program -> C:\Users\[username]\Documents\Visual Studio 2012\Projects\PackageExample\PackageExample.Program\bin\Debug\PackageExample.Program.exe COMMAND: packcompress\netz-bin-40\netz.exe -o PackageExample.Program\bin\Debug\Packed -pl anycpu -s -z PackageExample.Program\bin\Debug\PackageExample.Program.exe "PackageExample.Program\bin\Debug\*.dll" -d:@ -v __________________________________________ | | | .NETZ - .NET Executables Compressor | | Copyright (C) 2004-2013 Vasian Cepa | | [v0.4.8] http://madebits.com | |__________________________________________| PE subsystem : GUI .NET Runtime : 4.0.30319.18052 Output directory: C:\Users\[username]\Documents\Visual Studio 2012\Projects\PackageExample\PackageExample.Program\bin\Debug\Packed RID: zip.dll Added : C:\Users\[username]\Documents\Visual Studio 2012\Projects\PackageExample\packcompress\netz-bin-40\zip.dll [65536 byte(s) ~ 64KB] Processing : 3 file(s) 1| C:\Users\[username]\Documents\Visual Studio 2012\Projects\PackageExample\PackageExample.Program\bin\Debug\PackageExample.Program.exe [255488 byte(s) ~ 249KB] -> [130850 byte(s) ~ 127KB] - 49% RID: A6C24BF5-3690-4982-887E-11E1B159B249 2| C:\Users\[username]\Documents\Visual Studio 2012\Projects\PackageExample\PackageExample.Program\bin\Debug\PackageExample.Lib1.dll [4096 byte(s) ~ 4KB] -> [1577 byte(s) ~ 1KB] - 62% RID: PackageExample.Lib1!2!1Version=1.0.0.0!2!1!4=neutral!2!1PublicKeyToken=null 3| C:\Users\[username]\Documents\Visual Studio 2012\Projects\PackageExample\PackageExample.Program\bin\Debug\PackageExample.Lib2.dll [4608 byte(s) ~ 4KB] -> [1617 byte(s) ~ 1KB] - 65% RID: PackageExample.Lib2!2!1Version=1.0.0.0!2!1!4=neutral!2!1PublicKeyToken=null Done [00:00:00.300]
The packaged application throws this: http://i.imagebanana.com/img/251ygj82/Unbenannt.PNG (Cannot find the mainwindow.xaml ressource file.)
The problem seems to be that xaml.NetZ is embarrassing, but I found some people who have earned it on the Internet, but I am not getting any problems.
Can you help me in this case?
Additional Information: It might be interesting to mention that I even tried this with .NET 2.0.NetZ based on the .NET 3.5 WPF application.
c # wpf xaml
modiX Sep 26 '13 at 13:34 on 2013-09-26 13:34
source share