Cannot generate serialization code for type 'Microsoft.WindowsAzure.Messaging.Message' RRS feed

  • Question

  • Hi, 

    Our Windows 10 UWP game is mostly C++ but we have a C# wrapper in order to wrap the Azure Notification Hub library WindowsAzure.Messaging.Managed.  So, we have .NET Native enabled for our Release configuration.

    However, when compiling we get the following warning from the .NET Native step:

    sg.exe : warning : SG0002 : Cannot generate serialization code for type 'Microsoft.WindowsAzure.Messaging.Message'

    And notifications don't work.  

    Without <UseDotNetNativeToolchain>true</UseDotNetNativeToolchain> notifications work fine.

    Is there a way to fix this on our end?  Perhaps an addition to the default.rd.xml file?


    • Edited by dswinerd Monday, July 20, 2015 6:29 PM added platform information
    Monday, July 20, 2015 6:19 PM

All replies