|
11 | 11 | <DefineConstants Condition="'$(TargetPlatformIdentifier)' == 'windows'">$(DefineConstants);TARGET_WINDOWS</DefineConstants> |
12 | 12 | <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetPlatformIdentifier)' == ''">SR.SystemNetQuic_PlatformNotSupported</GeneratePlatformNotSupportedAssemblyMessage> |
13 | 13 | <ApiExclusionListPath Condition="'$(TargetPlatformIdentifier)' == ''">ExcludeApiList.PNSE.txt</ApiExclusionListPath> |
| 14 | + <UseQuicTransportPackage Condition="'$(UseQuicTransportPackage)' == ''">false</UseQuicTransportPackage> |
14 | 15 | </PropertyGroup> |
15 | 16 | <ItemGroup> |
16 | 17 | <AssemblyAttribute Include="System.Runtime.Versioning.RequiresPreviewFeaturesAttribute" /> |
|
137 | 138 | <Reference Include="System.Diagnostics.StackTrace" Condition="'$(Configuration)' == 'Debug'" /> |
138 | 139 | </ItemGroup> |
139 | 140 |
|
140 | | - <!-- Support for deploying msquic --> |
141 | | - <!-- dotnet/msquic transport package |
142 | | - <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows' and |
143 | | - ('$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'x86') and '$(DotNetBuildFromSource)' != 'true'"> |
| 141 | + <!-- Support for deploying msquic on Windows --> |
| 142 | + <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows' and '$(UseQuicTransportPackage)' == 'true' and '$(DotNetBuildFromSource)' != 'true'"> |
144 | 143 | <BinPlaceDir Include="$(MicrosoftNetCoreAppRuntimePackNativeDir)" ItemName="NativeBinPlaceItem" /> |
145 | 144 | <BinPlaceDir Include="$(NetCoreAppCurrentTestHostSharedFrameworkPath)" ItemName="NativeBinPlaceItem" /> |
146 | 145 | <BinPlaceDir Include="$(LibrariesAllBinArtifactsPath)" ItemName="NativeBinPlaceItem" /> |
147 | 146 | <BinPlaceDir Include="$(LibrariesNativeArtifactsPath)" ItemName="NativeBinPlaceItem" /> |
148 | 147 | <NativeBinPlaceItem Include="$(PkgSystem_Net_MsQuic_Transport)\runtimes\win10-$(TargetArchitecture)\native\*" /> |
149 | 148 | </ItemGroup> |
150 | | - --> |
151 | | - <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows' and '$(DotNetBuildFromSource)' != 'true'"> |
| 149 | + <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows' and '$(UseQuicTransportPackage)' != 'true' and '$(DotNetBuildFromSource)' != 'true'"> |
152 | 150 | <BinPlaceDir Include="$(MicrosoftNetCoreAppRuntimePackNativeDir)" ItemName="NativeBinPlaceItem" /> |
153 | 151 | <BinPlaceDir Include="$(NetCoreAppCurrentTestHostSharedFrameworkPath)" ItemName="NativeBinPlaceItem" /> |
154 | 152 | <BinPlaceDir Include="$(LibrariesAllBinArtifactsPath)" ItemName="NativeBinPlaceItem" /> |
|
0 commit comments