Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4553

Can't compile with .NET compile tool chain for UWP app

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Unknown Unknown
    • None
    • None
    • UWP
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      Can't compile with .NET compile tool chain (which is used to build release build for UWP app)

       

      Error log:

      C:\Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\microsoft.net.native.compiler\2.2.12-rel-31116-00\tools\Microsoft.NetNative.targets(809,5): error : Internal compiler error: Object reference not set to an instance of an object.

       

      See attachment for full build log output.

       

      Steps to reproduce this error

      1. New project with Visual Studio -> C# Blank App (Universal Windows)
      2. Install MongoDB.Driver (latest stable version 19.0)
      3. Build release x64
      4. Build fail

      P.S. I've tested with different version of MongoDB.Driver

      -> 12.0 - 17.0 build success

      -> 17.1 - 19.0 build failure

      Attachments

        Activity

          People

            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            johnnylee194@gmail.com Johnny Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: