Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
954397
Regression
No
[OSX] [.NET4.6] VS fails to find System.Runtime.CompilerServices.ExtensionAttribute when using pointer argument in method
To reproduce:
1. Open project
2. Open and run 'Extension' script in VS
3. Repeat 3rd step using MonoDevelop
Expected: both times scripts will run without errors
Actual: When trying to run on VS an error is thrown:
'Error CS1110: Cannot define a new extension method because the compiler required type 'System.Runtime.CompilerServices.ExtensionAttribute' cannot be found. Are you missing a reference to System.Core.dll? (CS1110)'
Reproduced on: 2017.1.0b4, 2017.1.1p3, 2017.2.0f1, 2017.3.0b2
Not reproducible: 2017.1.0b2
Regression introduced between 2017.1.0b2- 2017.1.0b4
Note:
• Not reproducible on Windows
• Reproducible only when scripting runtime is set to .NET4.6
Comments (1)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Errorsatz
Oct 12, 2017 22:37
Why is this marked as "Won't Fix"? It breaks debugging from VS on Mac. That's a pretty significant problem!