16 usages of MSBuild property UseWPF
MSBuildFiles (16)
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.props (5)
46
Condition="('$(
UseWPF
)' == 'true') And ('$(UseWindowsForms)' == 'true')"/>
49
Condition="('$(
UseWPF
)' == 'true') And ('$(UseWindowsForms)' != 'true')"/>
52
Condition="('$(
UseWPF
)' != 'true') And ('$(UseWindowsForms)' == 'true')"/>
102
Condition="'$(
UseWPF
)' == 'true'"/>
108
Condition=" ('$(UseWindowsForms)' == 'true') And ('$(
UseWPF
)' == 'true') "/>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.WPF.props (1)
5
<ItemGroup Condition="'$(
UseWPF
)' == 'true' and ('$(ImplicitUsings)' == 'true' or '$(ImplicitUsings)' == 'enable')">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets (1)
257
<NetSdkError Condition="('$(
UseWpf
)' == 'true') and ('$(PublishTrimmed)' == 'true') and ('$(_SuppressWpfTrimError)' != 'true')"
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.BeforeCommon.targets (1)
62
<ImportFrameworkWinFXTargets Condition="'$(ImportFrameworkWinFXTargets)' == '' and '$(
UseWPF
)' != 'true' and '$(TargetFrameworkIdentifier)' == '.NETFramework'">true</ImportFrameworkWinFXTargets>
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets (1)
140
Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(_TargetFrameworkVersionWithoutV), '5.0')) and ('$(UseWindowsForms)' == 'true' or '$(
UseWPF
)' == 'true')">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets (4)
188
<_ProjectTypeRequiresBinaryFormatter Condition="'$(
UseWPF
)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true</_ProjectTypeRequiresBinaryFormatter>
1205
UseWpf="$(
UseWpf
)"
1283
<ItemGroup Condition="'$(
UseWPF
)' != 'true'
1319
and ('$(
UseWpf
)' == 'true' Or '$(UseWindowsForms)' == 'true') ">
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Current\Bin_\amd64\Microsoft.Managed.After.targets (1)
31
Condition="'$(
UseWPF
)' == 'true' or '@(Page)' != '' or '@(ApplicationDefinition)' != '' or '@(XamlPage)' != '' or '@(XamlAppDef)' != ''"
C\ProgramFiles\MicrosoftVisualStudio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\Managed\Microsoft.Managed.DesignTime.targets (2)
130
<ProjectCapability Include="AppSettings" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' Or '$(
UseWPF
)' == 'true' Or '$(UseWindowsForms)' == 'true' " />
140
<ProjectCapability Include="WPF" Condition="'$(
UseWPF
)' == 'true'" />