refit icon indicating copy to clipboard operation
refit copied to clipboard

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

Open mattsmithdev opened this issue 3 years ago • 2 comments

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

mattsmithdev avatar Aug 18 '22 15:08 mattsmithdev

WAT.

That explains my issue.

Clockwork-Muse avatar Feb 01 '23 23:02 Clockwork-Muse

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

JanterSchure avatar Apr 08 '24 20:04 JanterSchure