You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of Visual Studio are you building with (if any)?
Visual Studio 2022 version 17.7.6
Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?
N/A
Which version of .NET are you building with?
.NET Framework 4.8
If the problem occurs when installing your packages built with WiX, what is the version of Windows the package is running on?
Windows Server 2019
Describe the problem and the steps to reproduce it.
I am developing a managed custom action. The custom action (and entirety of my repo) uses Nuget Package Reference. One of my nugets includes a dependency on Microsoft.Data.SqlClient.SNI.x86.dll. Microsoft.Data.SqlClient.SNI.x86.dll is a native dll and is not getting packaged when the .CA.dll is produced.
In order to work around this issue, I've copied Microsoft.Data.SqlClient.SNI.x86.dll to a separate location in my repo and added it as a content file with "Copy Always" enabled to my custom action project. This seems to get it packaged with the installer.
Describe the behavior you expected and how it differed from the actual behavior.
I would expect all necessary dlls to be included in the final .msi package. It seems like MSBUILD with Nuget Package Reference has problems with bringing along transitive dependencies that are native dlls as discussed here.
The text was updated successfully, but these errors were encountered:
barnson
added
up for grabs
No one volunteered to fix the issue. If you are interested, comment with "I want to fix this issue"
and removed
triage
labels
Nov 14, 2023
The text was updated successfully, but these errors were encountered: