15 usages of MSBuild property UseWindowsForms
MSBuildFiles (15)
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')"/>
105
Condition="('$(
UseWindowsForms
)' == '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.WindowsForms.props (1)
15
<ItemGroup Condition="'$(
UseWindowsForms
)' == 'true' and ('$(ImplicitUsings)' == 'true' or '$(ImplicitUsings)' == 'enable')">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\System.Windows.Forms.Analyzers.props (1)
10
<ItemGroup Condition="('$(
UseWindowsForms
)' == 'true') or ('$(ResolveWinFormsAnalyzersFromSdkRefPack)' == 'false')">
C\hostedtoolcache\windows\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets (1)
255
<NetSdkError Condition="('$(
UseWindowsForms
)' == 'true') and ('$(PublishTrimmed)' == 'true') and ('$(_SuppressWinFormsTrimError)' != 'true')"
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)
187
<_ProjectTypeRequiresBinaryFormatter Condition="'$(
UseWindowsForms
)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true</_ProjectTypeRequiresBinaryFormatter>
1206
UseWindowsForms="$(
UseWindowsForms
)">
1284
and '$(
UseWindowsForms
)' != 'true'
1319
and ('$(UseWpf)' == 'true' Or '$(
UseWindowsForms
)' == 'true') ">
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' " />
141
<ProjectCapability Include="WindowsForms" Condition="'$(
UseWindowsForms
)' == 'true'" />