Task could not find “LC.exe” using SdkToolsPath

后端 未结 4 1469
轮回少年
轮回少年 2021-01-14 16:55

I have cloned a project to my computer using TFS, when I build the project I get this error :

Error 6 Task could not find \"LC.exe\" using the SdkT

4条回答
  •  囚心锁ツ
    2021-01-14 17:24

    If you're using MSBuild.exe to build projects from the command line, you can pass TargetFrameworkSDKToolsDirectory as a parameter to avoid having to edit your .csproj files. For example: MSBuild.exe mysolution.sln /t:build /p:TargetFrameworkSDKToolsDirectory="C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools"

提交回复
热议问题