pcislo / vscode-nuget-gallery

MIT License
64 stars 19 forks source link

Error while adding package 'Package name' to project 'e:/path/to/project.csproj'. The project does not support adding package references through the add package command #23

Closed ssoher closed 4 years ago

ssoher commented 4 years ago

I get a Error while adding package 'Package name' to project 'e:/path/to/project.csproj'. The project does not support adding package references through the add package command for every project in my solution.

pcislo commented 4 years ago

What is the target framework of your projects?

On Thu, May 7, 2020, 14:16 Sarper Soher notifications@github.com wrote:

I get a Error while adding package 'Package name' to project 'e:/path/to/project.csproj'. The project does not support adding package references through the add package command for every project in my solution.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pcislo/vscode-nuget-gallery/issues/23, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDNA4W6V3WSDX5GIXADEUTRQKRBRANCNFSM4M3IXZQA .

ssoher commented 4 years ago

It's 4.7.1, the projects are generated by the Unity game engine if it's of any relevancy.

pcislo commented 4 years ago

I think that's why it's not working. The command used by extension (dotnet add package) works only with .NET Core apps.