![]() |
1
2
Yes - just add it as if it were a class library. Visual Studio has supported this since 2005. 编辑:好吧,听起来好像ASP.NET可能不喜欢.exe程序集: 在这种情况下,我建议您从当前的可执行文件中提取代码并将其放入类库中。你可能会发现更容易改变 整体 of your normal application into a DLL - and just add another executable project which does nothing but call into the DLL to start the "application". That shouldn't be the end-point of your code, but it's an easy way to get up and running. |
![]() |
2
2
You definitely can add and use a reference to an exe in exactly the same way that you would a dll (.net 4 at least). 我认为丢失的程序集消息可能是一个红鲱鱼,如果您成功地添加了一个引用,并在尝试使用它时获得了这个消息,我总是发现这是由于针对不同版本的框架(通常是默认的客户机配置文件版本)。 |
![]() |
3
1
Final compiled output in .Net is called Assemblies and EXEs are no different in this case. It's just that they carry a special header that identify them as executables with program entry points and normal compiled dll assemblies don't have this, but both are assemblies and you can add assemblies as reference in any .net project you're working on. |
![]() |
4
0
对。
只要去
|
![]() |
Emopusta · 从后端到前端的图像路径不工作 2 年前 |
![]() |
Asdrubal Hernandez · Linq查询特定数组索引出错 2 年前 |
![]() |
Niyazi Babayev · 如何在表达式中动态应用表达式? 2 年前 |
|
Dansih · .Net核心自定义身份验证方案 2 年前 |
![]() |
lolorekkk · 面板插入。NET WinForm 2 年前 |