Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions PowerShell.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -186,21 +186,25 @@
<PropertyGroup Condition=" '$(AppDeployment)' == 'FxDependent' ">
<!-- Specify both to keep existing behavior because we have not had complaints about this scenario -->
<AppHostDotNetSearch>EnvironmentVariable;Global</AppHostDotNetSearch>
<PublishReadyToRun>false</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>false</PublishReadyToRunEmitSymbols>
</PropertyGroup>

<PropertyGroup Condition=" '$(AppDeployment)' == 'FxDependentDeployment' ">
<!-- If we specify Environment too, it searches that first, no matter what order we specify-->
<AppHostDotNetSearch>Global</AppHostDotNetSearch>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols>
</PropertyGroup>

<PropertyGroup Condition=" '$(AppDeployment)' == 'SelfContained' ">
Comment thread
daxian-dbw marked this conversation as resolved.
<AppHostDotNetSearch>AppLocal</AppHostDotNetSearch>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols>
</PropertyGroup>

<!-- Define all OS, release configuration properties -->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PublishReadyToRun>true</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols>
<Optimize>true</Optimize>
<DebugType>portable</DebugType>
</PropertyGroup>
Expand Down
Loading