proj-info
proj-info copied to clipboard
fsac.cache always in obj/
Describe the bug
I've recently configured my project to build all intermediate and built artifacts into obj/
and bin/
outside of the main src/
folder through a Directory.Build.props
file. However, it seems fsac.cache
doesn't pick this up and still creates obj/fsac.cache
in each of the src/project/
folders.
// src/Directory.Build.props
<Project>
<PropertyGroup>
<BaseOutputPath>../../build/$(MSBuildProjectName)/bin</BaseOutputPath>
<BaseIntermediateOutputPath>../../build/$(MSBuildProjectName)/obj</BaseIntermediateOutputPath>
</PropertyGroup>
</Project>
Expected behaviour
To find a build/project/obj/proj-info.cache
file.
Instead, a file appears in src/project/obj/fsac.cache
Environment:
- OS: Windows 10
- FsAutoComplete: 0.45.4
- Neovim: 0.5 Nightly
- dotnet SDK version: 5
This would be part of a larger effort to make the projects in general aware of intermediate output paths. Most of the offending code seems to be here, where there are hard references to the bin/obj directories of the project.
I could take a stab at this but I know nothing about project cracking. Any pointers?
I've run into the same issue, also using a Directory.Build.props
file. I could take a look at it but it will take a while to get up to speed.