简体   繁体   中英

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

I create a window application 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM