From dea208a985769c0251315d5f80b873eb03dc6679 Mon Sep 17 00:00:00 2001 From: Marek Habersack Date: Thu, 29 Mar 2012 15:47:20 +0200 Subject: System.Web.WebPages imported --- .../Assembly/AssemblyInfo.cs | 49 ++++++++++++++++++++++ mcs/class/System.Web.WebPages.Deployment/Makefile | 49 ++++++++++++++++++++++ .../System.Web.WebPages.Deployment.dll.sources | 21 ++++++++++ 3 files changed, 119 insertions(+) create mode 100644 mcs/class/System.Web.WebPages.Deployment/Assembly/AssemblyInfo.cs create mode 100644 mcs/class/System.Web.WebPages.Deployment/Makefile create mode 100644 mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.dll.sources (limited to 'mcs/class/System.Web.WebPages.Deployment') diff --git a/mcs/class/System.Web.WebPages.Deployment/Assembly/AssemblyInfo.cs b/mcs/class/System.Web.WebPages.Deployment/Assembly/AssemblyInfo.cs new file mode 100644 index 00000000000..125b7653994 --- /dev/null +++ b/mcs/class/System.Web.WebPages.Deployment/Assembly/AssemblyInfo.cs @@ -0,0 +1,49 @@ +// +// AssemblyInfo.cs +// +// Authors: +// Marek Safar (marek.safar@gmail.com) +// +// Copyright (C) 2007 Novell, Inc (http://www.novell.com) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + +using System; +using System.Reflection; +using System.Resources; +using System.Security; +using System.Security.Permissions; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about the System.Json assembly + +//[assembly: AssemblyTitle ("System.Json.dll")] +//[assembly: AssemblyDescription ("System.Json.dll")] +[assembly: AssemblyDefaultAlias ("System.Web.WebPages.Deployment.dll")] + +[assembly: SatelliteContractVersion (Consts.FxVersion)] +[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)] + +[assembly: AssemblyDelaySign (true)] +[assembly: AssemblyKeyFile ("../winfx.pub")] + diff --git a/mcs/class/System.Web.WebPages.Deployment/Makefile b/mcs/class/System.Web.WebPages.Deployment/Makefile new file mode 100644 index 00000000000..6150b2df386 --- /dev/null +++ b/mcs/class/System.Web.WebPages.Deployment/Makefile @@ -0,0 +1,49 @@ +thisdir = class/System.Web.WebPages.Deployment +SUBDIRS = +include ../../build/rules.make + +LIBRARY = System.Web.WebPages.Deployment.dll +LIBRARY_NAME = System.Web.WebPages.Deployment.dll + +UPSTREAM_DIR = ../../../external/aspnetwebstack/src +RESX_DIST = \ + $(UPSTREAM_DIR)/System.Web.WebPages.Deployment/Resources/ConfigurationResources.resx \ + $(UPSTREAM_DIR)/CommonResources.resx + +RESOURCES = $(subst $(UPSTREAM_DIR),$(build_libdir),$(RESX_DIST:.resx=.resources)) + +LIB_MCS_FLAGS = \ + /warn:1 \ + /noconfig \ + /keyfile:../winfx.pub \ + /r:System.dll \ + /r:System.Core.dll \ + /r:System.Configuration.dll \ + /r:System.Web.dll \ + /r:Microsoft.Web.Infrastructure.dll \ + /d:ASPNETWEBPAGES \ + $(RESOURCES:%=/resource:%) + +EXTRA_DISTFILES = $(RESX_DIST) + +include ../../build/library.make + +$(build_lib): $(RESOURCES) + +# Canned recipe which would be useful, but make doesn't run it for some reason... +#define run-resgen = +# mkdir -p $(dir `echo $@ | $(PLATFORM_CHANGE_SEPARATOR_CMD)`) +# $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)` `echo $@ | $(PLATFORM_CHANGE_SEPARATOR_CMD)` +#endef + +$(build_libdir)/System.Web.WebPages.Deployment/Resources/ConfigurationResources.resources: $(UPSTREAM_DIR)/System.Web.WebPages.Deployment/Resources/ConfigurationResources.resx +# Doesn't work for some reason +# $(run-resgen) + mkdir -p $(dir `echo $@ | $(PLATFORM_CHANGE_SEPARATOR_CMD)`) + $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)` `echo $@ | $(PLATFORM_CHANGE_SEPARATOR_CMD)` + +$(build_libdir)/CommonResources.resources: $(UPSTREAM_DIR)/CommonResources.resx +# Doesn't work for some reason +# $(run-resgen) + mkdir -p $(dir `echo $@ | $(PLATFORM_CHANGE_SEPARATOR_CMD)`) + $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)` `echo $@ | $(PLATFORM_CHANGE_SEPARATOR_CMD)` diff --git a/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.dll.sources b/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.dll.sources new file mode 100644 index 00000000000..66d81799672 --- /dev/null +++ b/mcs/class/System.Web.WebPages.Deployment/System.Web.WebPages.Deployment.dll.sources @@ -0,0 +1,21 @@ +../../build/common/Consts.cs + +Assembly/AssemblyInfo.cs + +../../../external/aspnetwebstack/src/CommonAssemblyInfo.cs +../../../external/aspnetwebstack/src/CommonResources.Designer.cs +../../../external/aspnetwebstack/src/ExceptionHelper.cs +../../../external/aspnetwebstack/src/GlobalSuppressions.cs +../../../external/aspnetwebstack/src/TransparentCommonAssemblyInfo.cs + +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/AppDomainHelper.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/AssemblyUtils.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/BuildManagerWrapper.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/Common/IFileSystem.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/Common/PhysicalFileSystem.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/GlobalSuppressions.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/IBuildManager.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/PreApplicationStartCode.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/Properties/AssemblyInfo.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/Resources/ConfigurationResources.Designer.cs +../../../external/aspnetwebstack/src/System.Web.WebPages.Deployment/WebPagesDeployment.cs -- cgit v1.2.3