[CSHARP-3142] mongocrypt.dll not present when using mongocsharpdriver in an 'SDK' project Created: 24/Jun/20 Updated: 28/Oct/23 Resolved: 30/Oct/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Packaging |
| Affects Version/s: | 2.10.4 |
| Fix Version/s: | 2.12.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Razzetti | Assignee: | Mikalai Mazurenka (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Attachments: |
|
| Case: | (copied to CRM) |
| Description |
|
When using mongocsharpdriver 2.10.4 in an 'SDK' project targetting .NET Framework 4.7.2, the mongocrypt.dll file is not present in the output folder upon build completion.
To Reproduce: Create a C# library project using the SDK project-file format. Add mongocsharpdriver Nuget at version 2.10.4 as a dependency. Build the library. Examine the output folder. Note that mongocrypt.dll is absent. Here's an example project file:
Now repeat the exercise using traditional project and packages.config files (examples attached). Note that mongocrypt.dll is present.
The MongoCrypt.png screen-shot shows an output folder comparison between the two projects. |
| Comments |
| Comment by Githook User [ 02/Nov/20 ] |
|
Author: {'name': 'Mikalai Mazurenka', 'email': 'mikalai.mazurenka@mongodb.com', 'username': 'MikalaiMazurenka'}Message: |
| Comment by Githook User [ 29/Oct/20 ] |
|
Author: {'name': 'MikalaiMazurenka', 'email': '55145764+MikalaiMazurenka@users.noreply.github.com', 'username': 'MikalaiMazurenka'}Message: |