thisdir = class/System.ComponentModel.DataAnnotations
-SUBDIRS = Test
+SUBDIRS =
include ../../build/rules.make
LIBRARY = System.ComponentModel.DataAnnotations.dll
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
-ifneq (net_2_0, $(PROFILE))
-LIBRARY_NAME = dummy-System.Web.DynamicData.dll
+# This is a .NET 3.5+ assembly
+VALID_PROFILE := $(filter net_2_0 net_4_0 net_4_5 monotouch monodroid xammac mobile_static, $(PROFILE))
+ifndef VALID_PROFILE
+LIBRARY_NAME = dummy-System.ComponentModel.DataAnnotations.dll
NO_INSTALL = yes
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes