首页 > 编程 > .NET > 正文

另类的VS.NET 的资源

2024-07-10 13:00:25
字体:
来源:转载
供稿:网友
另类的vs.net 的资源

小气的神 2001.08.25

突然发现自己ie的favorites中有关dotnet的链接慢慢的多起来,从开始的一两个到现在越来越多的链接。我想,是因为有越来越多的人开始对dotnet感兴趣了,比如c#、web service、xml。我很喜欢现在vs.net的ide,除了需要更多的内存外,功能很丰富,而且越来越智能。但除了ms网站上的说明,很难找到其他的信息和资源,我找到和收集了一些,希望对你有用:

codeswap :

今天我安装了这个小东东,这样我可以将自己的代码发布到网络中,而且所有安装了这个软件的人都可查找和共享这些代码。就像找寻mp3歌曲一样,我输入了一个“api”果然有这样标题的文章存在,甚至你可以投票表示你的意见。最有意思的是它也是一个web service ,目前收集的文章还不是很多,但这种类似p2p的模式让我有一种不同的沟通方式。
你可以去下面的网址去看看或直接下载,网站上只有索引,当你安装完成之后,就可以在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*[email protected]/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)

available command line switches:

/build build the specified solution configuration
/project specifies the project to build instead of solution
must specify /build to use /project
/projectconfig specifies project configuration to build
must specify /project to use /projectconfig
/out write build output to specified file
/rebuild like /build but forces a clean first
/clean clean up build outputs
/deploy build the specified solution configuration and then deploy it
/run run the specified solution configuration
/runexit run the specified solution configuration and then terminate
/command executes the specified internal command line after startup
/mditabs use tabbed documents interface
/mdi use mdi interface
/fn use specified font name
/fs use specified font size
/lcid use specified language id
/novsip disables vsip developers license key for vsip testing
/safemode only default environment and services load for stability
/resetskippkgs allow vspackages once flagged for loading failures to
load again

product-specific switches:

/debugexe open the specified executable to be debugged. the
remainder of the command line is passed to this
executable as its arguments.
/useenv use path, include, libpath, and lib environment variables
instead of ide paths for vc++ builds.

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表