mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
It'd fail with the following errors since e6de24c2d1:
```
MCS [net_4_x-darwin] net_4_x_System.Data.OracleClient_test.dll
Test/System.Data.OracleClient.jvm/MonoTests.System.Data.Utils/ADONetTesterClass.cs(337,71): error CS0012: The type `System.Xml.Serialization.IXmlSerializable' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
...
MCS [net_4_x-darwin] net_4_x_System.Json.Microsoft_test.dll
Test/System.Json/JsonValueTest.cs(23,12): error CS0012: The type `System.Dynamic.IDynamicMetaObjectProvider' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
...
MCS [net_4_x-darwin] DummyAssembly.dll
error CS0518: The predefined type `System.Object' is not defined or imported
error CS0518: The predefined type `System.ValueType' is not defined or imported
```
* [ci] Add compiling class lib tests to mcs job
24 lines
630 B
Makefile
24 lines
630 B
Makefile
thisdir = class/System.Json.Microsoft
|
|
SUBDIRS =
|
|
include ../../build/rules.make
|
|
|
|
RESOURCE_DEFS = System.Json.Properties.Resources,System.Json/Properties/Resources.resx
|
|
|
|
LIBRARY = System.Json.Microsoft.dll
|
|
LIB_REFS = System System.Xml System.Core System.Runtime.Serialization
|
|
LIB_MCS_FLAGS = /d:ASPNETMVC -keyfile:../winfx.pub -delaysign
|
|
EXTRA_DISTFILES = System.Json/Properties/Resources.resx
|
|
|
|
ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
|
|
LIB_REFS += Microsoft.CSharp
|
|
LIB_MCS_FLAGS += -d:FEATURE_DYNAMIC
|
|
endif
|
|
|
|
ifdef MOBILE_DYNAMIC
|
|
LIB_MCS_FLAGS += -d:FEATURE_DYNAMIC
|
|
endif
|
|
|
|
TEST_LIB_REFS = System.Core
|
|
|
|
include ../../build/library.make
|