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
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
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!