5 // Marek Sieradzki (marek.sieradzki@gmail.com)
7 // (C) 2006 Marek Sieradzki
9 // Permission is hereby granted, free of charge, to any person obtaining
10 // a copy of this software and associated documentation files (the
11 // "Software"), to deal in the Software without restriction, including
12 // without limitation the rights to use, copy, modify, merge, publish,
13 // distribute, sublicense, and/or sell copies of the Software, and to
14 // permit persons to whom the Software is furnished to do so, subject to
15 // the following conditions:
17 // The above copyright notice and this permission notice shall be
18 // included in all copies or substantial portions of the Software.
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 using Microsoft.Build.Framework;
32 using Microsoft.Build.Tasks;
34 namespace Microsoft.Build.Tasks {
35 public class SGen : ToolTaskExtension {
37 string buildAssemblyName;
38 string buildAssemblyPath;
43 ITaskItem [] serializationAssembly;
44 string serializationAssemblyName;
45 bool shouldGenerateSerializer;
54 public string BuildAssemblyName {
55 get { return buildAssemblyName; }
56 set { buildAssemblyName = value; }
61 public string BuildAssemblyPath {
62 get { return buildAssemblyPath; }
63 set { buildAssemblyPath = value; }
67 public bool DelaySign {
68 get { return delaySign; }
69 set { delaySign = value; }
73 public string KeyContainer {
74 get { return keyContainer; }
75 set { keyContainer = value; }
79 public string KeyFile {
80 get { return keyFile; }
81 set { keyFile = value; }
85 public string [] References {
86 get { return references; }
87 set { references = value; }
92 public ITaskItem [] SerializationAssembly {
93 get { return serializationAssembly; }
94 set { serializationAssembly = value; }
98 public string SerializationAssemblyName {
99 get { return serializationAssemblyName; }
104 public bool ShouldGenerateSerializer {
105 get { return shouldGenerateSerializer; }
106 set { shouldGenerateSerializer = value; }
111 public bool UseProxyTypes {
112 get { return useProxyTypes; }
113 set { useProxyTypes = value; }
117 protected override string ToolName {
118 get { return "sgen"; }
122 protected override string GenerateCommandLineCommands ()
124 throw new NotImplementedException ();
128 protected override string GenerateFullPathToTool ()
130 throw new NotImplementedException ();
134 protected override bool SkipTaskExecution ()
136 throw new NotImplementedException ();
140 protected override bool ValidateParameters ()
142 throw new NotImplementedException ();