I am trying to convert solution from VS2005 to VS2012. One of the problem I have is with directories names. For example, if I set Output Directory to be:
$(SolutionDir)..\VisualStudioBuildProducts\$(ProjectName)\$(PlatformName)\$(Configuration)\Products
the build works, however if I try to make Clean I get:
Search pattern cannot contain ".." to move up directories and can be contained only internally in file/directory names, as in "a..b".
Suppose I remove ".." and set Output Directory to be:
(SolutionDir)VisualStudioBuildProducts\$(ProjectName)\$(PlatformName)\$(Configuration)\Products
I get the error:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppClean.targets(75,5): error : Second path fragment must not be a drive or UNC name.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppClean.targets(75,5): error : Parameter name: path2
Can someone explain me how to fix it? I do prefer to have ".." inside the directory path, but if not, at least how to remove the second error?