The build script imports CodeFactory from $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll - but in older versions of VS it's in $(MSBuildToolsPath)\Microsoft.Build.Tasks.{versionnumber}.dll. Use nuget platform targeting to pick the correct location.
The build script imports
CodeFactory
from$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll
- but in older versions of VS it's in$(MSBuildToolsPath)\Microsoft.Build.Tasks.{versionnumber}.dll
. Use nuget platform targeting to pick the correct location.