Skip to content

Error when using the plugin with ReSharper Command Line Tools #2471

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

Open
nick-morhun opened this issue Feb 17, 2025 · 5 comments
Open

Error when using the plugin with ReSharper Command Line Tools #2471

nick-morhun opened this issue Feb 17, 2025 · 5 comments

Comments

@nick-morhun
Copy link

Hi,

I am trying to use the plugin with inspectcode tool:

dotnet tool run jb inspectcode -x="JetBrains.Unity" --no-build --no-swea --severity=WARNING -f=Xml "$currentDir/Game.sln" --project=$name

however, getting following in the output:

The source repository “.NET Products Gallery” has the package JetBrains.Unity.2024.3.5.28 at URI string http://resharper-plugins.jetbrains.com/dotnet/api/v2/curated-feeds/RSU-2024.3.5.65536/Packages(Id='JetBrains.Unity',Version='2024.3.5.28')/Download, but this URI could not be downloaded. The remote server returned an error: (403) Forbidden.

@AkiKupiainenNS
Copy link

We had same problem, we have own workaround which is not nice for this, please fix or atleast tell if you are removing packges from products gallery

@bguyl
Copy link

bguyl commented Mar 21, 2025

Same thing here!
Manual download works fine

@nick-morhun
Copy link
Author

Same thing here! Manual download works fine

@bguyl did you download the plugin?

@bguyl
Copy link

bguyl commented Mar 23, 2025

@nick-morhun

So

dotnet tool run jb inspectcode -x="JetBrains.Unity" [...]

Doesn't work

What I did was to download it first and run inspectcode without the -x parameter:

curl.exe -L "http://resharper-plugins.jetbrains.com/dotnet/api/v2/curated-feeds/RSU-2024.3.5.65536/Packages(Id='JetBrains.Unity',Version='2024.3.5.28')/Download" -o "$env:userprofile\.nuget\packages\jetbrains.resharper.globaltools\2024.3.6\tools\netcoreapp3.1\any\jetbrains.unity.2024.3.5.28.nupkg"

dotnet tool run jb inspectcode [...]

@nick-morhun
Copy link
Author

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