diff options
author | Marek Habersack <grendel@twistedcode.net> | 2012-03-29 17:47:20 +0400 |
---|---|---|
committer | Marek Habersack <grendel@twistedcode.net> | 2012-03-29 17:47:45 +0400 |
commit | dea208a985769c0251315d5f80b873eb03dc6679 (patch) | |
tree | 30920ed08bcd71db08e107323bf4e26ca032c0c0 /mcs/class | |
parent | 706aaed7c772e00b9cec76f8452ef5f1cedfb5e6 (diff) |
System.Web.WebPages imported
Diffstat (limited to 'mcs/class')
4 files changed, 121 insertions, 1 deletions
diff --git a/mcs/class/Makefile b/mcs/class/Makefile index e00a457d3ae..8ffc2f8cb41 100644 --- a/mcs/class/Makefile +++ b/mcs/class/Makefile @@ -186,7 +186,8 @@ net_4_0_dirs := \ System.Data.Services.Client \ System.Data.Services \ System.Json \ - System.Web.Razor + System.Web.Razor \ + System.Web.WebPages.Deployment net_4_0_only_dirs := \ System.ComponentModel.Composition 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 |