.NET Framework 工具
圖形用戶端、資訊清單產生和編輯工具 (MageUI.exe)
MageUI.exe 所支援的功能與命令列工具 Mage.exe 相同,不過 MageUI.exe 具有 Windows Form 架構的使用者介面 (UI)。您可以利用這個工具來建立、編輯和簽章部署與應用程式資訊清單。
可用的功能表和工具列項目如下。
部署資訊清單
建立新的部署資訊清單。
應用程式資訊清單
建立新的應用程式資訊清單。
開啟
開啟現有的部署資訊清單、應用程式資訊清單或信任授權以進行編輯。
儲存
將目前使用者輸入焦點所在的文件儲存至磁碟中。
另存新檔
將檔案儲存至磁碟,可讓您提供新的檔案名稱和 (或) 位置。
全部儲存
將 MageUI.exe 中目前開啟的所有檔案所進行的變更儲存起來。
關閉
關閉開啟的檔案。
如果檔案在關閉之前做過修改,MageUI.exe 會提示您使用公開金鑰 (Public Key)、金鑰組 (Key Pair) 或預存的憑證,重新替這個檔案簽章。
結束
結束 MageUI.exe。
剪下
從應用程式中移除目前選取的文字,然後移至系統剪貼簿。
複製
將目前選取的文字複製至系統剪貼簿。
貼上
將文字從系統剪貼簿貼到目前現用的文字項目上。
刪除
刪除清單中目前選取的項目,例如 [部署資訊清單] 索引標籤上的信任授權。如需詳細資訊,請參閱 MageUI.exe 部署資訊清單索引標籤。
喜好設定
開啟 [喜好設定] 對話方塊。如需詳細資訊,請參閱下一節。
全部關閉
關閉 MageUI.exe 中目前開啟的所有檔案。如果有一或多個檔案需要進行儲存,MageUI.exe 會提示您儲存這些檔案。MageUI.exe 也會提示您選取簽章密鑰,以處理每個未簽章或變更過的檔案。
內容
開啟這一份說明文件。
關於
顯示 MageUI.exe 的版本和著作權資訊。
喜好設定對話方塊
[喜好設定] 對話方塊包含下列項目。
儲存時簽章
每當您儲存修改內容時,都會提示您替檔案簽章。
使用預設簽章密鑰
使用 [金鑰檔] 文字方塊中所輸入的金鑰,替所有檔案簽章。在選取 [儲存時簽章] 的情況下,如果選取這個選項,則當您儲存檔案時,原本會出現的簽章提示就不會出現。請使用 [金鑰檔] 文字方塊旁的 [瀏覽] 按鈕來選取金鑰檔。
簽章選項對話方塊
首次儲存資訊清單或信任授權,或是變更資訊清單或信任授權時,[簽章選項] 對話方塊會隨即出現。但是您必須在 [喜好設定] 對話方塊中選取 [儲存時簽章資訊清單] 選項,這個對話方塊才會出現。
這個對話方塊包含下列項目。
使用憑證檔簽章
使用儲存於檔案系統的數位憑證替資訊清單簽章。
檔案
提供一個區域,以便於輸入表示憑證的 .pfx 檔案路徑。
...
開啟 [選擇檔案] 對話方塊,選取現有的 .pfx 檔。
新增
產生新的 .pfx,這個檔案無法透過憑證授權單位 (CA) 進行驗證。如需簽章 ClickOnce 部署時所用之憑證類型的詳細資訊,請參閱受信任的應用程式部署概觀。
密碼
提供區域以便輸入密碼,此密碼可以在以這個憑證簽章時使用。如果不適用,此項目可以保持空白。
使用預存的憑證簽章
以可選取清單的形式,顯示儲存在電腦憑證存放區內的數位憑證。
時間戳記 URI
顯示時間戳記服務的統一資源定位器 (URL),ClickOnce 會使用此 URL 來驗證憑證的時效。如需時間戳記的詳細資訊,請參閱 ClickOnce 部署和 Authenticode。
索引標籤和面板描述
使用 MageUI.exe 開啟文件時,文件會出現在自己的索引標籤頁內。每個索引標籤都包含一組屬性面板。面板中含有一組文件資料的子集。如需編輯每一類文件時可用之 UI 項目的詳細資訊,請參閱 MageUI.exe 部署資訊清單索引標籤和 MageUI.exe 應用程式資訊清單索引標籤。
請參閱
工作
逐步解說:手動部署 ClickOnce 應用程式
參考
資訊清單產生和編輯工具 (Mage.exe)
概念
ClickOnce 部署概觀
3/20/2009
VS2005 與 VS2008 的相容性
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="t1.WebForm1" %>
VS2005 與 VS2008 的相容性
Vistual Studio 2008 正式版已經發佈,每次有新產品,最麻煩的就是和之前版本的相容性,尤其Visual Studio 至2005版開始,已經有Clirnt- Server(Foundation Server)的架構,這時相容性就更顯重要了,國外已經有位MVP Grant Holliday幫我們做了這樣的測試,請參考:http://ozgrant.com/2007/10/22/vsts-2005-2008-compatibility-matrix/
Vistual Studio 2008 正式版已經發佈,每次有新產品,最麻煩的就是和之前版本的相容性,尤其Visual Studio 至2005版開始,已經有Clirnt- Server(Foundation Server)的架構,這時相容性就更顯重要了,國外已經有位MVP Grant Holliday幫我們做了這樣的測試,請參考:http://ozgrant.com/2007/10/22/vsts-2005-2008-compatibility-matrix/
| Products |
VS 2005 |
VS 2008 |
TFS 2005 |
TFS 2008 |
Build 2005 |
Build 2008 |
TE 2005 |
TE 2008 |
Web Access |
Power Tools |
VS Addins |
| VS 2005 |
- |
Yes. Note #1 |
Yes |
Yes. Note #2, #3 |
Yes. V8.0 SLN files build. |
Yes. Note #2, #3 |
Yes |
Yes. Note #1 |
Yes |
Yes |
Yes |
| VS 2008 |
- |
- |
Yes. Note #4, #5 |
Yes |
Yes. Note #5, #6 |
Yes |
Yes. Note #1 |
Yes |
No. Note #7 |
Partial. Note #8, #9 |
Partial. Note #8 |
| TFS 2005 |
- |
- |
- |
N/A |
Yes |
No |
Yes |
Yes |
Yes |
N/A |
N/A |
| TFS 2008 |
- |
- |
- |
- |
No |
Yes |
Yes |
Yes |
Yes. Note #7 |
N/A |
N/A |
| Build 2005 |
- |
- |
- |
- |
- |
N/A |
Yes |
Yes. Note #5 |
Yes |
N/A |
N/A |
| Build 2008 |
- |
- |
- |
- |
- |
- |
Yes. Note #2, #3 |
Yes |
Yes |
N/A |
N/A |
| TE 2005 |
- |
- |
- |
- |
- |
- |
- |
Yes. Note #1 |
Yes |
Yes |
Yes |
| TE 2008 |
- |
- |
- |
- |
- |
- |
- |
- |
No. Note #7 |
Partial. Note #8, #9 |
Partial. Note #8 |
| Web Access |
- |
- |
- |
- |
- |
- |
- |
- |
- |
N/A |
N/A |
| Power Tools |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
N/A |
| VS Addins |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Notes
| Note #1 |
You can install VS2005 and VS2008 side-by-side on the same machine. (See Aaron’s blog post below) |
| Note #2 |
For an VS2005 client to start a build on an Orcas server, the build definition needs to be stored at $/<TeamProject>/TeamBuildTypes/<name> |
| Note #3 |
VS2005 will be able to start a build, but it can’t queue a build, see the list of builds in the queue, see the list of build agents, etc. |
| Note #4 |
A VS2008 client will not be able to create a new build definition on a TFS2005 server. Workaround: You could branch an existing build type in $/<TeamProject>/TeamBuildTypes/<name> |
| Note #5 |
When starting a build, a VS2008 client will not be able to change any parameters in the dialog for a TFS2005 Server. |
| Note #6 |
A Team Build 2005 server does not understand a VS2008 Solution File. Workaround: Changing the version number inside the SLN to Version 9.0. You will also need to copy the MSBuild directory V8.0 directory to V9.0. This could be done dynamically with a MSBuild task (See workaround below) |
| Note #7 |
Team System Web Access (TSWA) relies on the TFS2005 Object Model. You must have Team Explorer 2005 installed on the server that has TSWA installed |
| Note #8 |
The current TFS Power Tools (inc. Checkin Policy Pack) are compiled against the TFS2005 Object Model. VS2008 doesn’t support loading both object models within the same process, therefore any Power Tools or addins that get loaded in VS either need to be recompiled against the TFS 2008 object model or policy needs to be used to redirect references from the TFS 2005 assemblies to the TFS 2008 assemblies. (See Ed Hintz’s blog post below) |
| Note #9 |
Non-VS add-in Power Tools (everything except the Process Template Editor, checkin policy pack and Annotate/TreeDiff) will work fine as long as the TFS 2005 Team Explorer is also installed. |