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,60 @@
//
// ApplicationIdentity.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.ManifestUtilities {
[ComVisible (false)]
public sealed class ApplicationIdentity {
public ApplicationIdentity (string url,
AssemblyIdentity deployManifestIdentity,
AssemblyIdentity applicationManifestIdentity)
{
throw new NotImplementedException ();
}
public ApplicationIdentity (string url,
string deployManifestPath,
string applicationManifestPath)
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,195 @@
//
// ApplicationManifest.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.ManifestUtilities {
[ComVisible (false)]
public sealed class ApplicationManifest : AssemblyManifest {
string configFile;
AssemblyReference entryPoint;
string iconFile;
bool isClickOnceManifest;
int maxTargetPath;
string osDescription;
string osSupportUrl;
string osVersion;
TrustInfo trustInfo;
string xmlConfigFile;
AssemblyIdentity xmlEntryPointIdentity;
string xmlEntryPointParameters;
string xmlEntryPointPath;
string xmlIconFile;
string xmlIsClickOnceManifest;
string xmlOSBuild;
string xmlOSDescription;
string xmlOSMajor;
string xmlOSMinor;
string xmlOSRevision;
string xmlOSSupportUrl;
[MonoTODO]
public ApplicationManifest ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public string ConfigFile {
get { return configFile; }
set { configFile = value; }
}
[MonoTODO]
public override AssemblyReference EntryPoint {
get { return entryPoint; }
set { entryPoint = value; }
}
[MonoTODO]
public string IconFile {
get { return iconFile; }
set { iconFile = value; }
}
[MonoTODO]
public bool IsClickOnceManifest {
get { return isClickOnceManifest; }
set { isClickOnceManifest = value; }
}
[MonoTODO]
public int MaxTargetPath {
get { return maxTargetPath; }
set { maxTargetPath = value; }
}
[MonoTODO]
public string OSDescription {
get { return osDescription; }
set { osDescription = value; }
}
[MonoTODO]
public string OSSupportUrl {
get { return osSupportUrl; }
set { osSupportUrl = value; }
}
[MonoTODO]
public string OSVersion {
get { return osVersion; }
set { osVersion = value; }
}
[MonoTODO]
public TrustInfo TrustInfo {
get { return trustInfo; }
set { trustInfo = value; }
}
[MonoTODO]
public string XmlConfigFile {
get { return xmlConfigFile; }
set { xmlConfigFile = value; }
}
[MonoTODO]
public AssemblyIdentity XmlEntryPointIdentity {
get { return xmlEntryPointIdentity; }
set { xmlEntryPointIdentity = value; }
}
[MonoTODO]
public string XmlEntryPointParameters {
get { return xmlEntryPointParameters; }
set { xmlEntryPointParameters = value; }
}
[MonoTODO]
public string XmlEntryPointPath {
get { return xmlEntryPointPath; }
set { xmlEntryPointPath = value; }
}
[MonoTODO]
public string XmlIconFile {
get { return xmlIconFile; }
set { xmlIconFile = value; }
}
[MonoTODO]
public string XmlIsClickOnceManifest {
get { return xmlIsClickOnceManifest; }
set { xmlIsClickOnceManifest = value; }
}
[MonoTODO]
public string XmlOSBuild {
get { return xmlOSBuild; }
set { xmlOSBuild = value; }
}
[MonoTODO]
public string XmlOSDescription {
get { return xmlOSDescription; }
set { xmlOSDescription = value; }
}
[MonoTODO]
public string XmlOSMajor {
get { return xmlOSMajor; }
set { xmlOSMajor = value; }
}
[MonoTODO]
public string XmlOSMinor {
get { return xmlOSMinor; }
set { xmlOSMinor = value; }
}
[MonoTODO]
public string XmlOSRevision {
get { return xmlOSRevision; }
set { xmlOSRevision = value; }
}
[MonoTODO]
public string XmlOSSupportUrl {
get { return xmlOSSupportUrl; }
set { xmlOSSupportUrl = value; }
}
}
}
#endif

View File

@@ -0,0 +1,242 @@
//
// AssemblyIdentity.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.ManifestUtilities {
[ComVisible (false)]
public sealed class AssemblyIdentity {
string culture;
bool isFrameworkAssembly;
bool isNeutralPlatform;
bool isStrongName;
string name;
string processorArchitecture;
string publicKeyToken;
string type;
string version;
string xmlCulture;
string xmlName;
string xmlProcessorArchitecture;
string xmlPublicKeyToken;
string xmlType;
string xmlVersion;
[MonoTODO]
public AssemblyIdentity ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity (AssemblyIdentity identity)
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity (string name)
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity (string name, string version)
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity (string name, string version,
string publicKeyToken, string culture)
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity (string name, string version,
string publicKeyToken, string culture,
string processorArchitecture)
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity (string name, string version,
string publicKeyToken, string culture,
string processorArchitecture,
string type)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static AssemblyIdentity FromAssemblyName (string assemblyName)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static AssemblyIdentity FromFile (string path)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static AssemblyIdentity FromManagedAssembly (string path)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static AssemblyIdentity FromManifest (string path)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static AssemblyIdentity FromNativeAssembly (string path)
{
throw new NotImplementedException ();
}
[MonoTODO]
public string GetFullName (FullNameFlags flags)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override string ToString ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public string Culture {
get { return culture; }
set { culture = value; }
}
[MonoTODO]
public bool IsFrameworkAssembly {
get { return isFrameworkAssembly; }
}
[MonoTODO]
public bool IsNeutralPlatform {
get { return isNeutralPlatform; }
}
[MonoTODO]
public bool IsStrongName {
get { return isStrongName; }
}
[MonoTODO]
public string Name {
get { return name; }
set { name = value; }
}
[MonoTODO]
public string ProcessorArchitecture {
get { return processorArchitecture; }
set { processorArchitecture = value; }
}
[MonoTODO]
public string PublicKeyToken {
get { return publicKeyToken; }
set { publicKeyToken = value; }
}
[MonoTODO]
public string Type {
get { return type; }
set { type = value; }
}
[MonoTODO]
public string Version {
get { return version; }
set { version = value; }
}
[MonoTODO]
public string XmlCulture {
get { return xmlCulture; }
set { xmlCulture = value; }
}
[MonoTODO]
public string XmlName {
get { return xmlName; }
set { xmlName = value; }
}
[MonoTODO]
public string XmlProcessorArchitecture {
get { return xmlProcessorArchitecture; }
set { xmlProcessorArchitecture = value; }
}
[MonoTODO]
public string XmlPublicKeyToken {
get { return xmlPublicKeyToken; }
set { xmlPublicKeyToken = value; }
}
[MonoTODO]
public string XmlType {
get { return xmlType; }
set { xmlType = value; }
}
[MonoTODO]
public string XmlVersion {
get { return xmlVersion; }
set { xmlVersion = value; }
}
[Flags]
public enum FullNameFlags {
Default,
ProcessorArchitecture,
Type,
All
}
}
}
#endif

View File

@@ -0,0 +1,59 @@
//
// AssemblyManifest.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.ManifestUtilities {
[ComVisible (false)]
public class AssemblyManifest : Manifest {
ProxyStub[] externalProxyStubs;
ProxyStub[] xmlExternalProxyStubs;
[MonoTODO]
public AssemblyManifest ()
{
throw new NotImplementedException ();
}
public ProxyStub[] ExternalProxyStubs {
get { return externalProxyStubs; }
}
public ProxyStub[] XmlExternalProxyStubs {
get { return xmlExternalProxyStubs; }
set { xmlExternalProxyStubs = value; }
}
}
}
#endif

View File

@@ -0,0 +1,99 @@
//
// AssemblyReference.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.ManifestUtilities {
[ComVisible (false)]
public sealed class AssemblyReference : BaseReference {
AssemblyIdentity assemblyIdentity;
bool isPrerequisite;
AssemblyReferenceType referenceType;
AssemblyIdentity xmlAssemblyIdentity;
string xmlIsNative;
string xmlIsPrerequisite;
[MonoTODO]
public AssemblyReference ()
{
throw new NotImplementedException ();
}
public override string ToString ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyReference (string path)
{
throw new NotImplementedException ();
}
public AssemblyIdentity AssemblyIdentity {
get { return assemblyIdentity; }
set { assemblyIdentity = value; }
}
public bool IsPrerequisite {
get { return isPrerequisite; }
set { isPrerequisite = value; }
}
public AssemblyReferenceType ReferenceType {
get { return referenceType; }
set { referenceType = value; }
}
public AssemblyIdentity XmlAssemblyIdentity {
get { return xmlAssemblyIdentity; }
set { xmlAssemblyIdentity = value; }
}
public string XmlIsNative {
get { return xmlIsNative; }
set { xmlIsNative = value; }
}
public string XmlIsPrerequisite {
get { return xmlIsPrerequisite; }
set { xmlIsPrerequisite = value; }
}
protected internal override string SortName {
get { return null; }
}
}
}
#endif

View File

@@ -0,0 +1,101 @@
//
// AssemblyReferenceCollection.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.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
[ComVisible (false)]
public sealed class AssemblyReferenceCollection : IEnumerable {
List <AssemblyReference> list;
AssemblyReferenceCollection ()
{
list = new List <AssemblyReference> ();
}
public AssemblyReference Add (AssemblyReference assembly)
{
list.Add (assembly);
return assembly;
}
public AssemblyReference Add (string path)
{
AssemblyReference ar = new AssemblyReference (path);
list.Add (ar);
return ar;
}
public void Clear ()
{
list.Clear ();
}
public AssemblyReference Find (AssemblyIdentity identity)
{
throw new NotImplementedException ();
}
public AssemblyReference Find (string name)
{
throw new NotImplementedException ();
}
public AssemblyReference FindTargetPath (string targetPath)
{
throw new NotImplementedException ();
}
public IEnumerator GetEnumerator ()
{
return list.GetEnumerator ();
}
public void Remove (AssemblyReference assemblyReference)
{
list.Remove (assemblyReference);
}
public int Count {
get { return list.Count; }
}
public AssemblyReference this [int index] {
get { return list [index]; }
}
}
}
#endif

View File

@@ -0,0 +1,44 @@
//
// AssemblyReferenceType.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.ManifestUtilities {
public enum AssemblyReferenceType {
Unspecified,
ClickOnceManifest,
ManagedAssembly,
NativeAssembly
}
}
#endif

View File

@@ -0,0 +1,156 @@
//
// BaseReference.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.ManifestUtilities {
[ComVisible (false)]
public abstract class BaseReference {
string group;
string hash;
bool isOptional;
string resolvedPath;
long size;
string sourcePath;
string targetPath;
string xmlGroup;
string xmlHash;
string xmlHashAlgorithm;
string xmlIsOptional;
string xmlPath;
string xmlSize;
[MonoTODO]
protected internal BaseReference ()
{
throw new NotImplementedException ();
}
[MonoTODO]
protected internal BaseReference (string path)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override string ToString ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public string Group {
get { return group; }
set { group = value; }
}
[MonoTODO]
public string Hash {
get { return hash; }
set { hash = value; }
}
[MonoTODO]
public bool IsOptional {
get { return isOptional; }
set { isOptional = value; }
}
[MonoTODO]
public string ResolvedPath {
get { return resolvedPath; }
set { resolvedPath = value; }
}
[MonoTODO]
public long Size {
get { return size; }
set { size = value; }
}
[MonoTODO]
public string SourcePath {
get { return sourcePath; }
set { sourcePath = value; }
}
[MonoTODO]
public string TargetPath {
get { return targetPath; }
set { targetPath = value; }
}
[MonoTODO]
public string XmlGroup {
get { return xmlGroup; }
set { xmlGroup = value; }
}
[MonoTODO]
public string XmlHash {
get { return xmlHash; }
set { xmlHash = value; }
}
[MonoTODO]
public string XmlHashAlgorithm {
get { return xmlHashAlgorithm; }
set { xmlHashAlgorithm = value; }
}
[MonoTODO]
public string XmlIsOptional {
get { return xmlIsOptional; }
set { xmlIsOptional = value; }
}
[MonoTODO]
public string XmlPath {
get { return xmlPath; }
set { xmlPath = value; }
}
[MonoTODO]
public string XmlSize {
get { return xmlSize; }
set { xmlSize = value; }
}
[MonoTODO]
protected internal abstract string SortName {
get ;
}
}
}
#endif

View File

@@ -0,0 +1,25 @@
2007-02-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* OutputMessageCollection.cs
* OutputMessage.cs
* AssemblyReferenceCollection.cs
* FileReferenceCollection.cs: corcompare changes.
2006-06-15 Marek Sieradzki <marek.sieradzki@gmail.com>
* UpdateUnit.cs, AssemblyReferenceType.cs, OutputMessageType.cs,
AssemblyIdentity.cs: Fixed enums order.
* DeployManifest.cs, Manifest.cs, FileReferenceCollection.cs: Added
missing abstract/sealed.
2006-06-14 Marek Sieradzki <marek.sieradzki@gmail.com>
* ApplicationIdentity.cs, ProxyStub.cs, OutputMessageCollection.cs,
UpdateUnit.cs, DeployManifest.cs, UpdateMode.cs, BaseReference.cs,
ManifestReader.cs, AssemblyIdentity.cs, ApplicationManifest.cs,
TrustInfo.cs, WindowClass.cs, AssemblyReference.cs, FileReference.cs,
AssemblyReferenceType.cs, ManifestWriter.cs, SecurityUtilities.cs,
ComClass.cs, OutputMessage.cs, Manifest.cs, AssemblyManifest.cs,
OutputMessageType.cs, TypeLib.cs, AssemblyReferenceCollection.cs,
FileReferenceCollection.cs: Added stubs.

View File

@@ -0,0 +1,113 @@
//
// ComClass.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.ManifestUtilities {
[ComVisible (false)]
public class ComClass {
string clsId;
string description;
string progId;
string threadingModel;
string tlbId;
string xmlClsId;
string xmlDescription;
string xmlProgId;
string xmlThreadingModel;
string xmlTlbId;
[MonoTODO]
public ComClass ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public string ClsId {
get { return clsId; }
}
[MonoTODO]
public string Description {
get { return description; }
}
[MonoTODO]
public string ProgId {
get { return progId; }
}
[MonoTODO]
public string ThreadingModel {
get { return threadingModel; }
}
[MonoTODO]
public string TlbId {
get { return tlbId; }
}
[MonoTODO]
public string XmlClsId {
get { return xmlClsId; }
set { xmlClsId = value; }
}
[MonoTODO]
public string XmlDescription {
get { return xmlDescription; }
set { xmlDescription = value; }
}
[MonoTODO]
public string XmlProgId {
get { return xmlProgId; }
set { xmlProgId = value; }
}
[MonoTODO]
public string XmlThreadingModel {
get { return xmlThreadingModel; }
set { xmlThreadingModel = value; }
}
[MonoTODO]
public string XmlTlbId {
get { return xmlTlbId; }
set { xmlTlbId = value; }
}
}
}
#endif

View File

@@ -0,0 +1,243 @@
//
// DeployManifest.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.ManifestUtilities {
[ComVisible (false)]
public sealed class DeployManifest : Manifest {
string deploymentUrl;
bool disallowUrlActivation;
AssemblyReference entryPoint;
bool install;
bool mapFileExtensions;
string minimumRequiredVersion;
string product;
string publisher;
string supportUrl;
bool trustUrlParameters;
bool updateEnabled;
int updateInterval;
UpdateMode updateMode;
UpdateUnit updateUnit;
string xmlDeploymentUrl;
string xmlDisallowUrlActivation;
string xmlInstall;
string xmlMapFileExtensions;
string xmlMinimumRequiredVersion;
string xmlProduct;
string xmlPublisher;
string xmlSupportUrl;
string xmlTrustUrlParameters;
string xmlUpdateEnabled;
string xmlUpdateInterval;
string xmlUpdateMode;
string xmlUpdateUnit;
[MonoTODO]
public DeployManifest ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public override void Validate ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public string DeploymentUrl {
get { return deploymentUrl; }
set { deploymentUrl = value; }
}
[MonoTODO]
public bool DisallowUrlActivation {
get { return disallowUrlActivation; }
set { disallowUrlActivation = value; }
}
[MonoTODO]
public override AssemblyReference EntryPoint {
get { return entryPoint; }
set { entryPoint = value; }
}
[MonoTODO]
public bool Install {
get { return install; }
set { install = value; }
}
[MonoTODO]
public bool MapFileExtensions {
get { return mapFileExtensions; }
set { mapFileExtensions = value; }
}
[MonoTODO]
public string MinimumRequiredVersion {
get { return minimumRequiredVersion; }
set { minimumRequiredVersion = value; }
}
[MonoTODO]
public string Product {
get { return product; }
set { product = value; }
}
[MonoTODO]
public string Publisher {
get { return publisher; }
set { publisher = value; }
}
[MonoTODO]
public string SupportUrl {
get { return supportUrl; }
set { supportUrl = value; }
}
[MonoTODO]
public bool TrustUrlParameters {
get { return trustUrlParameters; }
set { trustUrlParameters = value; }
}
[MonoTODO]
public bool UpdateEnabled {
get { return updateEnabled; }
set { updateEnabled = value; }
}
[MonoTODO]
public int UpdateInterval {
get { return updateInterval; }
set { updateInterval = value; }
}
[MonoTODO]
public UpdateMode UpdateMode {
get { return updateMode; }
set { updateMode = value; }
}
[MonoTODO]
public UpdateUnit UpdateUnit {
get { return updateUnit; }
set { updateUnit = value; }
}
[MonoTODO]
public string XmlDeploymentUrl {
get { return xmlDeploymentUrl; }
set { xmlDeploymentUrl = value; }
}
[MonoTODO]
public string XmlDisallowUrlActivation {
get { return xmlDisallowUrlActivation; }
set { xmlDisallowUrlActivation = value; }
}
[MonoTODO]
public string XmlInstall {
get { return xmlInstall; }
set { xmlInstall = value; }
}
[MonoTODO]
public string XmlMapFileExtensions {
get { return xmlMapFileExtensions; }
set { xmlMapFileExtensions = value; }
}
[MonoTODO]
public string XmlMinimumRequiredVersion {
get { return xmlMinimumRequiredVersion; }
set { xmlMinimumRequiredVersion = value; }
}
[MonoTODO]
public string XmlProduct {
get { return xmlProduct; }
set { xmlProduct = value; }
}
[MonoTODO]
public string XmlPublisher {
get { return xmlPublisher; }
set { xmlPublisher = value; }
}
[MonoTODO]
public string XmlSupportUrl {
get { return xmlSupportUrl; }
set { xmlSupportUrl = value; }
}
[MonoTODO]
public string XmlTrustUrlParameters {
get { return xmlTrustUrlParameters; }
set { xmlTrustUrlParameters = value; }
}
[MonoTODO]
public string XmlUpdateEnabled {
get { return xmlUpdateEnabled; }
set { xmlUpdateEnabled = value; }
}
[MonoTODO]
public string XmlUpdateInterval {
get { return xmlUpdateInterval; }
set { xmlUpdateInterval = value; }
}
[MonoTODO]
public string XmlUpdateMode {
get { return xmlUpdateMode; }
set { xmlUpdateMode = value; }
}
[MonoTODO]
public string XmlUpdateUnit {
get { return xmlUpdateUnit; }
set { xmlUpdateUnit = value; }
}
}
}
#endif

View File

@@ -0,0 +1,104 @@
//
// FileReference.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.ManifestUtilities {
[ComVisible (false)]
public sealed class FileReference : BaseReference {
ComClass[] comClasses;
bool isDataFile;
ProxyStub[] proxyStubs;
TypeLib[] typeLibs;
ComClass[] xmlComClasses;
ProxyStub[] xmlProxyStubs;
TypeLib[] xmlTypeLibs;
string xmlWriteableType;
[MonoTODO]
public FileReference ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public FileReference (string path)
{
throw new NotImplementedException ();
}
public ComClass[] ComClasses {
get { return comClasses; }
}
public bool IsDataFile {
get { return isDataFile; }
set { isDataFile = value; }
}
public ProxyStub[] ProxyStubs {
get { return proxyStubs; }
}
public TypeLib[] TypeLibs {
get { return typeLibs; }
}
public ComClass[] XmlComClasses {
get { return xmlComClasses; }
set { xmlComClasses = value; }
}
public ProxyStub[] XmlProxyStubs {
get { return xmlProxyStubs; }
set { xmlProxyStubs = value; }
}
public TypeLib[] XmlTypeLibs {
get { return xmlTypeLibs; }
set { xmlTypeLibs = value; }
}
public string XmlWriteableType {
get { return xmlWriteableType; }
set { xmlWriteableType = value; }
}
protected internal override string SortName {
get { return null; }
}
}
}
#endif

View File

@@ -0,0 +1,99 @@
//
// FileReferenceCollection.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.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
[ComVisible (false)]
public sealed class FileReferenceCollection : IEnumerable {
List <FileReference> list;
FileReferenceCollection ()
{
list = new List <FileReference> ();
}
[MonoTODO]
public FileReference Add (FileReference file)
{
list.Add (file);
return file;
}
[MonoTODO]
public FileReference Add (string path)
{
FileReference fr = new FileReference (path);
list.Add (fr);
return fr;
}
[MonoTODO]
public void Clear ()
{
list.Clear ();
}
[MonoTODO]
public FileReference FindTargetPath (string targetPath)
{
throw new NotImplementedException ();
}
[MonoTODO]
public IEnumerator GetEnumerator ()
{
return list.GetEnumerator ();
}
[MonoTODO]
public void Remove (FileReference file)
{
list.Remove (file);
}
[MonoTODO]
public int Count {
get { return list.Count; }
}
[MonoTODO]
public FileReference this [int index] {
get { return list [index]; }
}
}
}
#endif

View File

@@ -0,0 +1,180 @@
//
// Manifest.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.IO;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
[ComVisible (false)]
public abstract class Manifest {
AssemblyIdentity assemblyIdentity;
AssemblyReferenceCollection assemblyReferences;
string description;
AssemblyReference entryPoint;
FileReferenceCollection fileReferences;
Stream inputStream;
OutputMessageCollection outputMessages;
bool readOnly;
string sourcePath;
AssemblyIdentity xmlAssemblyIdentity;
AssemblyReference[] xmlAssemblyReferences;
string xmlDescription;
FileReference[] xmlFileReferences;
string xmlSchema;
[MonoTODO]
protected internal Manifest ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ResolveFiles ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ResolveFiles (string[] searchPaths)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override string ToString ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void UpdateFileInfo ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void Validate ()
{
throw new NotImplementedException ();
}
[MonoTODO]
protected void ValidatePlatform ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public AssemblyIdentity AssemblyIdentity {
get { return assemblyIdentity; }
set { assemblyIdentity = value; }
}
[MonoTODO]
public AssemblyReferenceCollection AssemblyReferences {
get { return assemblyReferences; }
}
[MonoTODO]
public string Description {
get { return description; }
set { description = value; }
}
[MonoTODO]
public virtual AssemblyReference EntryPoint {
get { return entryPoint; }
set { entryPoint = value; }
}
[MonoTODO]
public FileReferenceCollection FileReferences {
get { return fileReferences; }
}
[MonoTODO]
public Stream InputStream {
get { return inputStream; }
set { inputStream = value; }
}
[MonoTODO]
public OutputMessageCollection OutputMessages {
get { return outputMessages; }
}
[MonoTODO]
public bool ReadOnly {
get { return readOnly; }
set { readOnly = value; }
}
[MonoTODO]
public string SourcePath {
get { return sourcePath; }
set { sourcePath = value; }
}
[MonoTODO]
public AssemblyIdentity XmlAssemblyIdentity {
get { return xmlAssemblyIdentity; }
set { xmlAssemblyIdentity = value; }
}
[MonoTODO]
public AssemblyReference[] XmlAssemblyReferences {
get { return xmlAssemblyReferences; }
set { xmlAssemblyReferences = value; }
}
[MonoTODO]
public string XmlDescription {
get { return xmlDescription; }
set { xmlDescription = value; }
}
[MonoTODO]
public FileReference[] XmlFileReferences {
get { return xmlFileReferences; }
set { xmlFileReferences = value; }
}
[MonoTODO]
public string XmlSchema {
get { return xmlSchema; }
set { xmlSchema = value; }
}
}
}
#endif

View File

@@ -0,0 +1,72 @@
//
// ManifestReader.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.IO;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
[ComVisible (false)]
public static class ManifestReader {
[MonoTODO]
public static Manifest ReadManifest (Stream input,
bool preserveStream)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static Manifest ReadManifest (string path,
bool preserveStream)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static Manifest ReadManifest (string manifestType,
Stream input,
bool preserveStream)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static Manifest ReadManifest (string manifestType,
string path,
bool preserveStream)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,62 @@
//
// ManifestWriter.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.IO;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
[ComVisible (false)]
public static class ManifestWriter {
[MonoTODO]
public static void WriteManifest (Manifest manifest)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static void WriteManifest (Manifest manifest,
Stream output)
{
throw new NotImplementedException ();
}
[MonoTODO]
public static void WriteManifest (Manifest manifest,
string path)
{
throw new NotImplementedException ();
}
}
}
#endif

View File

@@ -0,0 +1,67 @@
//
// OutputMessage.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.ManifestUtilities {
[ComVisible (false)]
public sealed class OutputMessage {
string name;
string text;
OutputMessageType type;
OutputMessage ()
{
}
[MonoTODO]
public string[] GetArguments ()
{
throw new NotImplementedException ();
}
public string Name {
get { return name; }
}
public string Text {
get { return text; }
}
public OutputMessageType Type {
get { return type; }
}
}
}
#endif

View File

@@ -0,0 +1,79 @@
//
// OutputMessageCollection.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.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Build.Framework;
namespace Microsoft.Build.Tasks.Deployment.ManifestUtilities {
[ComVisible (false)]
public sealed class OutputMessageCollection : IEnumerable {
int error_count;
List <OutputMessage> list;
int warning_count;
OutputMessageCollection ()
{
list = new List <OutputMessage> ();
}
[MonoTODO]
public void Clear ()
{
list.Clear ();
}
[MonoTODO]
public IEnumerator GetEnumerator ()
{
return list.GetEnumerator ();
}
[MonoTODO]
public int ErrorCount {
get { return error_count; }
}
[MonoTODO]
public int WarningCount {
get { return warning_count; }
}
[MonoTODO]
public OutputMessage this [int index] {
get { return list [index]; }
}
}
}
#endif

View File

@@ -0,0 +1,44 @@
//
// OutputMessageType.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.ManifestUtilities {
[ComVisible (false)]
public enum OutputMessageType {
Info,
Warning,
Error
}
}
#endif

View File

@@ -0,0 +1,103 @@
//
// ProxyStub.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.ManifestUtilities {
[ComVisible (false)]
public class ProxyStub {
string baseInterface;
string iid;
string name;
string numMethods;
string tlbId;
string xmlBaseInterface;
string xmlIID;
string xmlName;
string xmlNumMethods;
string xmlTlbId;
[MonoTODO]
public ProxyStub ()
{
throw new NotImplementedException ();
}
public string BaseInterface {
get { return baseInterface; }
}
public string IID {
get { return iid; }
}
public string Name {
get { return name; }
}
public string NumMethods {
get { return numMethods; }
}
public string TlbId {
get { return tlbId; }
}
public string XmlBaseInterface {
get { return xmlBaseInterface; }
set { xmlBaseInterface = value; }
}
public string XmlIID {
get { return xmlIID; }
set { xmlIID = value; }
}
public string XmlName {
get { return xmlName; }
set { xmlName = value; }
}
public string XmlNumMethods {
get { return xmlNumMethods; }
set { xmlNumMethods = value; }
}
public string XmlTlbId {
get { return xmlTlbId; }
set { xmlTlbId = value; }
}
}
}
#endif

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