我创建了一个新项目"Tutorials.exe";当我在cmd上运行时,路径是:
C:\temp>installutil turorials.exe...I获取错误:
'installutil' is not recognized as an internal and external command,operable program or batch file.我尝试了另一种方法:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil Tutorials.exe..。我得到了错误:
'Tutorials.exe' is not recognized as an internal and external command,operable program or batch file.这里发生什么事情?
发布于 2011-10-01 06:44:52
当您运行第一个命令时,由于默认情况下安装目录不在您的路径中,因此无法找到installutil,这几乎解决了问题。我猜您的Tutorials.exe在c:\Temp中。如果是,请运行以下命令:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil c:\Temp\Tutorials.exe发布于 2013-02-21 15:13:26
您好,您需要确定使用哪个版本的.NET框架来构建Tutorials.exe窗口服务应用程序。然后指向installutil.exe的有效版本.NET框架路径,最后按照skjaidev所说的那样运行命令
https://stackoverflow.com/questions/7616117
复制相似问题