.NET合并类库引用类库、NET

2023-09-05 04:37:39 作者:伊人落泪心憔悴ゝ

我有一个类库,它包含WPF用户控件。该库有一定的相关性,但我想将它部署为一个程序集。据我所知IlMerge有一些问题与WPF。我想Costura,但它仅适用于应用程序,而不是为类库(因为我已经找到了这里)。有什么办法来实现我的目标?

I have a class library which contains WPF user control. This library has some dependencies but I want to deploy it as one assembly. As I know IlMerge has some problems with WPF. I tried Costura but it works only for applications, not for class libraries (as I have found out here). Is there any way to achieve my goal?

推荐答案

随着贡献者Costura之一,我现在可以证实,它适用于库以及应用程序。

As one of the contributors to Costura I can now confirm that it works for libraries as well as applications.

事实上,所有的单元测试Costura都在一个库中,所以它肯定工程。

In fact all the unit tests for Costura are on a library, so it definitely works.

 
精彩推荐
图片推荐