Cake.Incubator
Cake.Incubator copied to clipboard
ParseProject doesn't respect settings from Directory.Build.props
In the file 'src\Directory.Build.props' settings for all projects were done.
example:
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
Parsing the project
var projectInfo = context.ParseProject(project.Path, "Debug");
projectInfo.OutputPaths[0] // this returns e.g. C:/xyz/src/xyz/bin/Debug/net472'
Setting the AppendTargetFrameworkToOutputPath in the project file itself
var projectInfo = context.ParseProject(project.Path, "Debug");
projectInfo.OutputPaths[0] // this returns e.g. C:/xyz/src/xyz/bin/Debug'
Expected Behavior
Respect settings from Directory.Build.props
Current Behavior
It doesn't respect settings from Directory.Build.props
Additional information
- Cake.Inbubator 8.0.0
- The project file is the new project format
<Project Sdk="Microsoft.NET.Sdk">
- The issue is independent the target framework (net6.0, net472)