-
Notifications
You must be signed in to change notification settings - Fork 846
Closed
Labels
Description
I have an existing F# library that is targeting 4.7.2 .net framework. This compiles fine in the VS 2022 IDE, but it won't compile using the VS Build Tools 2022 on our build server. Using VS 2017 and 2019 it compiled in both the IDE and Build Tools.
I receive the following error:
The target "Clean" does not exist in the project.
I think what's missing from the Build Tools install is:
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VisualStudio\v17.0\FSharp\Microsoft.FSharp.targets
When I look at the IDE install paths, they look correct. This does exist:
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VisualStudio\v17.0\FSharp\Microsoft.FSharp.targets
ngyukman and fredrik-lindseth