Giles icon indicating copy to clipboard operation
Giles copied to clipboard

Relative paths not auto running

Open reidev275 opened this issue 12 years ago • 2 comments

Working with a legacy code base where a solution build takes minutes so I created another solution outside of the existing solution file structure that would only include the newer testable code. Auto running is not working. I have a suspicion that the issue is the ".." relative path for the Test Assemblies section.

Current Configuration
  Build Delay: 500
  Solution: D:\Dev\MyProject\MyProjectTests.sln
  Test Assemblies:
        ..\MyProject.Tests\bin\Debug\MyProject.Tests.dll
  Test Filters:
        <All Classes>

reidev275 avatar Jun 28 '13 13:06 reidev275

Can you post an example? I'm not sure that I'm grokking this properly.

codereflection avatar Jul 11 '13 15:07 codereflection

https://github.com/reidev275/GilesRelativePath

I have manually moved a GilesRelativePath.sln into the SolutionFolder subdirectory. When Giles is run against that solution it does not listen to changes from the GilesRelativePath.csproj. The root level solution does listen to changes to the same project though.

Subdirectory solution -does not listen

https://github.com/reidev275/GilesRelativePath/blob/master/SolutionFolder/GilesRelativePath.sln

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GilesRelativePath", "..\GilesRelativePath\GilesRelativePath.csproj", "{B8539578-EC57-4DE8-828C-7E7E06BFE2C0}"
EndProject

Root level solution -does listen

https://github.com/reidev275/GilesRelativePath/blob/master/GilesRelativePath.sln

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GilesRelativePath", "GilesRelativePath\GilesRelativePath.csproj", "{B8539578-EC57-4DE8-828C-7E7E06BFE2C0}"
EndProject

I believe the issue is related to the ".." found within the project reference of the Subdirectory solution

reidev275 avatar Jul 11 '13 16:07 reidev275