Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.2.5f1
Issue ID
1075265
Regression
No
The project can't be compiled because Library targeting .NET Standard 2.0 doesn't work
To reproduce:
1. Download attached project "excel-test.zip" and open in Unity
2. Observe Console and you should see two errors:
"Assets\Editor\ExcelDataFoo.cs(10,11): error CS0012: The type 'IDataReader' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
"Assets\Editor\ExcelDataFoo.cs(10,11): error CS0012: The type 'IDataRecord' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'."
Notes:
- This issue appears both on Windows and OSX
- Adding reference does not fix this issue
- This is the version of ExcelDataReader 3.4.0 for .NET Standard 2.0 from Nuget
- The same issue happens with the version targeting .NET Standard 1.3
Reproduced on Unity 2018.1.9f2, 2018.2.6f1 and 2018.3.0a10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment