开发者

How can I run a vb.net file using other tools not just running on visual studio?

I create a window a开发者_StackOverflow中文版pplication using visual studio vb.net which including some textboxes and a button. But my boss wants me to create an executable file which can be run using other tools not just visual studio.

How can I do that?

Thanks in advance!


You already did it.

Look in your "My Documents" folder for the "Visual Studio 20xx" folder, and then "Projects", "<Your Project Name>", "<Your Project Name again>", "bin", and finally "Debug". You'll have an .exe file there that will run without visual studio (it does still require .Net, though).

More than that, you should open visual studio and look under Project for Configuration Options. Here you should be able to set it to build for Release, rather than Debug.


If you are creating a windows executable project (Windows Forms, WPF, ETC) with Visual Studio every time you build the project an exe file is created that you could distribute to any machine running the .NET runtime.

You have this question tagged as ASP.NET, which is a server side setup. If this is what you are doing currently, you will want to create a new project as a Windows Application and build it that way.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜