![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.NET
逗♥南玻万
这个作者很懒,什么都没留下…
展开
-
winform嵌入外部exe
最近项目有个需求,需要加载其它程序exe到项目中,但又要看上去像一个整体项目,经过百度,Google之后,通过win32 api解决了这个需求,现将代码提取出来分享出来,让有这方面需求的小伙伴少走些弯路废话不多说,直接上代码 /// <summary> /// 嵌入外部exe /// </summary> public class EmbeddedExeTool { [DllImport("User32.dll", En原创 2021-01-26 14:27:28 · 2883 阅读 · 9 评论 -
【转载】.NET Framework项目引用.NET Standard类库时致出现:未能加载文件或程序集的异常
问题描述:创建.net framework 项目、.net standard 项目(我还在.net standard 项目中引用了 nuget 包)。在.net framework 项目种引用.net standard 项目后,执行调试,提示找不到引用的 nuget 包。解决方案:在 .net framework 项目的工程文件(csproj)中配置(添加到 <PropertyGroup> 节点中):<RestoreProjectStyle>PackageReferen转载 2020-12-22 10:54:47 · 762 阅读 · 0 评论