mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* TypeMap.cs : DataContractJsonSerializer in RTM does not seem to reject contract-less types. So populate map for public members. * DataContractJsonSerializer.cs : close XmlWriter to flush stream (and it closes the stream by default). * DataContractJsonSerializerTest.cs : added test for contract-less serialization. * Makefile : add -d:NET_3_5. svn path=/trunk/mcs/; revision=125328
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
thisdir = class/System.ServiceModel.Web
|
|
SUBDIRS =
|
|
include ../../build/rules.make
|
|
|
|
LIBRARY = System.ServiceModel.Web.dll
|
|
LIB_MCS_FLAGS = -r:System.dll -r:System.Xml.dll -r:System.Runtime.Serialization.dll -r:System.ServiceModel.dll
|
|
|
|
ifneq (2.1, $(FRAMEWORK_VERSION))
|
|
LIB_MCS_FLAGS += -d:NET_3_5 -d:NET_3_0 \
|
|
/r:System.Configuration.dll
|
|
endif
|
|
|
|
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
|
|
|
|
EXTRA_DISTFILES = $(RESOURCE_FILES)
|
|
|
|
VALID_PROFILE := $(filter net_2_0 net_2_1_raw, $(PROFILE))
|
|
ifndef VALID_PROFILE
|
|
LIBRARY_NAME = dummy-System.ServiceModel.Web.dll
|
|
NO_INSTALL = yes
|
|
NO_SIGN_ASSEMBLY = yes
|
|
endif
|
|
|
|
test-data-ondotnet:
|
|
csc -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS) Test\\System.ServiceModel.Syndication\\SyndicationSerializerUtil.cs Test\\System.ServiceModel.Syndication\\FeedLib.cs
|
|
./SyndicationSerializerUtil.exe
|
|
|
|
test-data:
|
|
$(LIBRARY_COMPILE) Test/System.ServiceModel.Syndication/SyndicationSerializerUtil.cs Test/System.ServiceModel.Syndication/FeedLib.cs -out:SyndicationSerializerUtil.exe -r:System.ServiceModel.Web.dll $(LIB_MCS_FLAGS)
|
|
./SyndicationSerializerUtil.exe
|
|
|
|
include ../../build/library.make
|