OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
434 stars 171 forks source link

Unable to create new Teams apps projects with VS 2022 17.10.3 or VS 2022 Preview 17.11.0 Preview 2.1 #11961

Open garrytrinder opened 4 days ago

garrytrinder commented 4 days ago

Describe the bug Unable to create new Teams apps projects with VS 2022 17.10.3 or VS 2022 Preview 17.11.0 Preview 2.1

To Reproduce

  1. New project -> Microsoft Teams app -> Next
  2. Enter project name -> Create
  3. Select Custom Search Results template -> Create

Error is shown

Expected behavior

Solution is created and loaded

Screenshots

VS 2022 17.10.3 Snag_130e7a

VS 2022 Preview 17.11.0 Preview 2.1 Snag_130e99

Scaffolded project folder, note the missing .sln file.

image

Additional context I repaired the Visual Studio installation via the Visual Studio Installer however the issue persists after reboot.

E:\ is configured as a DevDrive (ReFS), however I get the same error when using C:\ (NTFS)

microsoft-github-policy-service[bot] commented 4 days ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

Alive-Fish commented 3 days ago

Hi @garrytrinder, thanks for reporting it. Can you try to run Visual Studio as administrator and then create the project?

garrytrinder commented 3 days ago

Just tried running as administrator and I get the same error.

garrytrinder commented 3 days ago

Seems like I'm experiencing the same issue as https://github.com/OfficeDev/teams-toolkit/issues/11834 but I'm using Visual Studio Enterprise.