-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
CSC : error SL01: SponsorLink has been incorrectly configured #251
Comments
Hi @sandrock! Thanks for reporting this and sorry it took a bit to reply. It seems JetBrains Rider is not respecting the diagnostic's LinkUrl which IS provided in the diagnostic descriptor I define and expose via the analyzer. I'll look into that and see if I can determine why that's the case. I'll update the dependency so it does not end up reporting as an error something that is most likely transitory (did you try closing/reopening the solution? sometimes there's a lag between MSBuild targets being imported in the project and the analyzer running). Thanks for being a sponsor, and I'd totally like to get your feedback on SponsorLink, once I can help you get passed this error. The HTTPS call is expected and by design of SponsorLink, it's what I hope will allow proper attribution of sponsors to package usage. I'm starting to think there should be a standard included markdown/text when you install/upgrade a package that explains this, as you mentioned... Fortunately, a web search for |
Hi @kzu,
Oh! The error was transitory. It builds fine now.
I was trying to use GitInfo. Dependency magic made me stumble on the issue. I did not know about SponsorLink and just read the article. The idea is quite singular. I might look further into in the future. |
Great news that it now works as expected. I did find an issue with transitiveness and build targets which I'm fixing in the next build. Yeah, I'm trying SponsorLink to see if I can nudge more users to be as generous as you are sponsoring my projects. Fingers crossed! |
Ok, got a new version out that should have done away with all these issues! Could you give it a try please? Thanks!! |
It works with 3.0.6 |
Describe the Bug
After adding the nuget to a class library, build fails with error:
I also get a warning from my firewall telling me dotnet.exe tries to make an external HTTPS call.
Expected Behavior
Version Info
GitInfo 3.0.4 (Devlooped.SponsorLink 0.9.7, ThisAssembly.Constants 1.2.9, thisassembly.prerequisites 1.2.9)
target framework: net40+netstandard2.0
using: Windows 10, JetBrains Rider 2022.3.2
Additional Info
related code in my project: branch, commit
partial build log:
The text was updated successfully, but these errors were encountered: