none
wrapper project compilation gives warnings RRS feed

  • Question

  •  

    Hi,

     

    I have a .Net wrapper project(.Net 2.0) that wraps number of Dlls written in C++. When i  compile this project i get warnings of following type:

     

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning : Type library importer encountered a property getter 'IsStaticSet' on type "assembly_name' without a valid return type.  The importer will attempt to import this property as a method instead.

     

    Here "IsStaticSet" is a method defined in IDL and accepts VARIANT_BOOL as an arg.

     

    Same warning is given for two other methods.

     

    Can anyone help me solve this warning??

     

    Thanks in Advance,

    Shilpa.

    Monday, March 17, 2008 7:02 AM

All replies