Skip to content

Commit

Permalink
feat(rhino): re-adds the version fix (#1854)
Browse files Browse the repository at this point in the history
* feat(rhino): re-adds the version fix

* fix(rhino): rhino mac version
  • Loading branch information
teocomi authored Nov 14, 2022
1 parent c1a998f commit 07992c7
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 188 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
<ProjectReference Include="..\..\Core\Transports\DiskTransport\DiskTransport.csproj" />
<ProjectReference Include="..\ConnectorGrasshopperUtils\ConnectorGrasshopperUtils.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="RhinoCommon" Version="6.28.20199.17141" IncludeAssets="compile;build" />
<PackageReference Include="Grasshopper" Version="6.28.20199.17141" IncludeAssets="compile;build" />
<PackageReference Include="GrasshopperAsyncComponent" Version="1.2.3" />
</ItemGroup>
<ItemGroup>
<None Update="SchemaBuilder\SchemaBuilderGen.tt">
<Generator>TextTemplatingFileGenerator</Generator>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Avalonia;
using Avalonia.ReactiveUI;
using ConnectorRhinoShared;
using DesktopUI2;
using DesktopUI2.ViewModels;
using Rhino;
using Rhino.PlugIns;
using Rhino.Runtime;
using Speckle.Core.Api;
using Speckle.Core.Models.Extensions;

[assembly: Guid("8dd5f30b-a13d-4a24-abdc-3e05c8c87143")]

namespace SpeckleRhino
{
public class SpeckleRhinoConnectorPlugin : PlugIn
Expand Down
8 changes: 2 additions & 6 deletions ConnectorRhino/ConnectorRhino6/ConnectorRhino6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

<PropertyGroup>
<TargetFramework>net462</TargetFramework>
<Version>1.0</Version>
<Title>SpeckleRhino</Title>
<Description>Description of SpeckleRhino</Description>
<TargetExt>.rhp</TargetExt>
<Product>ConnectorRhino6</Product>
<RhinoMacLauncher>/Applications/Rhinoceros.app</RhinoMacLauncher>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyName>SpeckleConnectorRhino</AssemblyName>
<Configurations>Debug;Release;Debug Mac;Release Mac</Configurations>
<RootNamespace>SpeckleRhino</RootNamespace>
<PlatformTarget>x64</PlatformTarget>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<Version>2.0.0-dev</Version>
</PropertyGroup>

<ItemGroup>
Expand All @@ -24,10 +24,6 @@
<PackageReference Include="Avalonia" Version="0.10.18" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.18" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.18" />
<PackageReference Include="MSBuild.AssemblyVersion" Version="1.3.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1">
</PackageReference>
<PackageReference Include="RhinoCommon" Version="6.28.20199.17141">
Expand Down
37 changes: 0 additions & 37 deletions ConnectorRhino/ConnectorRhino6/Properties/AssemblyInfo.cs

This file was deleted.

18 changes: 11 additions & 7 deletions ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<Version>1.0</Version>
<Version>2.0.0-dev</Version>
<Title>SpeckleRhino</Title>
<Description>Description of SpeckleRhino</Description>
<TargetExt>.rhp</TargetExt>
<RhinoMacLauncher>/Applications/Rhino 7.app</RhinoMacLauncher>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AssemblyName>SpeckleConnectorRhino</AssemblyName>
<Configurations>Debug;Release;Debug Mac;Release Mac</Configurations>
<RootNamespace>SpeckleRhino</RootNamespace>
<Product>ConnectorRhino7</Product>

<!--NOTE-->
<!--
Since Rhino uses mono we build for win-x64 also on mac
Expand All @@ -26,16 +27,19 @@
<ItemGroup>
<EmbeddedResource Include="EmbeddedResources\**\*" />
</ItemGroup>

<ItemGroup>
<AvaloniaXaml Remove="Properties\**" />
<Compile Remove="Properties\**" />
<EmbeddedResource Remove="Properties\**" />
<None Remove="Properties\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.18" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.18" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.18" />
<PackageReference Include="MSBuild.AssemblyVersion" Version="1.3.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="RhinoCommon" Version="7.4.21078.1001" IncludeAssets="compile;build" >
<PackageReference Include="RhinoCommon" Version="7.4.21078.1001" IncludeAssets="compile;build">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
36 changes: 0 additions & 36 deletions ConnectorRhino/ConnectorRhino7/Properties/AssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<Authors>Speckle</Authors>
<Company />
<Product />
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://speckle.systems/</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
Expand All @@ -27,10 +26,6 @@

<ItemGroup>
<PackageReference Include="Grasshopper" Version="7.4.21078.1001" />
<PackageReference Include="MSBuild.AssemblyVersion" Version="1.3.0" Condition="$([MSBuild]::IsOSPlatform(Windows))">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="RhinoCommon" Version="7.4.21078.1001" IncludeAssets="compile;build" />
</ItemGroup>

Expand All @@ -50,10 +45,6 @@
</ProjectReference>
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\..\..\logo.png">
<Pack>True</Pack>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<Authors>Speckle</Authors>
<Company />
<Product />
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://speckle.systems/</PackageProjectUrl>
<PackageIcon>logo.png</PackageIcon>
Expand All @@ -28,10 +27,6 @@

<ItemGroup>
<PackageReference Include="Grasshopper" Version="7.4.21078.1001" />
<PackageReference Include="MSBuild.AssemblyVersion" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="RhinoCommon" Version="7.4.21078.1001" IncludeAssets="compile;build" />
</ItemGroup>

Expand All @@ -50,10 +45,6 @@
</ProjectReference>
</ItemGroup>

<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\..\..\logo.png">
<Pack>True</Pack>
Expand Down

This file was deleted.

0 comments on commit 07992c7

Please sign in to comment.