如何將Silverlight 2 Beta SDK的幫助文檔整合到VS2008文檔中

如何將Silverlight 2 Beta SDK的幫助文檔整合到VS2008文檔中

<script type="text/javascript">function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</script>買了個新本兒,第一件事就是裝一個VS2008玩一下。TerryLee發了一個Sliverlight 2的系列教程,於是按捺不住誘惑下了一個Microsoft Silverlight Tools Beta 1 for Visual Studio 2008,其中包括Silverlight 2 Beta SDK 和Sliverlight 2 Beta 開發文檔,但安裝之後發現一個VS2008和VS2005的一個不同之處,在VS2005中安裝其它的開發擴充部分之後,如果這些擴充部分把一些附加的文檔集成到了VS的文檔庫中時,當VS的文檔庫再一次啓動時會自動完成整合操作,並會在目錄中列出擴充部分的主題。但在VS2008的文檔中不會自動完成對擴充部分的整合,需要手動添加,所以你安裝了 Sliverlight Tools Beta 1 for Visual Studio 2008 之後VS2008文檔庫並不會看到Sliverlight 的文檔。怎麼辦呢,在Silverlight 開發文檔發現了一個Readme 研讀了一下終於得到了答案,趕快寫下和大家一起分享

0,安裝Sliverlight Tools Beta 1 for Visual Studio 2008;
1,以管理員身份打開Visual Studio 2008;
2,選擇“ 幫助” 菜單中的“索引”(英文版選擇 Help->Index) 這時就打開發文檔庫;
3,在篩選依據(Filtered by)中選擇“未篩選”(unfiltered);
4,在查找框中輸入“集合管理器 [Visual Studio] ”  (英文版輸入 Collection Manager);
1.jpg
5,雙擊相關索引項,這樣就出現了關於集合管理器的幫助了;
2.jpg
6,單擊最後的“Visual Studio 2008 組合幫助集合管理器”,這樣就進入了 Visual Studio 2008 組合幫助集合管理器;往下看Microsoft Silverlight 2 SDK Documentation前邊是不是沒有打鉤,好了鉤之;
3.jpg
7,單擊一下最下邊的“更新VSCC” 按鈕,會彈出一個對話框,我想你一定知道點哪個按鈕;
8,重新啓動VS2008 ,重新進入文檔庫,經過十多分鐘之後終於看到 Sliverlight 2 SDK Document 了。
4.jpg

相關英文見下:
Issue: Silverlight help collections are not registered with Visual Studio and thus cannot be viewed inside of Visual Studio
Workaround:
1.       Open Visual Studio (you might have to open VS as an administrator).
2.       In the Help menu, choose Index. Microsoft Document Explorer displays.
3.       In the Filtered by: drop-down, choose to (unfiltered).
4.       In the Look for field, type Collection Manager.
5.       Below the Collection Manager heading, double click Help.
6.       Below the Collections available for inclusion in VSCC heading, check Microsoft Silverlight 2 SDK Documentation.
7.       Click Update VSCC.
You will be prompted to close all open instances of Visual Studio.  Follow steps 1 through 3 above. Click the Contents Tab and look for Microsoft Silverlight 2 SDK.
Note:  It will take only a few minutes to update the collection and merge in the Silverlight help files.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章