Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
//
// AssemblyInfo.cs
//
// Author:
// Marek Sieradzki (mare.sieradzki@gmail.com
//
// (C) 2005 Marek Sieradzki
//
// 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 Microsoft.Build.Tasks assembly
[assembly: AssemblyTitle ("Microsoft.Build.Tasks.dll")]
[assembly: AssemblyDescription ("Microsoft.Build.Tasks.dll")]
[assembly: AssemblyDefaultAlias ("Microsoft.Build.Tasks.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion (XBuildConsts.AssemblyVersion)]
[assembly: SatelliteContractVersion (XBuildConsts.AssemblyVersion)]
[assembly: AssemblyInformationalVersion (XBuildConsts.FileVersion)]
[assembly: NeutralResourcesLanguage ("en-US")]
[assembly: ComVisible (false)]
[assembly: Guid ("E3D4D3B9-944C-407b-A82E-B19719EA7FB3")]
[assembly: CLSCompliant (true)]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile("../msfinal.pub")]
[assembly: AssemblyFileVersion (XBuildConsts.FileVersion)]

View File

@@ -0,0 +1,140 @@
2010-07-09 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks.dll.sources: Use
UnknownToolsVersionException.cs from Engine.
2010-04-03 Ankit Jain <jankit@novell.com>
* Makefile: Import tools/xbuild/xbuild_targets.make, which copies
the target and tasks file in the correct place, to allow running
tests with different toolsversion. Copy the config file for the
test assembly. Clean the generated test.dll .
Use the correct target assembly name for 4.0 profile
(ms.build.tasks.v4.0.dll), and for Utilities assembly.
* Microsoft.Build.Tasks_test.dll.sources: Use Consts.cs from Engine
instead of maintaining a copy here.
2010-03-02 Ankit Jain <jankit@novell.com>
Fix tests.
* Makefile (EXTRA_DISTFILES): Add Test/resources/junk.txt .
2010-02-06 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks.dll.sources: Add LC.cs
* Microsoft.Build.Tasks_test.dll.sources: Add LCTest.cs
2010-02-04 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added
WriteLinesToFileTest.cs
2009-12-22 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks.dll.sources: Add DirectoryScanner.cs
from Build.Engine, required by CreateItem.
2009-10-12 Ankit Jain <jankit@novell.com>
* Makefile: Add reference to Microsoft.Build.Engine .
2009-10-08 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added
RemoveDuplicatesTest.cs
2009-09-25 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks.dll.sources: Added
FindAppConfigFile.cs
* Microsoft.Build.Tasks_test.dll.sources: Added
FindAppConfigFileTest.cs
2009-08-14 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added
PcFileCache.cs from md.
2009-07-23 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added
AssignProjectConfigurationTest.cs .
2009-07-22 Ankit Jain <jankit@novell.com>
* Makefile: Add System.Core .
2009-06-08 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks.dll.sources: Added
ResolvedReference.cs
2009-05-14 Ankit Jain <jankit@novell.com>
Fix tests on monobuild
* Makefile (EXTRA_DISTFILES): Add Test/resources/Sample.vb
2009-04-28 Raja R Harinath <harinath@hurrynot.org>
* Makefile (NAME_SUFFIX): New.
(LIBRARY_NAME): Use it.
(TEST_MCS_FLAGS): Don't mention name of library. Use NAME_SUFFIX
as appropriate when referring to other msbuild dlls.
2009-04-27 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added
CreateVisualBasicManifestResourceNameTest.cs .
2009-04-25 Jonathan Chambers <joncham@gmail.com>
* Makefile: Adjust assembly name for 3.5 profile.
2009-02-21 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added CopyTest.cs
2009-01-06 Ankit Jain <jankit@novell.com>
* Makefile (EXTRA_DISTFILES): Add Test/resources/Sample.cs
2008-12-12 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added
CreateCSharpManifestResourceNameTest.cs
2008-11-23 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added AssignCultureTest.cs
2008-11-22 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added AssignTargetPathTest.cs
2008-11-21 Ankit Jain <jankit@novell.com>
* Microsoft.Build.Tasks_test.dll.sources: Added TaskBatchingTest.cs and
TestMessageLogger.cs
2008-11-11 Jonathan Chambers <joncham@gmail.com>
* Microsoft.Build.Tasks_test.dll.sources: Added DeleteTest.cs.
2007-05-11 Raja R Harinath <rharinath@novell.com>
* Makefile (Test/resources/test.dll): Use full name, not just test.dll.
2007-02-18 Marek Sieradzki <marek.sieradzki@gmail.com>
* Makefile: Compile Test/resources/test.cs before test-local.
2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
* Microsoft.Build.Tasks.targets: Removed.
2005-09-09 Marek Sieradzki <marek.sieradzki@gmail.com>
* Microsoft.Build.Tasks.dll.sources: Renamed from
Microsoft.Build.Tasks.sources.
* Makefile: Added reference to System.Windows.Forms.

View File

@@ -0,0 +1,53 @@
thisdir = class/Microsoft.Build.Tasks
SUBDIRS =
include ../../build/rules.make
XBUILD_DIR=$(topdir)/tools/xbuild
include $(XBUILD_DIR)/xbuild.make
LIBRARY = Microsoft.Build.Tasks.dll
LIBRARY_NAME = Microsoft.Build.Tasks$(NAME_SUFFIX).dll
LIB_MCS_FLAGS = \
/r:$(corlib) \
/r:System.dll \
/r:System.Core.dll \
/r:System.Xml.dll \
/r:System.Windows.Forms.dll \
/r:$(XBUILD_UTILITIES) \
/r:$(XBUILD_FRAMEWORK) \
/r:$(XBUILD_ENGINE) \
/r:$(XBUILD_TASKS)
TEST_MCS_FLAGS = \
/r:System.Xml.dll \
/r:$(XBUILD_ENGINE) \
/r:$(XBUILD_FRAMEWORK) \
/r:$(XBUILD_TASKS) \
/r:$(XBUILD_UTILITIES) \
/r:System.Core.dll
ifeq (4, $(FRAMEWORK_VERSION_MAJOR))
TEST_MCS_FLAGS += /r:Microsoft.Build.dll
endif
EXTRA_DISTFILES = \
Test/resources/test.cs \
Test/resources/Sample.cs \
Test/resources/Sample.vb \
Test/resources/junk.txt \
Test/test-config-file*
Test/resources/test.dll: Test/resources/test.cs
$(CSCOMPILE) -target:library Test/resources/test.cs
clean-test-resources:
rm -f Test/resources/test.dll
test-local: Test/resources/test.dll
clean-local: clean-test-resources
include $(XBUILD_DIR)/xbuild_test.make
include ../../build/library.make

View File

@@ -0,0 +1,72 @@
//
// BootstrapperBuilder.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[ClassInterface (ClassInterfaceType.None)]
[Guid ("1D9FE38A-0226-4b95-9C6B-6DFFA2236270")]
[ComVisible (true)]
public class BootstrapperBuilder : IBootstrapperBuilder {
string path;
ProductCollection products;
public BootstrapperBuilder ()
{
}
[MonoTODO]
public BuildResults Build (BuildSettings settings)
{
throw new NotImplementedException ();
}
[MonoTODO]
public string [] GetOutputFolders (string [] productCodes, string culture, string fallbackCulture,
ComponentsLocation componentsLocation)
{
throw new NotImplementedException ();
}
public string Path {
get { return path; }
set { path = value; }
}
public ProductCollection Products {
get { return products; }
}
}
}
#endif

View File

@@ -0,0 +1,65 @@
//
// BuildMessage.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
public class BuildMessage : IBuildMessage {
int help_id;
string help_keyword;
string message;
BuildMessageSeverity severity;
BuildMessage ()
{
}
public int HelpId {
get { return help_id;}
}
public string HelpKeyword {
get { return help_keyword; }
}
public string Message {
get { return message; }
}
public BuildMessageSeverity Severity {
get { return severity; }
}
}
}
#endif

View File

@@ -0,0 +1,45 @@
//
// BuildMessageSeverity.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[Guid ("936D32F9-1A68-4d5e-98EA-044AC9A1AADA")]
[ComVisible (true)]
public enum BuildMessageSeverity {
Info,
Warning,
Error
}
}
#endif

View File

@@ -0,0 +1,69 @@
//
// BuildResults.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[ClassInterface (ClassInterfaceType.None)]
[Guid ("FAD7BA7C-CA00-41e0-A5EF-2DA9A74E58E6")]
[ComVisible (true)]
public class BuildResults : IBuildResults {
string [] component_files;
string key_file;
BuildMessage [] messages;
bool succeeded;
BuildResults ()
{
}
public string[] ComponentFiles {
get { return component_files; }
}
public string KeyFile {
get { return key_file; }
}
public BuildMessage [] Messages {
get { return messages; }
}
public bool Succeeded {
get { return succeeded; }
}
}
}
#endif

View File

@@ -0,0 +1,119 @@
//
// BuildSettings.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[ClassInterface (ClassInterfaceType.None)]
[Guid ("5D13802C-C830-4b41-8E7A-F69D9DD6A095")]
[ComVisible (true)]
public class BuildSettings : IBuildSettings {
string applicationFile;
string applicationName;
string applicationUrl;
ComponentsLocation componentsLocation;
string componentsUrl;
bool copyComponents;
int fallbackLCID;
int lcid;
string outputPath;
ProductBuilderCollection productBuilders;
string supportUrl;
bool validate;
public BuildSettings ()
{
}
public string ApplicationFile {
get { return applicationFile; }
set { applicationFile = value; }
}
public string ApplicationName {
get { return applicationName; }
set { applicationName = value; }
}
public string ApplicationUrl {
get { return applicationUrl; }
set { applicationUrl = value; }
}
public ComponentsLocation ComponentsLocation {
get { return componentsLocation; }
set { componentsLocation = value; }
}
public string ComponentsUrl {
get { return componentsUrl; }
set { componentsUrl = value; }
}
public bool CopyComponents {
get { return copyComponents; }
set { copyComponents = value; }
}
public int FallbackLCID {
get { return fallbackLCID; }
set { fallbackLCID = value; }
}
public int LCID {
get { return lcid; }
set { lcid = value; }
}
public string OutputPath {
get { return outputPath; }
set { outputPath = value; }
}
public ProductBuilderCollection ProductBuilders {
get { return productBuilders; }
}
public string SupportUrl {
get { return supportUrl; }
set { supportUrl = value; }
}
public bool Validate {
get { return validate; }
set { validate = value; }
}
}
}
#endif

View File

@@ -0,0 +1,35 @@
2007-02-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildResults.cs
* ProductBuilder.cs
* BootstrapperBuilder.cs
* ProductCollection.cs
* ProductBuilderCollection.cs
* BuildMessage.cs: corcompare changes.
2006-10-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* ComponentsLocation.cs: Changed order to match MS.
* BootstrapperBuilder.cs: Added GetOutputFolders ().
* IProductCollection.cs, ProductCollection.cs: Changed indexer to
method.
2006-10-12 Marek Sieradzki <marek.sieradzki@gmail.com>
* IProductBuilderCollection.cs
* IBuildMessage.cs
* ComponentsLocation.cs
* BuildSettings.cs
* BuildResults.cs
* ProductBuilder.cs
* IProduct.cs
* IBuildSettings.cs
* IBuildResults.cs
* BootstrapperBuilder.cs
* ProductCollection.cs
* BuildMessageSeverity.cs
* IProductBuilder.cs
* ProductBuilderCollection.cs
* IBootstrapperBuilder.cs
* BuildMessage.cs
* IProductCollection.cs: Added stubs needed for generating docs.

View File

@@ -0,0 +1,45 @@
//
// ComponentsLocation.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[Guid ("12F49949-7B60-49CD-B6A0-2B5E4A638AAF")]
[ComVisible (true)]
public enum ComponentsLocation {
HomeSite,
Relative,
Absolute
}
}
#endif

View File

@@ -0,0 +1,54 @@
//
// IBootstrapperBuilder.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("1D202366-5EEA-4379-9255-6F8CDB8587C9")]
[ComVisible (true)]
public interface IBootstrapperBuilder {
string Path {
get;
set;
}
ProductCollection Products {
get;
}
BuildResults Build (BuildSettings settings);
}
}
#endif

View File

@@ -0,0 +1,59 @@
//
// IBuildMessage.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("E3C981EA-99E6-4f48-8955-1AAFDFB5ACE4")]
[ComVisible (true)]
public interface IBuildMessage {
int HelpId {
get;
}
string HelpKeyword {
get;
}
string Message {
get;
}
BuildMessageSeverity Severity {
get;
}
}
}
#endif

View File

@@ -0,0 +1,59 @@
//
// IBuildResults.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("586B842C-D9C7-43b8-84E4-9CFC3AF9F13B")]
[ComVisible (true)]
public interface IBuildResults {
string[] ComponentFiles {
get;
}
string KeyFile {
get;
}
BuildMessage[] Messages {
get;
}
bool Succeeded {
get;
}
}
}
#endif

View File

@@ -0,0 +1,102 @@
//
// IBuildSettings.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("87EEBC69-0948-4ce6-A2DE-819162B87CC6")]
[ComVisible (true)]
public interface IBuildSettings {
string ApplicationFile {
get;
set;
}
string ApplicationName {
get;
set;
}
string ApplicationUrl {
get;
set;
}
ComponentsLocation ComponentsLocation {
get;
set;
}
string ComponentsUrl {
get;
set;
}
bool CopyComponents {
get;
set;
}
int FallbackLCID {
get;
set;
}
int LCID {
get;
set;
}
string OutputPath {
get;
set;
}
ProductBuilderCollection ProductBuilders {
get;
}
string SupportUrl {
get;
set;
}
bool Validate {
get;
set;
}
}
}
#endif

View File

@@ -0,0 +1,59 @@
//
// IProduct.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("9E81BE3D-530F-4a10-8349-5D5947BA59AD")]
[ComVisible (true)]
public interface IProduct {
ProductCollection Includes {
get;
}
string Name {
get;
}
ProductBuilder ProductBuilder {
get;
}
string ProductCode {
get;
}
}
}
#endif

View File

@@ -0,0 +1,47 @@
//
// IProductBuilder.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("0777432F-A60D-48b3-83DB-90326FE8C96E")]
[ComVisible (true)]
public interface IProductBuilder {
Product Product {
get;
}
}
}
#endif

View File

@@ -0,0 +1,45 @@
//
// IProductBuilderCollection.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("0D593FC0-E3F1-4dad-A674-7EA4D327F79B")]
[ComVisible (true)]
public interface IProductBuilderCollection {
void Add (ProductBuilder builder);
}
}
#endif

View File

@@ -0,0 +1,51 @@
//
// IProductCollection.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[InterfaceType (ComInterfaceType.InterfaceIsDual)]
[Guid ("63F63663-8503-4875-814C-09168E595367")]
[ComVisible (true)]
public interface IProductCollection {
int Count {
get;
}
Product Item (int index);
Product Product (string productCode);
}
}
#endif

View File

@@ -0,0 +1,68 @@
//
// Product.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
[ClassInterface (ClassInterfaceType.None)]
[Guid ("532BF563-A85D-4088-8048-41F51AC5239F")]
[ComVisible (true)]
public class Product : IProduct {
ProductCollection includes;
string name;
ProductBuilder productBuilder;
string productCode;
public Product ()
{
}
public ProductCollection Includes {
get { return includes; }
}
public string Name {
get { return name; }
}
public ProductBuilder ProductBuilder {
get { return productBuilder; }
}
public string ProductCode {
get { return productCode; }
}
}
}
#endif

View File

@@ -0,0 +1,50 @@
//
// ProductBuilder.cs
//
// Author:
// Marek Sieradzki (marek.sieradzki@gmail.com)
//
// (C) 2006 Marek Sieradzki
//
// 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.
#if NET_2_0
using System;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.Bootstrapper {
public class ProductBuilder : IProductBuilder {
Product product;
ProductBuilder ()
{
}
public Product Product {
get { return product; }
}
}
}
#endif

Some files were not shown because too many files have changed in this diff Show More