ferraridavide / ChatGPTPowerToys

138 stars 49 forks source link

Fix v0.84 #12

Closed ferraridavide closed 2 months ago

NickJitHub commented 2 months ago

The Community.PowerToys.Run.Plugin.ChatGPT.csproj file does not specify the .NET version that the project needs? image

ferraridavide commented 2 months ago

The Community.PowerToys.Run.Plugin.ChatGPT.csproj file does not specify the .NET version that the project needs?

image

That's correct, this changed in v0.84.0, to open the project you must clone the PowerToys repository and place this project in the plugins directory

That way, the .NET version is inferred by the Directory.Build.props

(make sure the PowerToys repo is also on v0.84.0)

You can see how to correctly build the project by looking at the Github Action build file or at the instructions in the readme file

Hope this helps!

martesi commented 2 months ago

As mentioned in README.md to directly clone the fork repo into the plugins folder is not working for me either.

However, I did as the GitHub Action workflow file by only copy Community.PowerToys.Run.Plugin.ChatGPT into plugins, and it worked.

image image