Skip to content

Commit

Permalink
Update SDK (#48252)
Browse files Browse the repository at this point in the history
  • Loading branch information
halter73 authored May 30, 2023
1 parent 29c5eed commit 9123301
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion eng/testing/linker/SupportFiles/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<PublishTrimmed>true</PublishTrimmed>
<TrimMode>full</TrimMode>
<PublishSelfContained>true</PublishSelfContained>
<SelfContained>true</SelfContained>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Enable NuGet static graph evaluation to optimize incremental restore -->
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"sdk": {
"version": "8.0.100-preview.5.23257.1"
"version": "8.0.100-preview.5.23275.15"
},
"tools": {
"dotnet": "8.0.100-preview.5.23257.1",
"dotnet": "8.0.100-preview.5.23275.15",
"runtimes": {
"dotnet/x86": [
"$(MicrosoftNETCoreBrowserDebugHostTransportVersion)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public virtual Task<PublishedApplication> Publish(DeploymentParameters deploymen

if (deploymentParameters.ApplicationType == ApplicationType.Standalone)
{
parameters += $" --runtime {GetRuntimeIdentifier(deploymentParameters)}";
parameters += $" --self-contained --runtime {GetRuntimeIdentifier(deploymentParameters)}";
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<!-- ReferenceTestTasks is workaround for https://github.com/dotnet/sdk/issues/2482 -->
<TestAssetPublishProfile Include="Standalone-x64"
Condition=" '$(TargetArchitecture)' != 'arm' "
Properties="RuntimeIdentifier=win-x64;ReferenceTestTasks=false" />
Properties="SelfContained=true;RuntimeIdentifier=win-x64;ReferenceTestTasks=false" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- ReferenceTestTasks is workaround for https://github.com/dotnet/sdk/issues/2482 -->
<TestAssetPublishProfile Include="Standalone-x64"
Condition=" '$(TargetArchitecture)' != 'arm' "
Properties="RuntimeIdentifier=win-x64;ReferenceTestTasks=false" />
Properties="SelfContained=true;RuntimeIdentifier=win-x64;ReferenceTestTasks=false" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<_Command Condition=" '$(ProjectAssetsFile)' != '' ">$(_Command) --assets-file "$(ProjectAssetsFile)"</_Command>
<_Command Condition=" '$(PlatformTarget)' != '' ">$(_Command) --platform "$(PlatformTarget)"</_Command>
<_Command Condition=" '$(PlatformTarget)' == '' AND '$(Platform)' != '' ">$(_Command) --platform "$(Platform)"</_Command>
<_Command Condition=" '$(RuntimeIdentifier)' != '' ">$(_Command) --runtime "$(RuntimeIdentifier)"</_Command>
<_Command Condition=" '$(RuntimeIdentifier)' != '' ">$(_Command) --runtime "$(RuntimeIdentifier) --self-contained"</_Command>
<_Command>$(_Command) $(OpenApiGenerateDocumentsOptions)</_Command>
</PropertyGroup>

Expand Down

0 comments on commit 9123301

Please sign in to comment.