|
56 | 56 | <Compile Include="System\Net\Quic\Implementations\MsQuic\Interop\MsQuicStatusCodes.OSX.cs" /> |
57 | 57 | </ItemGroup> |
58 | 58 | <!-- Project references --> |
59 | | - <ItemGroup Condition="'$(TargetsWindows)' == 'true'"> |
60 | | - <PackageReference Include="System.Net.MsQuic.Transport" PrivateAssets="all" Version="$(SystemNetMsQuicTransportVersion)" /> |
| 59 | + |
| 60 | + <ItemGroup> |
| 61 | + <PackageReference Include="System.Net.MsQuic.Transport" |
| 62 | + Version="$(SystemNetMsQuicTransportVersion)" |
| 63 | + PrivateAssets="all" |
| 64 | + GeneratePathProperty="true" /> |
61 | 65 | </ItemGroup> |
| 66 | + |
62 | 67 | <ItemGroup> |
63 | 68 | <Reference Include="System.Collections" /> |
64 | 69 | <Reference Include="System.Collections.Concurrent" /> |
|
76 | 81 | <Reference Include="System.Threading" /> |
77 | 82 | <Reference Include="System.Threading.Channels" /> |
78 | 83 | </ItemGroup> |
| 84 | + |
79 | 85 | <!-- Support for deploying msquic --> |
| 86 | + <ItemGroup Condition="'$(TargetsWindows)' == 'true' and |
| 87 | + ('$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'x86')"> |
| 88 | + <BinPlaceDir Include="$(MicrosoftNetCoreAppRuntimePackNativeDir)" ItemName="NativeBinPlaceItem" /> |
| 89 | + <BinPlaceDir Include="$(NetCoreAppCurrentTestHostSharedFrameworkPath)" ItemName="NativeBinPlaceItem" /> |
| 90 | + <BinPlaceDir Include="$(NetCoreAppCurrentRuntimePath)" ItemName="NativeBinPlaceItem" /> |
| 91 | + <NativeBinPlaceItem Include="$(PkgSystem_Net_MsQuic_Transport)\runtimes\win10-$(TargetArchitecture)\native\*" /> |
| 92 | + </ItemGroup> |
| 93 | + |
80 | 94 | <ItemGroup> |
81 | | - <Content Include="msquic.dll" Condition="Exists('msquic.dll')"> |
82 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
83 | | - <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
84 | | - </Content> |
85 | | - <Content Include="msquic.pdb" Condition="Exists('msquic.pdb')"> |
86 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
87 | | - <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
88 | | - </Content> |
89 | 95 | <Content Include="libmsquic.dylib" Condition="Exists('libmsquic.dylib')"> |
90 | 96 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
91 | 97 | <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
|
0 commit comments