嵌入并引用一个EXE文件在C# [英] Embed and reference an EXE in c#

查看:784
本文介绍了嵌入并引用一个EXE文件在C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我期待创建和调用在C#程序编译.NET的exe文件的引用,并同时输出单个.exe从我的C#产卵了。

I am looking to create and call a reference to a compiled .net exe file in a c# program and spawn it from my C# while outputting a single .exe.

这可能还是我浪费我的时间?

Is this possible or am I wasting my time?

推荐答案

我不知道这是否是你所需要的,但你可以参考任何DOTNET exe文件,就像你引用的DLL。如果在引用的exe设置目标平台(86,64)必须相同。

I'm not sure if it is what you need, but you can reference any dotnet exe just as you would reference a dll. The target platform (x86, x64) must be the same if set in the referenced exe.

这篇关于嵌入并引用一个EXE文件在C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆