Skip to content
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

[BUG] Projects with dashes in the name break the code analyzer #1404

Closed
mattsmithdev opened this issue Aug 18, 2022 · 5 comments
Closed

[BUG] Projects with dashes in the name break the code analyzer #1404

mattsmithdev opened this issue Aug 18, 2022 · 5 comments
Labels

Comments

@mattsmithdev
Copy link

Describe the bug
If your dotnet project has a - in the name, you will receive a build error...
Generator 'InterfaceStubGeneratorV2' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'NullReferenceException' with message 'Object reference not set to an instance of an object.'
If you rename the project to something without the dash it will work fine.

Steps To Reproduce
Create a project (or rename an existing project) to include a - in the name and Build.

Expected behavior
Builds without error.

Environment

  • OS: Mac M1 Arm
  • Version: 12.5
  • Dotnet: 6
  • Refit: 6.3.2
@Clockwork-Muse
Copy link

WAT.

That explains my issue.

@JanterSchure
Copy link

Well that explains it.
Thank you, had some issues last weekend and finally found this one.

@TimothyMakkison
Copy link
Contributor

Fixed by #1921

@ChrisPulman
Copy link
Member

Issue notified as resolved.

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants