Skip to content

Commit

Permalink
Update Greg.dll and Restsharp (#12165)
Browse files Browse the repository at this point in the history
* add null checking to method

* remove greg and rest sharp deps from libraryviewextension

* remove viewextenlibTests ref on restsharp

* updated ref to greg and restsharp - this builds but targets net452 version of restsharp

* update to latest greg version

* revert shared info version

* fix bad merge conflict and bad hint path

* fix

Co-authored-by: michael kirschner <[email protected]>
  • Loading branch information
2 people authored and QilongTang committed Mar 25, 2022
1 parent d98439b commit 03b11f0
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 42 deletions.
9 changes: 5 additions & 4 deletions src/DynamoCore/DynamoCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ limitations under the License.
<Reference Include="Analytics.NET.Google">
<HintPath>..\..\extern\Analytics.NET\Analytics.NET.Google.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=2.0.7843.19074, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.2.0.7843.19074\lib\net48\Greg.dll</HintPath>
<Reference Include="Greg, Version=2.1.7962.24801, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.2.1.7962.24801\lib\net48\Greg.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Expand All @@ -85,14 +85,15 @@ limitations under the License.
<Reference Include="ProtoGeometry, Version=2.12.0.5475, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\DynamoVisualProgramming.LibG_227_0_0.2.12.0.5475\lib\net48\ProtoGeometry.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.12.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/DynamoCore/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="DynamoVisualProgramming.LibG_225_0_0" version="2.12.0.4707" targetFramework="net48" developmentDependency="true" />
<package id="DynamoVisualProgramming.LibG_226_0_0" version="2.12.0.5474" targetFramework="net48" developmentDependency="true" />
<package id="DynamoVisualProgramming.LibG_227_0_0" version="2.12.0.5475" targetFramework="net48" developmentDependency="true" />
<package id="Greg" version="2.0.7843.19074" targetFramework="net48" />
<package id="Greg" version="2.1.7962.24801" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
<package id="RestSharp" version="106.12.0" targetFramework="net48" />
</packages>
8 changes: 4 additions & 4 deletions src/DynamoCoreWpf/DynamoCoreWpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL">
<HintPath>..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=2.0.7843.19074, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Greg, Version=2.1.7962.24801, Culture=neutral, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Greg.2.0.7843.19074\lib\net48\Greg.dll</HintPath>
<HintPath>..\packages\Greg.2.1.7962.24801\lib\net48\Greg.dll</HintPath>
</Reference>
<Reference Include="HelixToolkit, Version=2.16.1.0, Culture=neutral, PublicKeyToken=52aa3500039caf0d, processorArchitecture=MSIL">
<HintPath>..\packages\HelixToolkit.2.16.1\lib\netstandard1.1\HelixToolkit.dll</HintPath>
Expand Down Expand Up @@ -77,8 +77,8 @@
<HintPath>..\packages\DynamoVisualProgramming.LibG_227_0_0.2.12.0.5475\lib\net48\ProtoGeometry.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.12.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="SharpDX, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
<HintPath>..\packages\SharpDX.4.2.0\lib\net45\SharpDX.dll</HintPath>
Expand Down
9 changes: 5 additions & 4 deletions src/DynamoPackages/DynamoPackages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,20 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Greg, Version=2.0.7843.19074, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.2.0.7843.19074\lib\net48\Greg.dll</HintPath>
<Reference Include="Greg, Version=2.1.7962.24801, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.2.1.7962.24801\lib\net48\Greg.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.12.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
Expand Down
2 changes: 1 addition & 1 deletion src/DynamoPackages/PackageDirectoryBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using Dynamo.PackageManager.Interfaces;
using Dynamo.Utilities;
using RestSharp.Serializers;
using RestSharp.Serialization.Json;

namespace Dynamo.PackageManager
{
Expand Down
4 changes: 2 additions & 2 deletions src/DynamoPackages/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Greg" version="2.0.7843.19074" targetFramework="net48" />
<package id="Greg" version="2.1.7962.24801" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
<package id="RestSharp" version="106.12.0" targetFramework="net48" />
</packages>
2 changes: 0 additions & 2 deletions src/LibraryViewExtension/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
<package id="cef.redist.x86" version="3.3325.1758" targetFramework="net48" />
<package id="CefSharp.Common" version="65.0.1" targetFramework="net48" />
<package id="CefSharp.Wpf" version="65.0.1" targetFramework="net48" />
<package id="Greg" version="2.0.7843.19074" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
</packages>
9 changes: 5 additions & 4 deletions test/DynamoCoreTests/DynamoCoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\extern\Analytics.NET\Analytics.NET.Core.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=2.0.7843.19074, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\Greg.2.0.7843.19074\lib\net48\Greg.dll</HintPath>
<Reference Include="Greg, Version=2.1.7962.24801, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\Greg.2.1.7962.24801\lib\net48\Greg.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Moq, Version=4.2.1507.118, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
Expand All @@ -61,12 +61,13 @@
<Reference Include="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.12.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.XML" />
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions test/DynamoCoreTests/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Greg" version="2.0.7843.19074" targetFramework="net48" />
<package id="Greg" version="2.1.7962.24801" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="NUnit" version="2.6.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
<package id="RestSharp" version="106.12.0" targetFramework="net48" />
</packages>
9 changes: 5 additions & 4 deletions test/DynamoCoreWpfTests/DynamoCoreWpfTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<Private>True</Private>
<HintPath>..\..\src\packages\Cyotek.Drawing.BitmapFont.2.0.0\lib\net48\Cyotek.Drawing.BitmapFont.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=2.0.7843.19074, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\Greg.2.0.7843.19074\lib\net48\Greg.dll</HintPath>
<Reference Include="Greg, Version=2.1.7962.24801, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\Greg.2.1.7962.24801\lib\net48\Greg.dll</HintPath>
</Reference>
<Reference Include="HelixToolkit, Version=2.16.1.0, Culture=neutral, PublicKeyToken=52aa3500039caf0d, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\HelixToolkit.2.16.1\lib\netstandard1.1\HelixToolkit.dll</HintPath>
Expand Down Expand Up @@ -83,8 +83,8 @@
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.12.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="SharpDX, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\SharpDX.4.2.0\lib\net45\SharpDX.dll</HintPath>
Expand Down Expand Up @@ -112,6 +112,7 @@
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml" />
Expand Down
4 changes: 2 additions & 2 deletions test/DynamoCoreWpfTests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<packages>
<package id="AvalonEdit" version="4.3.1.9430" targetFramework="net48" />
<package id="Cyotek.Drawing.BitmapFont" version="2.0.0" targetFramework="net48" />
<package id="Greg" version="2.0.7843.19074" targetFramework="net48" />
<package id="Greg" version="2.1.7962.24801" targetFramework="net48" />
<package id="HelixToolkit" version="2.16.1" targetFramework="net48" />
<package id="HelixToolkit.Wpf" version="2.16.1" targetFramework="net48" />
<package id="HelixToolkit.Wpf.SharpDX" version="2.16.1" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="NUnit" version="2.6.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
<package id="RestSharp" version="106.12.0" targetFramework="net48" />
<package id="SharpDX" version="4.2.0" targetFramework="net48" />
<package id="SharpDX.D3DCompiler" version="4.2.0" targetFramework="net48" />
<package id="SharpDX.Direct2D1" version="4.2.0" targetFramework="net48" />
Expand Down
9 changes: 5 additions & 4 deletions test/Libraries/PackageManagerTests/PackageManagerTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Greg, Version=2.0.7843.19074, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\src\packages\Greg.2.0.7843.19074\lib\net48\Greg.dll</HintPath>
<Reference Include="Greg, Version=2.1.7962.24801, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\src\packages\Greg.2.1.7962.24801\lib\net48\Greg.dll</HintPath>
</Reference>
<Reference Include="Moq, Version=4.2.1507.118, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
<HintPath>..\..\..\src\packages\Moq.4.2.1507.0118\lib\net40\Moq.dll</HintPath>
Expand All @@ -48,11 +48,12 @@
<Reference Include="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<HintPath>..\..\..\src\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\..\src\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
<Reference Include="RestSharp, Version=106.12.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\..\..\src\packages\RestSharp.106.12.0\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
Expand Down
4 changes: 2 additions & 2 deletions test/Libraries/PackageManagerTests/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Greg" version="2.0.7843.19074" targetFramework="net48" />
<package id="Greg" version="2.1.7962.24801" targetFramework="net48" />
<package id="Moq" version="4.2.1507.0118" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="NUnit" version="2.6.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
<package id="RestSharp" version="106.12.0" targetFramework="net48" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\src\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
Expand Down
3 changes: 1 addition & 2 deletions test/ViewExtensionLibraryTests/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="cef.redist.x64" version="3.3325.1758" targetFramework="net48" />
<package id="cef.redist.x86" version="3.3325.1758" targetFramework="net48" />
Expand All @@ -7,5 +7,4 @@
<package id="Moq" version="4.2.1507.118" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="NUnit" version="2.6.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
</packages>

0 comments on commit 03b11f0

Please sign in to comment.