-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Description
Issue Description:
I encountered an issue in .NET MAUI related to project references when creating a new class library with spaces in its name. The issue seems to cause a build failure with the CS0006 error, indicating that the metadata file could not be found.
Steps to Reproduce:
- Create a new class library project in Visual Studio.
- Include spaces in the project name during creation.
- Reference this class library project from a .NET MAUI project.
- Attempt to build the solution.
Expected Behavior:
The .NET MAUI project should be able to reference and build successfully, even if the class library project has spaces in its name.
Actual Behavior:
The build fails with a CS0006 error, stating that the metadata file could not be found.
Environment:
- .NET MAUI version: [8.0.x]
- Visual Studio version: [Visual Studio 2022]
Class Library with space will trigger some errors.
Most of the content in this Report was generated by AI
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response