A.O.A I have a web application in Asp.net MVC which has 2 my own created Assemblies and 2 other classes. The problem is that I want to create just 2 dlls each for my assembly but it creates for my project and other 2.
A.O.A我在Asp.net MVC中有一个Web应用程序,它有2个我自己创建的程序集和2个其他类。问题是我想为我的程序集创建每个2个dll,但它为我的项目和其他2创建。
When I publish it, it creates EduSoft.Data.dll EduSoft.Helpers.dll MvcUi.dll NPoco.dll Newtonsoft.Json.dll
当我发布它时,它会创建EduSoft.Data.dll EduSoft.Helpers.dll MvcUi.dll NPoco.dll Newtonsoft.Json.dll
and I want all this in two only EduSoft.Data.dll EduSoft.Helpers.dll
我希望所有这一切只有两个EduSoft.Data.dll EduSoft.Helpers.dll
2 个解决方案
#1
1
After googling I found the Answer .I solved it as After publishing my web app(ASP.net MVC) I merged all my Dll's file into single dll By using ILMerge(By MS) and this blog showed me the write command syntax.ILMerg Command
谷歌搜索后我找到了答案。我解决了它后发布我的网络应用程序(ASP.net MVC)我把我所有的Dll的文件合并到单个dll通过使用ILMerge(通过MS),这个博客向我展示了写命令语法.ILMerg命令
#2
0
This is what .net framework is all about!!
这就是.net框架的全部内容!
3rd party DLLS/Projects are treated as different from current project, and this is absolutely perfect. Please don't try to think out of box in this case.
第三方DLLS /项目被视为与当前项目不同,这绝对是完美的。在这种情况下,请不要试图开箱即用。
If you want single DLL, decompile all code from 3rd party tool, put it in your project (it's a security breach though)
如果你想要单个DLL,从第三方工具反编译所有代码,把它放在你的项目中(虽然这是一个安全漏洞)
#1
1
After googling I found the Answer .I solved it as After publishing my web app(ASP.net MVC) I merged all my Dll's file into single dll By using ILMerge(By MS) and this blog showed me the write command syntax.ILMerg Command
谷歌搜索后我找到了答案。我解决了它后发布我的网络应用程序(ASP.net MVC)我把我所有的Dll的文件合并到单个dll通过使用ILMerge(通过MS),这个博客向我展示了写命令语法.ILMerg命令
#2
0
This is what .net framework is all about!!
这就是.net框架的全部内容!
3rd party DLLS/Projects are treated as different from current project, and this is absolutely perfect. Please don't try to think out of box in this case.
第三方DLLS /项目被视为与当前项目不同,这绝对是完美的。在这种情况下,请不要试图开箱即用。
If you want single DLL, decompile all code from 3rd party tool, put it in your project (it's a security breach though)
如果你想要单个DLL,从第三方工具反编译所有代码,把它放在你的项目中(虽然这是一个安全漏洞)