43 usages of MSBuild property PublishSingleFile
MSBuildFiles (43)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets (1)
21
<PublishReadyToRunComposite Condition="'$(PublishReadyToRunComposite)' == '' and '$(
PublishSingleFile
)' == 'true' and '$(PublishReadyToRun)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '7.0'">true</PublishReadyToRunComposite>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets (22)
160
<PublishTelemetry Include="PublishSingleFile" Value="$(
PublishSingleFile
)" />
183
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' And '$(_IsExecutable)' != 'true'"
185
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' And '$(_IsExecutable)' == 'true' And '$(TargetFrameworkIdentifier)' != '.NETCoreApp'"
187
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' And
191
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' and '$(RuntimeIdentifier)' == ''"
193
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' and '$(UseAppHost)' != 'true'"
195
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' And
199
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' And
432
Condition="'$(
PublishSingleFile
)' != 'true' or
437
Condition="'$(
PublishSingleFile
)' != 'true' or
572
Condition="'$(
PublishSingleFile
)' == 'true' and
946
<_TrimRuntimeAssets Condition="'$(
PublishSingleFile
)' == 'true' and '$(SelfContained)' == 'true'">true</_TrimRuntimeAssets>
966
Condition="'$(
PublishSingleFile
)' == 'true'">
983
Condition="'$(
PublishSingleFile
)' == 'true'">
1022
Condition="'$(
PublishSingleFile
)' == 'true'"
1070
<_GeneratePublishDependencyFilePropertyInputsCacheToHash Include="$(
PublishSingleFile
)" />
1126
<PublishDepsFilePath Condition=" '$(PublishDepsFilePath)' == '' And '$(
PublishSingleFile
)' != 'true'">$(PublishDir)$(ProjectDepsFileName)</PublishDepsFilePath>
1127
<_IsSingleFilePublish Condition="'$(
PublishSingleFile
)' == ''">false</_IsSingleFilePublish>
1128
<_IsSingleFilePublish Condition="'$(
PublishSingleFile
)' != ''">$(
PublishSingleFile
)</_IsSingleFilePublish>
1218
<FilesCopiedToPublishDir Include="$(PublishedSingleFilePath)" RelativePath="$(PublishedSingleFileName)" IsKeyOutput="true" Condition="'$(
PublishSingleFile
)' == 'true'"/>
1257
Condition="'$(
PublishSingleFile
)' == 'true'"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets (4)
72
'$(
PublishSingleFile
)' == 'true' or
103
'$(
PublishSingleFile
)' == 'true' or
220
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' and '$(RuntimeIdentifier)' == '' and '$(_IsPublishing)' == 'true'"
240
<NETSdkError Condition="'$(
PublishSingleFile
)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' < '3.0'"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Analyzers.targets (1)
77
('$(
PublishSingleFile
)' == 'true' Or '$(PublishAot)' == 'true' Or '$(IsAotCompatible)' == 'true')">true</EnableSingleFileAnalyzer>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (1)
731
<PropertyGroup Condition="'$(
PublishSingleFile
)' == 'true' and
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Common.CurrentVersion.targets (14)
4441
Condition="'$(_DeploymentSignClickOnceManifests)'=='true' and '$(UseAppHost)' == 'true' and '$(
PublishSingleFile
)' != 'true' and '$(_IsExecutable)' == 'true' and exists('$(AppHostIntermediatePath)')" />
4510
<ItemGroup Condition="'$(
PublishSingleFile
)' != 'true'">
4524
<ItemGroup Condition="'$(
PublishSingleFile
)' != 'true'">
4530
<ItemGroup Condition="'$(
PublishSingleFile
)' != 'true'">
4584
<ItemGroup Condition="'$(
PublishSingleFile
)' == 'true'">
4600
Condition="'$(_DeploymentSignClickOnceManifests)'=='true' and '$(_DeploymentLauncherBased)' == 'true' and '$(
PublishSingleFile
)' == 'true'"
4608
<ItemGroup Condition="'$(PublishReadyToRun)' == 'true' and '$(
PublishSingleFile
)' != 'true'">
4622
Condition="'$(_DeploymentSignClickOnceManifests)' == 'true' and '$(PublishReadyToRun)' == 'true' and '$(
PublishSingleFile
)' != 'true'" />
4648
IsSingleFilePublish="$(
PublishSingleFile
)"
6104
Condition="'$(
PublishSingleFile
)' != 'true'"
6135
Condition="'$(
PublishSingleFile
)' != 'true' and '%(_DeploymentManifestDependencies.DependencyType)'=='Install'"/>
6138
Condition="'$(
PublishSingleFile
)' != 'true'"
6149
<ItemGroup Condition="'$(
PublishSingleFile
)' == 'true'">
6155
Condition="'$(
PublishSingleFile
)' == 'true'"