构建后删除 PostSharp 引用?
是否可以让 postsharp 在构建过程中删除对 postsharp 程序集的引用?
我有一个 exe,我需要占用很小的空间。我想使用 postsharp 的一些编译时编织,但不想用 exe 部署 PostSharp.dll。
我正在使用 PostSharp 2(特别是 2.0.4.1074)
Is is possible to get postsharp to remove references to the postsharp assemblies during a build?
I have an exe i needs to have a very small footprint. I want to use some of the compile time weaving of postsharp but dont want to have to deploy PostSharp.dll with the exe.
I am using PostSharp 2 (2.0.4.1074 specifically)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,这是不可能的。引用是必要的,因为方面的基类位于公共 PostSharp 程序集中。
As far as I know, this is impossible. References are necessary, since base classes of your aspects are located in public PostSharp assembly.