![]() |
Windows Forms Projects for VS2012
C++/CLI(Common Language Infrastructure) Windows Forms Projects for VS2012
--------------------------------------------------------------------------------------- 使用VC++2012 Windows Forms 需使用到CLI託管擴充功能,所以必須在VS2012中有 Windows Forms Application or Windows Forms Control Library 等公用程式,但 Visual Studio Express 2012,Ultimate等版無此公用程式,所以需手動安裝. 1. 安裝(INSTALLATION) VS2012CPPWinForms公用程式 下載公用程式網址 1. https://mega.co.nz/#!SVBWzDzZ!8WykDv...s-BAawoLFz-YSQ 或 2. http://www.t-hart.org/vs2012/VS2012CPPWinForms.zip 複製檔案到如下資料夾: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcprojects\vcNET\ (...或者你安裝 Visual Studio 2012 相對應的資料夾). 這個動作會覆蓋 "vcNET.vsdir" 檔案, 所以若要反安裝請備存此檔案,還原即可. 2. 使用方法(USAGE) - 開啟 Visual Studio 2012 http://i.imgur.com/Z6wXtl8.png - 點擊 檔案(FILE) -> 新增(New) -> 專案(Project...) (或按 Ctrl+Shift+N) http://i.imgur.com/egHn9EF.png - 到新增專案 模板 -> Visual C++ -> CLR - 選擇 "Windows Forms Application" 或 "Windows Forms Control Library". http://i.imgur.com/1duYPMt.png - 執行 http://i.imgur.com/dkZgX4t.png http://i.imgur.com/vcCKzcR.png - 收工完成 PROFIT! 3. 備註(REMARKS) 在Visual Studio Express 2012版本將無法運作, 因為微軟已將此版新增專案模板移除, 若要在此版運行,你必須要有完整的Visual Studio 2012 版本 , 從C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCWizards\AppWiz\.NET , 資料夾複製 "WinForm" 和 "ControlLibrary" 兩目錄 至 Visual Studio Express. 相對應的資料夾. 補充下載兩目錄檔案如下: WinForm 網址: https://mega.co.nz/#!eQYVmBoJ!iupAqa...aFH7_beyL1fNJE ControlLibrary 網址: https://mega.co.nz/#!eAoXUT6I!E9FZby...t7QEhK0zc_TBhY |
所有時間均為台北時間。現在的時間是 01:54 AM。 |
Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2025, Jelsoft Enterprises Ltd.
『服務條款』
* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *