UsingTasks are not collected expectedly when imports are involved.
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks.Hosting / IVbcHostObject.cs
index 1208cba77e6846f11d3ce8d4136a6923eda3316b..56a24bf2a6598e0a973e57908a9d153fedac83c2 100644 (file)
@@ -32,7 +32,11 @@ using System;
 using System.Runtime.InteropServices;
 
 namespace Microsoft.Build.Tasks.Hosting {
-       public interface IVbcHostObject {
+
+       [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+       [Guid ("7D7AC3BE-253A-40e8-A3FF-357D0DA7C47A")]
+       [ComVisible (true)]
+       public interface IVbcHostObject : ITaskHost {
                void BeginInitialization ();
                
                bool Compile ();
@@ -91,6 +95,8 @@ namespace Microsoft.Build.Tasks.Hosting {
                
                bool SetOptionStrict (bool optionStrict);
                
+               bool SetOptionStrictType (string optionStrictType);
+               
                bool SetOutputAssembly (string outputAssembly);
                
                bool SetPlatform (string platform);