Search Issue Tracker

Active

Under Consideration for 2.0.X

Votes

0

Found in [Package]

2.0.20

Issue ID

VS-86

Regression

No

Error "The type or namespace name 'RuntimeInspectorNamespace' could not be found" when the package file path contains the "&" symbol

Package: Visual Studio

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/MainScripts/NewMonoBehaviourScript.cs” Script in Visual Studio
3. Observe Visual Studio Error List or Editor’s Console

Expected result: No Errors exist
Actual result: Error “The type or namespace name 'RuntimeInspectorNamespace' could not be found“ is present

Reproducible with: 2.0.22 (2022.3.61f1), 2.0.23 (2022.3.61f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9)

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Package path contains "&" (ampersand) character in its file path
- Incorrect *.csproj with incorrect XML notation is generated (<Link>Runtime Inspector & Hierarchy\Plugins\RuntimeInspector\Scripts\RuntimeInspector\Fields\RectField.cs</Link>)
- "&" should be "&amp;" in XML

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.