question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project option not working correctly for the `user-jwts` command

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Running dotnet user-jwts list --project src/Api/ returns:

The project file ‘src/Api/src/Api/’ does not exist.

Expected Behavior

No error. The equivalent user-secrets command works fine.

dotnet user-secrets list --project src/Api/

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

7.0.102

Anything else?

WSL, Debian GNU/Linux 11 (bullseye).

Issue Analytics

  • State:closed
  • Created 8 months ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
msftbot[bot]commented, Feb 2, 2023

Thanks for contacting us.

We’re moving this issue to the .NET 8 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). If we later determine, that the issue has no community involvement, or it’s very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

1reaction
captainsafiacommented, Jan 25, 2023

@captainsafia Wouldn’t a bug like this be fixed in a patch release? It seems quite bizarre to wait 12 months for a fix. 🙂

The same is even more true for #44869, which literally results in corrupted files (imagine someone not using a VCS).

Yep! Something like this would be serviced. Typically, the process is to land it in a 8.0 preview release, validate the fix, then backport it to 7.0. The bar for these backports is a little higher (see this doc) so hence the need for some bake time.

Maybe I’ll find time in the next month or two to put a fix in place, but I also wouldn’t want to do so if it meant waiting another 10 months for release. 🚀

Next month or two is where I was feeling it depending on some other items. Happy to review a PR if you get to it before then but otherwise no worries.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EF Core Error - No project was found. Change the current ...
I get the following Error. enter image description here. No project was found. Change the current working directory or use the --project option....
Read more >
Create development-time JWTs using dotnet user-jwts
Command to create new empty minimal API project and add JWT authentication package. After creating you should have following directories and ...
Read more >
Test Authorization in ASP.NET Core Web APIs With the ...
How to use the new user-jwts tool to test a protected ASP.NET Core Web API without involving an authorization server.
Read more >
How to Handle JWTs in Python
Learn how to create, encode, parse, decode and verify your JWTs in Python using PyJWT. ... You can even use jwt.io to create...
Read more >
Generate tokens with dotnet user-jwts
Creates and manages project specific local JSON Web Tokens. Arguments. PROJECT | SOLUTION. The MSBuild project to apply a command on. If a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found