.Net 6.0 - Add conditional net6.0-windows targetframework
This commit is contained in:
parent
c3b7d5cee0
commit
7df3ceb657
@ -12,6 +12,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
||||||
|
<TargetFrameworks Condition="'$(VisualStudioVersion)'=='17.0'">$(TargetFrameworks);net6.0-windows</TargetFrameworks>
|
||||||
<RootNamespace>CefSharp.MinimalExample.OffScreen</RootNamespace>
|
<RootNamespace>CefSharp.MinimalExample.OffScreen</RootNamespace>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
||||||
|
<TargetFrameworks Condition="'$(VisualStudioVersion)'=='17.0'">$(TargetFrameworks);net6.0-windows</TargetFrameworks>
|
||||||
<UseWindowsForms>true</UseWindowsForms>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace>
|
<RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
||||||
|
<TargetFrameworks Condition="'$(VisualStudioVersion)'=='17.0'">$(TargetFrameworks);net6.0-windows</TargetFrameworks>
|
||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<RootNamespace>CefSharp.MinimalExample.Wpf</RootNamespace>
|
<RootNamespace>CefSharp.MinimalExample.Wpf</RootNamespace>
|
||||||
<ApplicationIcon>chromium-256.ico</ApplicationIcon>
|
<ApplicationIcon>chromium-256.ico</ApplicationIcon>
|
||||||
|
Loading…
Reference in New Issue
Block a user