Merge pull request #3631 from slide/bz44714
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / GenerateTrustInfo.cs
index 7218744d07165441ed5359bfe90d6fb738dfc9ad..98fd25378d3c187e8631af99889577b15570bab6 100644 (file)
@@ -25,8 +25,8 @@
 // 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 Microsoft.Build.Framework;
 
 namespace Microsoft.Build.Tasks {
@@ -43,7 +43,7 @@ namespace Microsoft.Build.Tasks {
 
                public override bool Execute ()
                {
-                       return true;
+                       throw new NotImplementedException ();
                }
 
                public ITaskItem BaseManifest {
@@ -64,7 +64,6 @@ namespace Microsoft.Build.Tasks {
                        }
                }
 
-               [Required]
                public string TargetZone {
                        get {
                                return targetZone;
@@ -75,6 +74,7 @@ namespace Microsoft.Build.Tasks {
                }
 
                [Required]
+               [Output]
                public ITaskItem TrustInfoFile {
                        get {
                                return trustInfoFile;
@@ -86,4 +86,3 @@ namespace Microsoft.Build.Tasks {
        }
 }
 
-#endif
\ No newline at end of file