gpt4 book ai didi

sdk - MSBuild 找不到 resgen.exe

转载 作者:行者123 更新时间:2023-12-02 17:38:24 25 4
gpt4 key购买 nike

我有一台 VM 机器,我在其中复制了 SDK 文件和路径,转到注册表并将 key 添加到注册表,但我一直收到无法找到 resgen.exe 的错误:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1835,9): 
error MSB3091: Task failed because "resgen.exe" was not found, or the correct
Microsoft Windows SDK is not installed. The task is looking for "resgen.exe"
in the"bin" subdirectory beneath the location specified in the Installation Folder
value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\
Windows\v7.0A. You may be able to solve the problem by doing one of the following:
1) Install the Microsoft Windows SDK.
2) Install Visual Studio 2010.
3) Manually set the above registry key to the correct location.
4) Pass the correct location into the "ToolPath" parameter of the task.

我查看了文件夹 Microsoft\Microsoft SDKs\Windows\v7.0A 并在几乎每个网络文件夹(包括 bin)中复制了 resgen.exe,但是它一直告诉我找不到 resgen.exe。我不知道该怎么办。

最佳答案

确保您的环境变量路径包括 ResGen.exe 所在的文件夹

关于sdk - MSBuild 找不到 resgen.exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23840912/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com