---
title: "vs2008 error PRJ0003 : 生成 cmd.exe 错误的解决方法"
author: "xdgj"
date: "2011-04-15T14:25:26Z"
tags: ["VC++", "Windows"]
categories: ["编程语言"]
slug: "vs2008-error-prj0003-cmd-exe"
draft: false
lastmod: "2011-04-17T00:25:07Z"
id: 1004153
url: "https://xdgj.iteye.com/blog/1004153"
---

转载：

**关于VS2008运行CLR—Windows窗体应用程序的时候 error PRJ0003 : 生成 cmd.exe 时出错**

**解决方法:** 

**tools=&gt; Options =&gt; Projects and Solutions -&gt; VC++ Directories page** 

**then place below rows（即添加下面3个项目，可以手动输入）:** 

**$(SystemRoot)\\System32**  
**$(SystemRoot)**  
**$(SystemRoot)\\System32\\wbem**