问题描述
我有,因为MahApps.Metro的很艰难的时期捆绑我所有的依赖在我的C#WPF项目到一个单一的exe文件,使用SmartAssembly 6(评估/试验)。
I'm having a really hard time bundling all of my dependencies in my C# WPF project into a single exe, using SmartAssembly 6 (evaluation/trial), because of MahApps.Metro.
在创建时只是一个MahApps.Metro完全空的项目,仍然不能够将其捆绑这个结论被吸引。
This conclusion was drawn when creating a completely empty project with nothing but MahApps.Metro, and still not being able to bundle it.
这与抛出内部异常的异常 System.IO.FileNotFoundException:未能加载文件或程序集System.Windows.Interactivity,版本= 4.5.0.0,文化=中性公钥= 31bf3856ad364e35或它的一个依赖。该系统找不到指定的文件。
It throws an exception with an inner exception System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
我花了一天半的时间试图解决这个问题,谷歌搜索错误,想尽建议我能找到,并张贴在官方MahApps.Metro聊天(
希望帮助
这篇关于如何捆绑MahApps.Metro成单一的EXE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!