你可以去下面的网址去看看或直接下载,网站上只有索引,当你安装完成之后,就可以在VS.NET中下载和使用这些代码了。
URL:
http://www.vscodeswap.net
http://www.vscodeswap.net/codeswapaddin.msi
VS.NET beta2 Add-in:
国外有许多公司在做MS编程工具的Add-in或辅助工具,MS也很早发表了VS.NET的DIA SDK,最早在Beta1发表时就看到了Visual XSLT 的Add-in,Beta2的时候Crystal Reports 成了缺省的选项被安装在VS.NET中。据MS的资料显示说有一些有关Automation samples的例子在Visual Studio .NET Beta 2 Professional Edition中是被遗漏了,但我在企业版中似乎也没有发现这些例子,不过我在这里发现这些例子和另外一些有趣的东西,里面还包括一些MS网站上dotnet的例子比如:VBCSharpwalkthroughs、IBuySpy,值得Download当然也包括一个Viso的帮助zip。MS的目录中没有任何说明,我附带了说明在后面,这样你大致知道那些Zip包都是干什么的了。提醒你要去赶快去,已经有一段时间了,不知MS会不会改Password。
http://beta.visualstudio.net/
如果需要你登陆那么你可以访问这个URL
ftp://vstudio:7^Qs4*!8@transfer1.microsoft.com/BetaDownload/vstudio/
Automation samples 清单:
Spell Check Macro
This is a macro that does spell-checking uses Word and C# Windows Forms for
the UI.
ToolWindow Add-ins
This collection of three add-ins demonstrates how to create ToolWindows in
C#, Visual Basic .NET and C++.
PostBuildRules Add-in
This add-in allows the user to create rules that are applied after the
solution build completes. This Visual Basic .NET add-in demonstrates the use
of events and the globals object in the Visual Studio .NET Automation Model.
PreBuildRules Add-in
This add-in allows the user to create rules that are applied before the
solution build starts. This C# add-in demonstrates the use of events and the
globals object in the Visual Studio .NET Automation Model.
Solution Extender Add-in
This sample demonstrates the use of Automation Extenders to "extend"
existing Visual Studio objects with new properties and methods. You can
extend property grid display objects as well as automation objects so that
more methods and properties are available to the caller. This sample extends
both the Solution property grid display object as well as the DTE.Solution
automation object.
WSH Script
The wsh-vs.js sample demonstrates using Windows Scripting Host to launch
Visual Studio. It will create an instance of VS, and add a task item. To use
this sample, just double click on it from explorer, or type wsh-vs.js at a
Windows command prompt.
ScriptHost Add-in
ScriptHost hosts the VBScript engine, and allows you to run VBS macros from
VC6 in the VS7 IDE. You do not need to make any syntatical changes to your
code except for method/property calls that are not available in V7.
Web App Provider Add-in
This sample is the source code to the Web App Provider Add-in that allows
you to upload your website to Hosting Providers from the homepage.
GenerateHTML Add-in
The GenerateHTML Add-in takes the current selection in the texteditor and
generates colorized HTML with the proper formatting
Unsupported Tools
This archive contains unsupported tools to be used with the Visual Studio
Object model. The following items are currently available: ExtBrws.dll:To
use it, regsvr32 the dll, then load it from the VS or VBA Add-in Manager
dialog. Click the item on the Tools menu to bring up a dialog that displays
all the late bound objects available under DTE, DTE.Events, or
DTE.Properties. GenerateIcoData.exe:This is a program that will generate
data that can be entered into the registry settings for an Add-in that
displays Help About information. When generating the registry keys for Help
About information, an icon is needed for display. To generate the binary
data for the registry, you would create a binary value, and copy the hex
information into this value. This tool generates this information.
Simple Add-ins
The Add-in will display a Message Box as each member of IDTExtensibility2 is
called. It will also add a button to the Tools menu, which when clicked
displays a message. The Button that is added is done using the old style
Office CommandBars, rather than AddNamedCommand.
RegExplore Add-in
RegExplore is an Add-in that emulates the Registry Editor, but as a tool
window within the environment. Some of the object model functionality
demonstrated includes: (13个)
Web Service Searching:
记得以前我在一篇有关Web Service的文章中写过,以后会有一个象现在门户网站一样的Web Service的门户网站,一个月前我发现了这家网站,当时它被记载在VisualstudioWire的Headlines中,目前它收集了许多方方面面的Web Serveice,当然从未来的眼光来看还是太少太少。更有趣的是你在VS.NET beta2中选择Project 菜单中的 Add Web Reference...,然后在弹出的对话框中直接输入http://www.salcentral.com/dotne.asp你发现这些Web Service直接就可以使用在你的应用程序中。
这家网站收集Web Service的速度还在飞涨,许多人都在Upload自己的Web Service。你可以去下面的网址了解具体的内容:
http://www.salcentral.com/dotnet/dnover.htm
http://www.salcentral.com/salnet/webserviceswsdl.asp
VS.NET 的命令行启动:
一个习惯了用命令行方式的人很难会去使用图形界面,VS98时就有许多大虾在用命令行方式编译他们那些用Notepad写的代码,到了VS.NET时代我想这些人还一样存在,而且MS内部也大有人在,所以命令行方式一定会保留下来,下面就是一些命令行参数,也许软件正是因为这些命令开关才显得神奇和有趣,而图形界面一直是傻瓜的象征(hahaha)
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)Available command line switches:
/build build the specified solution configurat 猜你喜欢