Search Issue Tracker
Fixed
Fixed in 2020.3.X
Votes
0
Found in
2020.3.6f1
2020.3.11f1
Issue ID
1368809
Regression
Yes
Repeated Roslyn Analyzer entries in csproj files when regenerating project files with Visual Studio
How to reproduce:
1. Open the attached project from "1104488_WB-Roslyn.zip"
2. Navigate to Preferences > External Tools > select Visual Studio
3. Check all marks above "Regenerate project files" and click this button multiple times
4. In the projects directory, open e.g. "Unity.VisualStudio.Editor.csproj" with a text editor and see multiple entries
Expected result: Only one entry of the DLLs required is included in the first <ItemGroup> block
Actual result: Multiple entries are included
Reproducible with: 2020.3.6f1, 2020.3.20f1
Not reproducible with: 2019.4.31f1, 2020.3.5f1, 2021.1.24f1, 2021.2.0b14, 2022.1.0a11
Notes:
1. Reproduces in Windows and MacOS with Visual Studio
2. Does not reproduce with Rider
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
No longer reproducible from 2021.1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.23f1