You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given an objdir that would produce a relative path with the VS2015 generator (in my case, ".objs/x64"), the VS2017 generator produces an incorrect absolute path.
The problem is with the IntDirIsAbsolute flag added in 78fc15a. Building a path using prj.solution.location is incorrect: if there is >1 project in the solution (very common), it generates the same absolute path for all projects, which causes warnings and possibly build errors. It should be caculated from the prjoect path.
As best I can tell, the IntDirIsAbsolute workaround is not needed, and should be removed. In the meantime as a klunky workaround for this bug, use the (working) vs2015 generator and upgrade it inside Visual Studio.
The text was updated successfully, but these errors were encountered:
Given an objdir that would produce a relative path with the VS2015 generator (in my case, ".objs/x64"), the VS2017 generator produces an incorrect absolute path.
The problem is with the IntDirIsAbsolute flag added in 78fc15a. Building a path using prj.solution.location is incorrect: if there is >1 project in the solution (very common), it generates the same absolute path for all projects, which causes warnings and possibly build errors. It should be caculated from the prjoect path.
As best I can tell, the IntDirIsAbsolute workaround is not needed, and should be removed. In the meantime as a klunky workaround for this bug, use the (working) vs2015 generator and upgrade it inside Visual Studio.
The text was updated successfully, but these errors were encountered: