cake-contrib / Cake.Incubator

This project contains various experimental but useful extension methods and aliases for Cake
http://cakebuild.net/api/Cake.Incubator/
Other
19 stars 26 forks source link

CustomProjectParserResult.OutputPaths doesn't respect AppendTargetFrameworkToOutputPath #174

Closed wnorvelleadc closed 2 years ago

wnorvelleadc commented 2 years ago

CustomProjectParserResult.OutputPaths doesn't respect the AppendTargetFrameworkToOutputPath property in csproj files

Expected Behavior

The output path for a project with AppendTargetFrameworkToOutputPath set to false should be, for example, "bin/Debug"

Current Behavior

Independent of what AppendTargetFrameworkToOutputPath is set to, the output path will have the target framework appended, for example, "bin/Debug/net48"

Steps to Reproduce (for bugs)

For this project file: `

net48 False false Exe

`

  1. Use projectFile.ParseProjectFile(configuration: "debug") to parse the file
  2. CustomProjectParserResult.OutputPaths.First() will end in "bin/debug/net48" rather than "bin/debug"

Context

Need to be able to know where the dll will end up for use later in our build pipeline.

Your Environment

cake-contrib-bot commented 2 years ago

:tada: This issue has been resolved in version 7.0.0 :tada:

The release is available on:

Your GitReleaseManager bot :package::rocket: