Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2022 Support #312

Open
adamkadzban opened this issue Mar 10, 2022 · 2 comments
Open

Visual Studio 2022 Support #312

adamkadzban opened this issue Mar 10, 2022 · 2 comments

Comments

@adamkadzban
Copy link

Expected Behavior

PSake should be able to find/use the MSBuild.exe that is installed with Visual Studio 2022

Current Behavior

ConfigureBuildEnvironment is unable to find the MSBuild.exe that is installed with Visual Studio 2022

Possible Solution

Steps to Reproduce (for bugs)

Not exactly a bug, just missing functionality, but:

  1. Import PSake 4.9.0
  2. Install VS2022
  3. Have a psake task that contains something like exec { msbuild foo.sln }
  4. See that VS2022 MSBuild.exe isn't used

Context

I'm trying to use the latest build tools

Your Environment

  • Module version used: 4.9.0
  • Operating System and PowerShell version: Win10, PS5.1/7
@Thorarin
Copy link

Thorarin commented Sep 8, 2022

@adamkadzban If you're still having this issue, you give the changes I made in PR #326 a go. It's been working without issues for me for the past week and a half or so. Hopefully somebody will pick up the PR at some point.

@martinsuchan
Copy link

Hi, any update on releasing new version of psake supporting VS2022? We have one larger repo with complex build script that depends on psake and we're currently unable to use VS2022 on our CI server.
Releasing update with the only change of adding support for VS2022 should be really simple, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants