上周日晚上,因为想在Ankhsvn上面集成一个IssueTracker,到CollabNet上面的那个desktop-vs。没有什么详细的说明,只有一个界面,感觉挺好的,和VSTF差不多。既然是Desktop,应该是单机版的,我也只需要一个这样的就满足要求了,毕竟只是为了任务速记。
好不容易下载下来了,安装时却死活都安装不上。
于是,48小时的杯具就诞生了。
1、先根据错误activity的log信息,以为是VS 9.0下面的devenv在干扰,卸载了Visual Studio 2008。不行。
2、错误信息变成了VS 10.0下面你的Devenv。担心是不是什么组件出错了,但log日志毕竟不如微软官方的那么详细。咬咬牙,把Visual Studio 2010修复了一下。(耗时N久)还是不行。
3、一狠心,重装了Visual Studio 2010。这下总算可以了,desktop-vs可以安装上了,结果发现原来这个是Collabnet的一系列集成方案中的一个插件,还要装一个集成服务才行。可惜,文档(好像没有文档)里面语焉不详,只有下载页面的说明才有这些痕迹。谁又能细想?
那就只好不管了。找到了一个Artifacts,正好可以单机版的。可惜是文件管理的,而且不能和ankhsvn集成。忍忍只好将就了。
因为卸载了Visual Studio 2010,之前安装的很多组件都出现了问题。重装组件时出现了一些重叠的东西,第二天,把常用的插件卸载后重新安装了Visual Studio 2010。但到使用的时候,Visual Studio提示了如下的错误:
---------------------------
Microsoft Visual Studio
---------------------------
The 'Visual Studio Explorers and Designers Package' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\myname\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
Continue to show this error message?
---------------------------
是(Y) 否(N)
---------------------------
---------------------------
Microsoft Visual Studio
---------------------------
The 'VSTS for Database Professionals Sql Server Data-tier Application' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\myname\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
Continue to show this error message?
---------------------------
是(Y) 否(N)
---------------------------
---------------------------
Microsoft Visual Studio
---------------------------
The 'RadLangSvc.Package, RadLangSvc.VS, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\myname\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
Continue to show this error message?
---------------------------
是(Y) 否(N)
---------------------------
---------------------------
Microsoft Visual Studio
---------------------------
The 'Language Package' package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\myname\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
Continue to show this error message?
---------------------------
是(Y) 否(N)
---------------------------
不勾(Google)不知道,勾完才发现,这些问题从2005年开始就有了。
这从另外一个方面说明这是无解的。
再经历一天一夜,24小时后,也就是刚才,我总算确认了,这个是无解的。
唯一欣慰的是,如果使用/SafeMode模式启动,VS是正常的。
安装的插件太多,重装之后,VS又是直接使用之前安装过的插件,这造成我根本就无法判断是哪个插件除了错。
就在刚才反复清理“控制面板->程序”,发现了这个Artifacts。卸载之后再正常启动Devenv,这个世界就清净了。
48小时,走了一圈,回到了原地。还是没有找到被集成到Ankhsvn中的IssueTracker。也许有时间会自己按照desktop-vs的方式,写一个单机版的。大致上能覆盖如下需求就行了:
1、以数据库文件(Sqlite3,etc。)保存。通过Ankhsvn配置issue数据库。
2、通过Ankhsvn增删改查Issue内容。
Enhance:
3、Commit时,可以通过修改相应Issue的状态。
Enhance More:
4、除了独立数据库直接操作外,还可以提供一些Socket供多个用户同时使用,这样可以符合团队开发的要求。
5、也可以提供一些接口,给Subversion调用。
绕来绕去,直接说吧,如果有一款能够Subversion、Trac集成的VS插件,该是个多美妙的事情啊!

0 评论:
发表评论