如何从命令行而不是Visual Studio命令提示符运行regasm.exe? [英] How to run regasm.exe from command line other than Visual Studio command prompt?

查看:190
本文介绍了如何从命令行而不是Visual Studio命令提示符运行regasm.exe?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从cmd运行regasm.exe。它在c:\windows \Microsoft.net\framework\2.057

I want to run regasm.exe from cmd. which is available in c:\windows\Microsoft.net\framework\2.057

我喜欢这个c:\ regasm.exe

I do like this c:\ regasm.exe

它给予 regasm无法识别为内部或外部命令

It gives regasm is not recognized as internal or external command.

需要在环境变量中设置regasm.exe的路径。

So I understood that I need to set the path for regasm.exe in environment variable.

对于哪个变量,我需要如上所述设置运行regasm的路径?

For which variable do I need to set the path to run regasm as described above?

推荐答案

在命令提示符下:

SET PATH = "%PATH%;%SystemRoot%\Microsoft.NET\Framework\v2.0.50727

这篇关于如何从命令行而不是Visual Studio命令提示符运行regasm.exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆