Examples/Test - Upgrade to .Net 4.7.2

- Reinstall nuget packages to retarget to net472

This brings the branch inline with current `master` and will make it easier to cherry pick CEF update commits
This commit is contained in:
Alex Maitland
2021-07-31 14:01:32 +10:00
parent 9755a1af61
commit ccbe147f38
14 changed files with 114 additions and 133 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CefSharp.Example</RootNamespace>
<AssemblyName>CefSharp.Example</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
+37 -38
View File
@@ -19,7 +19,7 @@ namespace CefSharp.Example.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
@@ -324,7 +324,7 @@ namespace CefSharp.Example.Properties {
/// (async function() {
/// // &lt;embed user provided code here&gt;
///
/// await CefSharp.BindObjectAsync(&quot;boundAsy [rest of string was truncated]&quot;;.
/// await CefSharp.BindObjectAsync(&quot;boundA [rest of string was truncated]&quot;;.
/// </summary>
public static string BindingTest {
get {
@@ -333,23 +333,20 @@ namespace CefSharp.Example.Properties {
}
/// <summary>
/// Looks up a localized string similar to (async () =&gt;
/// Looks up a localized string similar to QUnit.module(&apos;BindingTestAsync&apos;, (hooks) =&gt;
///{
/// // Verify that two objects are completely equal
/// function deepEqual(x, y)
/// hooks.before(async () =&gt;
/// {
/// if ((typeof x == &quot;object&quot; &amp;&amp; x != null) &amp;&amp; (typeof y == &quot;object&quot; &amp;&amp; y != null))
/// {
/// for (var prop in x)
/// {
/// if (prop in y &amp;&amp; (Object.keys(x).length === Object.keys(y).length))
/// {
/// return deepEqual(x[prop], y[prop]);
/// }
/// else
/// {
/// return false;
/// [rest of string was truncated]&quot;;.
/// await CefSharp.BindObjectAsync(&quot;boundAsync&quot;);
/// });
///
/// QUnit.test(&quot;BindObjectAsync Second call with boundAsync param&quot;, async (assert) =&gt;
/// {
/// const res = await CefSharp.BindObjectAsync(&quot;boundAsync&quot;);
/// assert.equal(res.Success, false, &quot;Second call to BindObjectAsync with already bound objects as params returned false.&quot;);
/// });
///
/// QUnit.test(&quot;Async call (Throw .Net Exception)&quot;, async ( [rest of string was truncated]&quot;;.
/// </summary>
public static string BindingTestAsync {
get {
@@ -373,7 +370,7 @@ namespace CefSharp.Example.Properties {
/// (async function() {
/// // &lt;embed user provided code here&gt;
///
/// await CefSharp.BindObjectAsyn [rest of string was truncated]&quot;;.
/// await CefSharp.BindObjectAs [rest of string was truncated]&quot;;.
/// </summary>
public static string BindingTestNetCore {
get {
@@ -398,19 +395,19 @@ namespace CefSharp.Example.Properties {
/// &lt;div id=&quot;qunit-fixture&quot;&gt;&lt;/div&gt;
/// &lt;script src=&quot;https://code.jquery.com/qunit/qunit-2.10.0.js&quot;&gt;&lt;/script&gt;
///
/// [rest of string was truncated]&quot;;.
/// [rest of string was truncated]&quot;;.
/// </summary>
public static string BindingTestsAsyncTask {
get {
return ResourceManager.GetString("BindingTestsAsyncTask", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
///&lt;html&gt;
///&lt;head&gt;
/// &lt;title&gt;Binding Test&lt;/title&gt;
/// &lt;title&gt;Binding Test Single&lt;/title&gt;
/// &lt;link rel=&quot;stylesheet&quot; href=&quot;https://code.jquery.com/qunit/qunit-2.10.0.css&quot;&gt;
///&lt;/head&gt;
///&lt;body&gt;
@@ -419,11 +416,11 @@ namespace CefSharp.Example.Properties {
/// &lt;script src=&quot;https://code.jquery.com/qunit/qunit-2.10.0.js&quot;&gt;&lt;/script&gt;
///
/// &lt;script type=&quot;text/javascript&quot;&gt;
/// (async () =&gt;
/// QUnit.module(&apos;BindingTestSingle&apos;, (hooks) =&gt;
/// {
/// hooks.before(async () =&gt;
/// {
/// await CefSharp.BindObjectAsync(&quot;boundAsync&quot;);
///
/// QUnit.test(&quot;Async [rest of string was truncated]&quot;;.
/// [rest of string was truncated]&quot;;.
/// </summary>
public static string BindingTestSingle {
get {
@@ -432,21 +429,23 @@ namespace CefSharp.Example.Properties {
}
/// <summary>
/// Looks up a localized string similar to (async () =&gt;
/// Looks up a localized string similar to QUnit.module(&apos;BindingTestSync&apos;, (hooks) =&gt;
///{
/// await CefSharp.BindObjectAsync(&quot;bound&quot;);
///
/// QUnit.test(&quot;BindObjectAsync Second call with Bound param&quot;, function (assert)
/// hooks.before(async () =&gt;
/// {
/// let asyncCallback = assert.async();
/// CefSharp.BindObjectAsync(&quot;bound&quot;).then(function (res)
/// {
/// assert.equal(res.Success, false, &quot;Second call to BindObjectAsync with already bound objects as params returned false.&quot;);
/// asyncCallback();
/// });
/// await CefSharp.BindObjectAsync(&quot;bound&quot;);
/// });
///
/// QUnit.test(&quot;bound.repeat(&apos;hi &apos;, 5)&quot;, function ( [rest of string was truncated]&quot;;.
/// QUnit.test(&quot;BindObjectAsync Second call with Bound param&quot;, async (assert) =&gt;
/// {
/// const res = await CefSharp.BindObjectAsync(&quot;bound&quot;);
///
/// assert.equal(res.Success, false, &quot;Second call to BindObjectAsync with already bound objects as params returned false.&quot;);
/// });
///
/// QUnit.test(&quot;bound.repeat(&apos;hi &apos;, 5)&quot;, function (assert)
/// {
/// [rest of string was truncated]&quot;;.
/// </summary>
public static string BindingTestSync {
get {
@@ -724,7 +723,7 @@ namespace CefSharp.Example.Properties {
/// &lt;script type=&quot;text/javascript&quot;&gt;
/// (function()
/// {
/// QUnit.test( &quot;bound.repea [rest of string was truncated]&quot;;.
/// QUnit.test( &quot;bound.rep [rest of string was truncated]&quot;;.
/// </summary>
public static string LegacyBindingTest {
get {
@@ -792,7 +791,7 @@ namespace CefSharp.Example.Properties {
///
/// (async () =&gt;
/// {
/// [rest of string was truncated]&quot;;.
/// [rest of string was truncated]&quot;;.
/// </summary>
public static string PostMessageTest {
get {
+1 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
</packages>
@@ -12,7 +12,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CefSharp.OffScreen.Example</RootNamespace>
<AssemblyName>CefSharp.OffScreen.Example</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
+1 -1
View File
@@ -1,3 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="cef.redist.x64" version="92.0.20" targetFramework="net462" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net462" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net462" developmentDependency="true" />
<package id="cef.redist.x64" version="92.0.20" targetFramework="net472" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net472" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net472" developmentDependency="true" />
</packages>
+1 -1
View File
@@ -14,7 +14,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CefSharp.Test</RootNamespace>
<AssemblyName>CefSharp.Test</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<LangVersion>7.3</LangVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
<appSettings>
<add key="xunit.appDomain" value="denied" />
+28 -28
View File
@@ -1,31 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BrotliSharpLib" version="0.3.3" targetFramework="net462" />
<package id="Castle.Core" version="4.4.0" targetFramework="net462" />
<package id="cef.redist.x64" version="92.0.20" targetFramework="net462" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net462" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net462" developmentDependency="true" />
<package id="Microsoft.Win32.Registry" version="4.7.0" targetFramework="net462" />
<package id="Moq" version="4.13.0" targetFramework="net462" />
<package id="Nito.AsyncEx.Context" version="5.0.0" targetFramework="net462" />
<package id="Nito.AsyncEx.Coordination" version="5.0.0" targetFramework="net462" />
<package id="Nito.AsyncEx.Tasks" version="5.0.0" targetFramework="net462" />
<package id="Nito.Collections.Deque" version="1.0.4" targetFramework="net462" />
<package id="Nito.Disposables" version="2.0.0" targetFramework="net462" />
<package id="Portable.BouncyCastle" version="1.8.5.2" targetFramework="net462" />
<package id="System.Buffers" version="4.5.0" targetFramework="net462" />
<package id="System.Collections.Immutable" version="1.4.0" targetFramework="net462" />
<package id="System.Memory" version="4.5.3" targetFramework="net462" />
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net462" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.6.0" targetFramework="net462" />
<package id="System.Security.AccessControl" version="4.7.0" targetFramework="net462" />
<package id="System.Security.Principal.Windows" version="4.7.0" targetFramework="net462" />
<package id="System.Threading.Tasks.Extensions" version="4.5.3" targetFramework="net462" />
<package id="Titanium.Web.Proxy" version="3.1.1301" targetFramework="net462" />
<package id="xunit.abstractions" version="2.0.3" targetFramework="net462" />
<package id="xunit.assert" version="2.4.1" targetFramework="net462" />
<package id="xunit.extensibility.core" version="2.4.1" targetFramework="net462" />
<package id="xunit.extensibility.execution" version="2.4.1" targetFramework="net462" />
<package id="xunit.runner.visualstudio" version="2.4.1" targetFramework="net462" developmentDependency="true" />
<package id="Xunit.StaFact" version="0.3.18" targetFramework="net462" />
<package id="BrotliSharpLib" version="0.3.3" targetFramework="net472" />
<package id="Castle.Core" version="4.4.0" targetFramework="net472" />
<package id="cef.redist.x64" version="92.0.20" targetFramework="net472" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net472" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net472" developmentDependency="true" />
<package id="Microsoft.Win32.Registry" version="4.7.0" targetFramework="net472" />
<package id="Moq" version="4.13.0" targetFramework="net472" />
<package id="Nito.AsyncEx.Context" version="5.0.0" targetFramework="net472" />
<package id="Nito.AsyncEx.Coordination" version="5.0.0" targetFramework="net472" />
<package id="Nito.AsyncEx.Tasks" version="5.0.0" targetFramework="net472" />
<package id="Nito.Collections.Deque" version="1.0.4" targetFramework="net472" />
<package id="Nito.Disposables" version="2.0.0" targetFramework="net472" />
<package id="Portable.BouncyCastle" version="1.8.5.2" targetFramework="net472" />
<package id="System.Buffers" version="4.5.0" targetFramework="net472" />
<package id="System.Collections.Immutable" version="1.4.0" targetFramework="net472" />
<package id="System.Memory" version="4.5.3" targetFramework="net472" />
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net472" />
<package id="System.Runtime.CompilerServices.Unsafe" version="4.6.0" targetFramework="net472" />
<package id="System.Security.AccessControl" version="4.7.0" targetFramework="net472" />
<package id="System.Security.Principal.Windows" version="4.7.0" targetFramework="net472" />
<package id="System.Threading.Tasks.Extensions" version="4.5.3" targetFramework="net472" />
<package id="Titanium.Web.Proxy" version="3.1.1301" targetFramework="net472" />
<package id="xunit.abstractions" version="2.0.3" targetFramework="net472" />
<package id="xunit.assert" version="2.4.1" targetFramework="net472" />
<package id="xunit.extensibility.core" version="2.4.1" targetFramework="net472" />
<package id="xunit.extensibility.execution" version="2.4.1" targetFramework="net472" />
<package id="xunit.runner.visualstudio" version="2.4.1" targetFramework="net472" developmentDependency="true" />
<package id="Xunit.StaFact" version="0.3.18" targetFramework="net472" />
</packages>
@@ -13,7 +13,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CefSharp.WinForms.Example</RootNamespace>
<AssemblyName>CefSharp.WinForms.Example</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<StartupObject>
</StartupObject>
+34 -52
View File
@@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
@@ -8,10 +8,10 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace CefSharp.WinForms.Example.Properties
{
namespace CefSharp.WinForms.Example.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
@@ -19,110 +19,92 @@ namespace CefSharp.WinForms.Example.Properties
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if (object.ReferenceEquals(resourceMan, null))
{
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CefSharp.WinForms.Example.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set
{
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap chromium256
{
get
{
internal static System.Drawing.Bitmap chromium256 {
get {
object obj = ResourceManager.GetObject("chromium256", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap nav_left_green
{
get
{
internal static System.Drawing.Bitmap nav_left_green {
get {
object obj = ResourceManager.GetObject("nav_left_green", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap nav_plain_green
{
get
{
internal static System.Drawing.Bitmap nav_plain_green {
get {
object obj = ResourceManager.GetObject("nav_plain_green", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap nav_plain_red
{
get
{
internal static System.Drawing.Bitmap nav_plain_red {
get {
object obj = ResourceManager.GetObject("nav_plain_red", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap nav_right_green
{
get
{
internal static System.Drawing.Bitmap nav_right_green {
get {
object obj = ResourceManager.GetObject("nav_right_green", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
+1 -1
View File
@@ -1,3 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
+3 -3
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="cef.redist.x64" version="92.0.20" targetFramework="net462" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net462" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net462" developmentDependency="true" />
<package id="cef.redist.x64" version="92.0.20" targetFramework="net472" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net472" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net472" developmentDependency="true" />
</packages>
+1 -1
View File
@@ -2,5 +2,5 @@
<packages>
<package id="cef.redist.x64" version="92.0.20" targetFramework="net472" />
<package id="cef.redist.x86" version="92.0.20" targetFramework="net472" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net462" developmentDependency="true" />
<package id="Microsoft.Net.Compilers" version="2.9.0" targetFramework="net472" developmentDependency="true" />
</packages>