CRC32
Blocks (C language extension)

解决VSCmdShell在VS2008下崩溃

zombie posted @ Wed, 14 Oct 2009 06:21:44 +0800 in Code with tags VSCmdShell crash VS2008 , 1568 readers

http://vscmdshell.codeplex.com/ 下载了VSCmdShell的最新版(其实很久没更新了),安装后在VS2008下无法使用Cmd shell,只能使用Powershell。很郁闷

上官网的Issue Tracker看了下,发现了相关的问题的描述http://vscmdshell.codeplex.com/WorkItem/View.aspx?WorkItemId=14645

其实是代码中硬编码了VS2005的注册表路径,而我没有安装VS2005,运行VSCmdShell后VS自然就崩溃了。解决方法只能自己下代码把注册表路径改掉重新编译,覆盖安装文件。这里要说的是,其实没必要完全按着官方的说明安装很多软件才能去编译源代码(我不写.NET代码,所以那些工具我都没有用过,当然也没有安装了)。打开解决方案,我们只要修改VSCmdShell2005项目下的CommandShellHost.cs文件中123行,把8.0改成9.0即可。编译时选择Debug配置,这个配置编译过程中不会调用我们没有安装的那些工具。当然,我们可以修改项目属性,让编译器优化代码。把生成的Microsoft.VSPowerToys.VSCmdShell.dll和Microsoft.VSPowerToys.VSCmdShell.Interfaces.dll复制到安装目录覆盖即可。

Rylan Landon said:
Jan 03, 2019 06:38:32 PM

Genuinely I just read through it again yesteryear and yet We numerous head to fix it and today I wanted to study it again ever again considering that it is somewhat well written. Tax Accountants

light novel said:
Feb 15, 2019 11:28:25 AM

Hello there, I believe your blog might be having internet browser compatibility problems. Whenever I take a look at your web site in Safari, it looks fine but when opening in IE, it has some overlapping issues. I just wanted to provide you with a quick heads up! Other than that, great site!

sanitary butterfly v said:
Sep 11, 2019 09:58:38 AM

Many things require hygienic round valves in them to regulate theprogression of some liquid or air. There are a wide variety of kind of shutoffs. One sort of valve is an activated ball shutoff. It has a round plate in it. The circle has an opening in it. At the factor when that void is agreed with the rest of the pipe or pipeline, or open, it makes it possible for the liquid or air to relocate through. At the point when the opening isn't lined up with the pipeline, or closed, there is no stream that takes place.

sanitary ball valves said:
Sep 11, 2019 09:59:08 AM

Being a global manufacturer of the sanitary valves, SIMPLE VALVES manufacture and supply the most extensive line of stainless steel sanitary valves, fittings, tubings, and pumps. We are a company aiming at developing and improving the sanitary equipment for dairy, food, cosmetic, beverage, brewing, and the pharmaceutical industries. We are highly dedicated to enhancing the value and performance of our great products and services to meet the requirements of the ever-changing consumer market.

simplevalves said:
Sep 11, 2019 09:59:40 AM

We provide you with products, news, blogs and knowledge regarding the sanitary valves, fittings, pumps, and the tubings.

Here, you will be able to find the most useful content on sanitary valves. We ensure regular updates, mostly done on a weekly basis. Therefore, we encourage you to subscribe to our valve blog and news. You can also purchase HIGH QUALITY sanitary valves/hygienic valves via our website https://www.simplevalves.com. We are a highly experienced and reliable organization in supply of the most specialized sanitary valves and fittings.

คาสิโนสด said:
Nov 12, 2020 06:29:38 PM

Wow, cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though.

שגיב קורן said:
Nov 14, 2020 05:16:26 AM

Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also

Augmented Reality E- said:
Nov 16, 2020 06:55:19 PM

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks.

calculating fraction said:
Nov 17, 2020 08:14:15 PM

I am thankful to you for sharing this plethora of useful information. I found this resource utmost beneficial for me. Thanks a lot for hard work.

Crowdfunding website said:
Nov 19, 2020 05:17:38 PM

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers.

안전놀이터 said:
Nov 20, 2020 06:30:58 AM

Thank you for the update, very nice site..

inetventures.com said:
Nov 22, 2020 07:49:55 PM

This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself..

protectair nagelpilz said:
Nov 23, 2020 08:00:04 PM

A great content material as well as great layout. Your website deserves all of the positive feedback it’s been getting. I will be back soon for further quality contents.

My Singing Monsters said:
Dec 08, 2020 04:47:07 PM

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks.

neco 2021 2022 said:
Feb 23, 2021 07:01:47 PM

Great job here on _______ I read a lot of blog posts, but I never heard a topic like this. I Love this topic you made about the blogger's bucket list. Very resourceful.

emploi transport said:
Mar 08, 2021 03:38:31 PM

I am incapable of reading articles online very often, but I’m happy I did today. It is very well written, and your points are well-expressed. I request you warmly, please, don’t ever stop writing.

Ideal for Educationa said:
Mar 08, 2021 05:03:37 PM

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.

house in lekki said:
Apr 05, 2021 05:13:13 PM

Thanks for sharing this quality information with us. I really enjoyed reading. Will surely going to share this URL with my friends.

เดิมพันเกมส์ยิงปลายู said:
Apr 08, 2021 06:05:40 AM

If more people that write articles involved themselves with writing great content like you, more readers would be interested in their writings. I have learned too many things from your article.

LifePo4 golf cart ba said:
Apr 09, 2021 11:56:18 PM

JBBATTERY is professional china LiFePO4 battery manufacturers and factory,supply custom 12V 24V 36V 48V 60V 72V lithium ion battery pack with 50 Ah 60Ah 100Ah 200Ah 300Ah 400Ah for many different application with good price.

Delhi Escort said:
Jul 15, 2021 09:23:49 AM

It has always been my belief that good writing like this takes research and talent. It’s very apparent you have done your homework. Great job!

CBSE Class 2 English said:
Sep 15, 2022 12:26:55 PM

Download the PDF version of every chapter of Marigold & Raindrops for the CBSE Board Class 2 English Sample Paper 2023. The Marigold & Raindrops solved question paper has been created by subject specialists from the board and is recommended for at-home practise. CBSE Class 2 English Question Paper It is advised to obtain a comprehensive set of practise questions in order to improve one's performance on all Class II level exams.


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter