c# 将托管dll编译到exe示例

时间:2019-07-30 19:21:57
【文件属性】:
文件名称:c# 将托管dll编译到exe示例
文件大小:48KB
文件格式:RAR
更新时间:2019-07-30 19:21:57
exe 有时候一些引用的动态库不想直接给对方看到,或者防止对方缺失动态库,可以将这些引用的dll直接生成到exe中,达到编译后将在Debug中将exe拷贝到其他地方单独执行的目的。
【文件预览】:
TestNoDll
----bin()
--------Release()
--------Debug()
----AddResource.cs(1KB)
----Program.cs(445B)
----obj()
--------x86()
----Resources()
--------serialport.dll(8KB)
----TestNoDll.csproj(5KB)
----TestNoDll.csproj.user(523B)
----Properties()
--------Resources.resx(6KB)
--------AssemblyInfo.cs(1KB)
--------Resources.Designer.cs(3KB)

网友评论