chocolatey / Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
Apache License 2.0
5 stars 9 forks source link

Fix execution of VSWhere when running on Posix #95

Closed gep13 closed 1 year ago

gep13 commented 1 year ago

When we introduced this change:

https://github.com/chocolatey/Chocolatey.Cake.Recipe/issues/93

We made it so that VSWhere is always ran. This causes a problem when running on Mac and Linux, since VSWhere is not intended to be ran there, instead, we use XBuild there.

We should only attempt to resolve MSBuild using VSWhere, when we are running on Windows.

choco-bot commented 1 year ago

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

The release is available on:

Your GitReleaseManager bot :package::rocket: