[Visual Studio] Windows Form應用程式開發維護基礎 (Visual C#)

簡介

Visual Studio Visual C# - Windows Form (VS2015)


基礎項目

使用App.manifest讓程式可以administrator權限運行

版號

Solution Explorer -> Each Project's Properties > AssemblyInfo.cs

Message Box

宣告using System.Windows.Forms;

MessageBox.Show("message", "caption");
MessageBox.Show("message", "caption", MessageBoxButtons.YesNo);

佈署封裝 Microsoft Visual Studio Installer Projects

多國語言

Application Exit

Application.Exit();

FAQ

VS2015: Microsoft.vshup.server.httphostx64.exe 問題

直接刪了或重命名C:\Program Files (x86)\Common Files\Microsoft Share\VSHub吧!

C# - How can I fix Visual Studio 2015 exception Microsoft.vshup.server.httphostx64.exe has stopped working when run project - Stack Overflow

Error while trying to run project: Unable to start program

指定平台試試:

Each Project's Properties > Build > Platform target

C# - Error while trying to run project: Unable to start program". Can run program only once. Then VS needs restart - Stack Overflow

Leave a Reply

Your email address will not be published. Required fields are marked *