File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 193193 <PropertyGroup Condition =" '$(AppDeployment)' == 'FxDependentDeployment' " >
194194 <!-- If we specify Environment too, it searches that first, no matter what order we specify-->
195195 <AppHostDotNetSearch >Global</AppHostDotNetSearch >
196+ </PropertyGroup >
197+
198+ <!-- Enable ready-to-run only for Release configuration -->
199+ <PropertyGroup Condition =" '$(AppDeployment)' == 'FxDependentDeployment' And '$(Configuration)' == 'Release' " >
196200 <PublishReadyToRun >true</PublishReadyToRun >
197201 <PublishReadyToRunEmitSymbols >true</PublishReadyToRunEmitSymbols >
198202 </PropertyGroup >
199203
200204 <PropertyGroup Condition =" '$(AppDeployment)' == 'SelfContained' " >
201205 <AppHostDotNetSearch >AppLocal</AppHostDotNetSearch >
206+ </PropertyGroup >
207+
208+ <!-- Enable ready-to-run only for Release configuration -->
209+ <PropertyGroup Condition =" '$(AppDeployment)' == 'SelfContained' And '$(Configuration)' == 'Release' " >
202210 <PublishReadyToRun >true</PublishReadyToRun >
203211 <PublishReadyToRunEmitSymbols >true</PublishReadyToRunEmitSymbols >
204212 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments