[CSHARP-4553] Can't compile with .NET compile tool chain for UWP app Created: 01/Mar/23 Updated: 18/Apr/23 Resolved: 18/Apr/23 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | UWP |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Johnny Lee | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| 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
P.S. I've tested with different version of MongoDB.Driver -> 12.0 - 17.0 build success -> 17.1 - 19.0 build failure |
| Comments |
| Comment by Dmitry Lukyanov (Inactive) [ 18/Apr/23 ] |
|
johnnylee194@gmail.com , please reopen this if you get any new information, |
| Comment by Johnny Lee [ 03/Apr/23 ] |
|
I'd like to close this issue for now since can't get enough feedback from MSFT.
Thanks for your time dmitry.lukyanov@mongodb.com |
| Comment by PM Bot [ 27/Mar/23 ] |
|
Hey johnnylee194@gmail.com, We need additional details to investigate the problem. If this is still an issue for you, please provide the requested information. |
| Comment by Dmitry Lukyanov (Inactive) [ 17/Mar/23 ] |
|
Hey johnnylee194@gmail.com, |
| Comment by Johnny Lee [ 08/Mar/23 ] |
|
Oleg from ZstdSharp fixed a building warning and released 0.7.0 but it still has this internal compiler error I've also opened an issue on visual studio dev and Maria from MSFT said it's a problem with the MongoDB C# driver. Can you help me to look into this issue further? Or how can I dig this deeper? |
| Comment by Johnny Lee [ 03/Mar/23 ] |
|
Thanks for your response, I'll open an issue on ZstdSharp and get back to this issue for any feedback from there. |
| Comment by Dmitry Lukyanov (Inactive) [ 02/Mar/23 ] |
|
Hey johnnylee194@gmail.com, this appears to be a consequence of moving to managed zstd compression impl in 2.18.0. UWP isn’t an officially supported platform by us at this point, so we can't help much on our end. You may want to create an issue in ZstdSharp.Port repo. If they fix it, we will be happy to upgrade the reference in the driver |
| Comment by Johnny Lee [ 01/Mar/23 ] |
|
Sorry, tested info should be -> 2.12.0 - 2.17.1 build success -> 2.18.0 - 2.19.0 build failure |