错误 - 使用 sdkToolsPath 找不到 al.exe
Error - could not find al.exe using sdkToolsPath
我将 Visual Studio 2012 解决方案迁移到 Visual Studio 2015。我正在处理 Windows 10。我的解决方案的目标 .NET Framework 是 4.5。我想继续使用那个版本。所以我想我必须卸载.NET Framework 4.6。
Error Message: Task could not find "AL.exe" using the SdkToolsPath ""
or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft
SDKs\NETFXSDK.6\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath
is set and the tool exists in the correct processor specific location
under the SdkToolsPath and that the Microsoft Windows SDK is
installed.
由于上述错误,解决方案无法编译。我认为这与.NET 4.6 的卸载有关。然后我尝试重新安装.NET 4.6,但在 Windows 10 下是不可能的。
所以现在我不知道如何解决这个问题。你知道我在哪里可以找到 al.exe
以及如何设置正确的路径吗?
您不必重新安装 .NET Framework,但是 Windows 10 SDK,其中包含您需要的工具。 (文件通常可以在C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools
中找到)
作为一般准则:您为其构建的 .NET Framework 与您 PC 上安装的 .NET Framework 彼此不相关。您可以在安装了 .NET 4.6 的情况下构建 .NET 4.5。
我将 Visual Studio 2012 解决方案迁移到 Visual Studio 2015。我正在处理 Windows 10。我的解决方案的目标 .NET Framework 是 4.5。我想继续使用那个版本。所以我想我必须卸载.NET Framework 4.6。
Error Message: Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK.6\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed.
由于上述错误,解决方案无法编译。我认为这与.NET 4.6 的卸载有关。然后我尝试重新安装.NET 4.6,但在 Windows 10 下是不可能的。
所以现在我不知道如何解决这个问题。你知道我在哪里可以找到 al.exe
以及如何设置正确的路径吗?
您不必重新安装 .NET Framework,但是 Windows 10 SDK,其中包含您需要的工具。 (文件通常可以在C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools
中找到)
作为一般准则:您为其构建的 .NET Framework 与您 PC 上安装的 .NET Framework 彼此不相关。您可以在安装了 .NET 4.6 的情况下构建 .NET 4.5。