有什么方法可以将类库函数转换成exe? [英] Any way to convert class library function into exe?

查看:30
本文介绍了有什么方法可以将类库函数转换成exe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以将我的类库程序更改为.exe单击一次-应用程序?它目前是一个dll.

Is there any way to change my class library program into an .exe or a click once-application? It is Currently a dll.

我可以创建一个点击一次的应用程序,但安装后它不起作用.

I am able to create a click once app but it is not working after installation.

推荐答案

在项目的属性 -> 应用程序标签中,将输出类型更改为控制台应用程序.无论如何,您需要创建一个 static Main() 方法作为起点.

In the properties of the project -> application tag, change the Output type to console Application. Anyway, you need to create a static Main() method as a starting point.

    static void Main(string[] args)
    {
    }

这篇关于有什么方法可以将类库函数转换成exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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