简体   繁体   English

我从哪里获得 resgen.exe 以与 NANT 一起使用?

[英]Where do I get resgen.exe to use with NANT?

I am simply trying to run NANT with resgen, but I can't seem to find what I need to download to have it available in ' C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\bin\\resgen.exe ' on my server.我只是想用 resgen 运行 NANT,但我似乎无法找到需要下载的内容才能在“ C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\bin\\resgen”中使用它。 exe ' 在我的服务器上。

Thank you.谢谢你。

On the server running your NANT script, you can either install Visual Studio 2005 to get "resgen.exe" available at the location described in your question or you can install the Windows SDK .在运行 NANT 脚本的服务器上,您可以安装 Visual Studio 2005 以在问题中描述的位置获取“resgen.exe”,也可以安装Windows SDK

Once installed, "resgen.exe" will be available at a location similar to:安装后,“resgen.exe”将在类似于以下位置的位置可用:

C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin

With Visual Studio developer installation "resgen" can be found at可以在Visual Studio开发人员安装“resgen”中找到

Visual Studio 2012视觉工作室 2012

%PROGRAMFILES(X86)%\\Microsoft SDKs\\Windows\\v8.0A\\bin\\NETFX 4.0 Tools\\resgen.exe %PROGRAMFILES(X86)%\\Microsoft SDKs\\Windows\\v8.0A\\bin\\NETFX 4.0 Tools\\resgen.exe

Visual Studio 2017视觉工作室 2017

%PROGRAMFILES(X86)%\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\\resgen.exe %PROGRAMFILES(X86)%\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\\resgen.exe

To obtain all available versions and their respective paths获取所有可用版本及其各自的路径

  • In command-line prompt>在命令行prompt>
where.exe /r \ ResGen.exe

rem :: results ::

c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.1 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\ResGen.exe
  • In > Start Menu -> Run> 开始菜单 - > 运行
cmd /k where.exe /r \ ResGen.exe

rem :: results ::

c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.1 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\ResGen.exe
c:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\ResGen.exe
  • Get all outputs on your ClipBoard add | clip获取剪贴板上的所有输出添加| clip | clip
cmd /k where.exe /r \ ResGen.exe | clip 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 MSBuild编译错误“resgen.exe”.Net FX 3.5工具 - MSBuild compile error “resgen.exe” .Net FX 3.5 Tools msbuild失败:MSB3086,MSB3091:找不到“ AL.exe”,“ resgen.exe” - msbuild fails: MSB3086, MSB3091: “AL.exe”, “resgen.exe” not found 如何在使用Resgen.exe和C#和.NET 4.5生成的StronglyTypedClass文件中将构造方法StringResources公开 - How to make Constructor StringResources to public in StronglyTypedClass file generated using resgen.exe with C# and .NET 4.5 如何让Nant使用4.0编译器来定位.Net 3.5 - How do I get Nant to use the 4.0 compiler to target .Net 3.5 如何在NANT或csc.exe中包含对Web服务的引用? - How do i include references to web services in NANT or csc.exe? 如何将2个参数传递给Nant脚本? - How do I pass 2 parameters to Nant script? 如何使用xmlpeek在Nant中获取多个xml节点? - How can I get multiple xml nodes in Nant using xmlpeek? 如何使用像NAnt这样的工具进行大规模构建,但仍允许开发人员使用VS IDE? - How do I use a tool like NAnt for large-scale builds but still allow developers to use the VS IDE? 如何获取当前.exe的哈希值? - How do I get the hash of current .exe? 当MSBuild可用时,为什么我要继续使用Nant? - Why would I want to continue to use Nant when MSBuild is available?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM