--- /dev/null
+//
+// AspNetCompiler.cs: Task for ASP .NET compiler
+//
+// 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 Microsoft.Build.Framework;
+
+namespace Microsoft.Build.Tasks {
+ public class AspNetCompiler : ToolTaskExtension {
+
+ bool allowPartiallyTrustedCallers;
+ bool clean;
+ bool debug;
+ bool delaySign;
+ bool fixedNames;
+ bool force;
+ string keyContainer;
+ string keyFile;
+ string metabasePath;
+ string physicalPath;
+ string targetPath;
+ bool updateable;
+ string virtualPath;
+
+ public AspNetCompiler ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool Execute ()
+ {
+ return false;
+ }
+
+ [MonoTODO]
+ protected internal override void AddCommandLineCommands (CommandLineBuilderExtension commandLine)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected override string GenerateFullPathToTool ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ protected override bool ValidateParameters ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ public bool AllowPartiallyTrustedCallers {
+ get { return allowPartiallyTrustedCallers; }
+ set { allowPartiallyTrustedCallers = value; }
+ }
+
+ public bool Clean {
+ get { return clean; }
+ set { clean = value; }
+ }
+
+ public bool Debug {
+ get { return debug; }
+ set { debug = value; }
+ }
+
+ public bool DelaySign {
+ get { return delaySign; }
+ set { delaySign = value; }
+ }
+
+ public bool FixedNames {
+ get { return fixedNames; }
+ set { fixedNames = value; }
+ }
+
+ public bool Force {
+ get { return force; }
+ set { force = value; }
+ }
+
+ public string KeyContainer {
+ get { return keyContainer; }
+ set { keyContainer = value; }
+ }
+
+ public string KeyFile {
+ get { return keyFile; }
+ set { keyFile = value; }
+ }
+
+ public string MetabasePath {
+ get { return metabasePath; }
+ set { metabasePath = value; }
+ }
+
+ public string PhysicalPath {
+ get { return physicalPath; }
+ set { physicalPath = value; }
+ }
+
+ public string TargetPath {
+ get { return targetPath; }
+ set { targetPath = value; }
+ }
+
+ public bool Updateable {
+ get { return updateable; }
+ set { updateable = value; }
+ }
+
+ public string VirtualPath {
+ get { return virtualPath; }
+ set { virtualPath = value; }
+ }
+
+ protected override string ToolName {
+ get { return "aspnet_compiler"; }
+ }
+ }
+}
+
+#endif
\ No newline at end of file
--- /dev/null
+//
+// AssignCulture.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 Microsoft.Build.Framework;
+
+namespace Microsoft.Build.Tasks {
+ public class AssignCulture : TaskExtension {
+
+ ITaskItem[] assignedFiles;
+ ITaskItem[] assignedFilesWithCulture;
+ ITaskItem[] assignedFilesWithNoCulture;
+ ITaskItem[] cultureNeutralAssignedFiles;
+ ITaskItem[] files;
+
+ public AssignCulture ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool Execute ()
+ {
+ return false;
+ }
+
+ public ITaskItem[] AssignedFiles {
+ get { return assignedFiles; }
+ }
+
+ public ITaskItem[] AssignedFilesWithCulture {
+ get { return assignedFilesWithCulture; }
+ }
+
+ public ITaskItem[] AssignedFilesWithNoCulture {
+ get { return assignedFilesWithNoCulture; }
+ }
+
+ public ITaskItem[] CultureNeutralAssignedFiles {
+ get { return cultureNeutralAssignedFiles; }
+ }
+
+ public ITaskItem[] Files {
+ get { return files; }
+ set { files = value; }
+ }
+ }
+}
+
+#endif
\ No newline at end of file
--- /dev/null
+//
+// AssignProjectConfiguration.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 Microsoft.Build.Framework;
+
+namespace Microsoft.Build.Tasks {
+ public class AssignProjectConfiguration : ResolveProjectBase {
+
+ ITaskItem[] assignedProjects;
+ string solutionConfigurationContents;
+ ITaskItem[] unassignedProjects;
+
+ public AssignProjectConfiguration ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool Execute ()
+ {
+ return false;
+ }
+
+ public ITaskItem[] AssignedProjects {
+ get { return assignedProjects; }
+ set { assignedProjects = value; }
+ }
+
+ public string SolutionConfigurationContents {
+ get { return solutionConfigurationContents; }
+ set { solutionConfigurationContents = value; }
+ }
+
+ public ITaskItem[] UnassignedProjects {
+ get { return unassignedProjects; }
+ set { unassignedProjects = value; }
+ }
+ }
+}
+
+#endif
\ No newline at end of file
--- /dev/null
+//
+// AssignTargetPath.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 Microsoft.Build.Framework;
+
+namespace Microsoft.Build.Tasks {
+ public class AssignTargetPath : TaskExtension {
+
+ ITaskItem[] assignedFiles;
+ ITaskItem[] files;
+ string rootFolder;
+
+ public AssignTargetPath ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool Execute ()
+ {
+ return false;
+ }
+
+ public ITaskItem[] AssignedFiles {
+ get { return assignedFiles; }
+ }
+
+ public ITaskItem[] Files {
+ get { return files; }
+ set { files = value; }
+ }
+
+ public string RootFolder {
+ get { return rootFolder; }
+ set { rootFolder = value; }
+ }
+ }
+}
+
+#endif
\ No newline at end of file
--- /dev/null
+//
+// CallTarget.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 Microsoft.Build.Framework;
+
+namespace Microsoft.Build.Tasks {
+ public class CallTarget : TaskExtension {
+
+ bool runEachTargetSeparately;
+ ITaskItem[] targetOutputs;
+ string[] targets;
+
+ public CallTarget ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool Execute ()
+ {
+ return false;
+ }
+
+ public bool RunEachTargetSeparately {
+ get { return runEachTargetSeparately; }
+ set { runEachTargetSeparately = value; }
+ }
+
+ public ITaskItem[] TargetOutputs {
+ get { return targetOutputs; }
+ }
+
+ public string[] Targets {
+ get { return targets; }
+ set { targets = value; }
+ }
+ }
+}
+
+#endif
\ No newline at end of file
+2006-06-17 Marek Sieradzki <marek.sieradzki@gmail.com>
+
+ * Error.cs: Added null check and changed return value of Execute () to
+ false.
+ * ResolveProjectBase.cs, AssignTargetPath.cs, CallTarget.cs,
+ AspNetCompiler.cs, AssignCulture.cs, AssignProjectConfiguration.cs:
+ Added stubs.
+
2006-05-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* RegisterAssembly.cs, SignFile.cs, GenerateTrustInfo.cs,
public override bool Execute ()
{
- this.Log.LogError (null, code, helpKeyword, BuildEngine.ProjectFileOfTaskNode,
- BuildEngine.LineNumberOfTaskNode, BuildEngine.ColumnNumberOfTaskNode,
- BuildEngine.LineNumberOfTaskNode, BuildEngine.ColumnNumberOfTaskNode,
- text, null);
- return true;
+ if (Log != null)
+ Log.LogError (null, code, helpKeyword, BuildEngine.ProjectFileOfTaskNode,
+ BuildEngine.LineNumberOfTaskNode, BuildEngine.ColumnNumberOfTaskNode,
+ BuildEngine.LineNumberOfTaskNode, BuildEngine.ColumnNumberOfTaskNode,
+ text, null);
+ return false;
}
public string Code {
--- /dev/null
+//
+// ResolveProjectBase.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 Microsoft.Build.Framework;
+
+namespace Microsoft.Build.Tasks {
+ public abstract class ResolveProjectBase : TaskExtension {
+
+ ITaskItem[] projectReferences;
+
+ [MonoTODO]
+ protected ResolveProjectBase ()
+ {
+ }
+
+ [MonoTODO]
+ public override bool Execute ()
+ {
+ return false;
+ }
+
+ [MonoTODO]
+ protected string GetProjectItem (ITaskItem projectRef)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public ITaskItem[] ProjectReferences {
+ get { return projectReferences; }
+ set { projectReferences = value; }
+ }
+ }
+}
+
+#endif
\ No newline at end of file