Skip to content

Commit d855848

Browse files
authored
Merge pull request #27 from tt-acm/dev_newtonsoft_standardization
Newtonsoft Standardization
2 parents b99adb2 + b5b6949 commit d855848

File tree

3 files changed

+34
-17
lines changed

3 files changed

+34
-17
lines changed

src/Spectacles.GrasshopperExporter/Spectacles.Grasshopper.csproj

+20-16
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<FileAlignment>512</FileAlignment>
1515
<IsWebBootstrapper>false</IsWebBootstrapper>
1616
<TargetFrameworkProfile />
17+
<NuGetPackageImportStamp>
18+
</NuGetPackageImportStamp>
1719
</PropertyGroup>
1820
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug32|AnyCPU' ">
1921
<DebugSymbols>true</DebugSymbols>
@@ -43,26 +45,18 @@
4345
<Prefer32Bit>false</Prefer32Bit>
4446
</PropertyGroup>
4547
<ItemGroup>
46-
<Reference Include="GH_IO">
47-
<HintPath>..\..\..\..\..\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\Grasshopper (b45a29b1-4343-4035-989e-044e8580d9cf)\0.9.76.0\GH_IO.dll</HintPath>
48-
<Private>False</Private>
48+
<Reference Include="GH_IO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6a29997d2e6b4f97, processorArchitecture=MSIL">
49+
<HintPath>..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Grasshopper.0.9.76\lib\net35\GH_IO.dll</HintPath>
4950
</Reference>
50-
<Reference Include="GH_Util">
51-
<HintPath>..\..\..\..\..\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\Grasshopper (b45a29b1-4343-4035-989e-044e8580d9cf)\0.9.76.0\GH_Util.dll</HintPath>
52-
<Private>False</Private>
53-
</Reference>
54-
<Reference Include="Grasshopper">
55-
<HintPath>..\..\..\..\..\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\Grasshopper (b45a29b1-4343-4035-989e-044e8580d9cf)\0.9.76.0\Grasshopper.dll</HintPath>
56-
<Private>False</Private>
51+
<Reference Include="Grasshopper, Version=1.0.0.20, Culture=neutral, PublicKeyToken=dda4f5ec2cd80803, processorArchitecture=MSIL">
52+
<HintPath>..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Grasshopper.0.9.76\lib\net35\Grasshopper.dll</HintPath>
5753
</Reference>
5854
<Reference Include="Microsoft.CSharp" />
59-
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
60-
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
61-
<Private>True</Private>
55+
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
56+
<HintPath>..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
6257
</Reference>
63-
<Reference Include="RhinoCommon">
64-
<HintPath>..\..\..\Colibri.Grasshopper\src\Colibri.Grasshopper\References\RhinoCommon.dll</HintPath>
65-
<Private>False</Private>
58+
<Reference Include="RhinoCommon, Version=5.1.30000.16, Culture=neutral, PublicKeyToken=552281e97c755530, processorArchitecture=MSIL">
59+
<HintPath>..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\RhinoCommon.5.12.50810.13095\lib\net35\RhinoCommon.dll</HintPath>
6660
</Reference>
6761
<Reference Include="System" />
6862
<Reference Include="System.Core" />
@@ -117,6 +111,7 @@
117111
</EmbeddedResource>
118112
</ItemGroup>
119113
<ItemGroup>
114+
<None Include="app.config" />
120115
<None Include="packages.config" />
121116
<None Include="Resources\LINE_MAT.png" />
122117
</ItemGroup>
@@ -215,4 +210,13 @@ Erase "$(TargetPath)"</PostBuildEvent>
215210
<StartAction>Program</StartAction>
216211
<Prefer32Bit>false</Prefer32Bit>
217212
</PropertyGroup>
213+
<Import Project="..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\RhinoCommon.5.12.50810.13095\build\net35\RhinoCommon.targets" Condition="Exists('..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\RhinoCommon.5.12.50810.13095\build\net35\RhinoCommon.targets')" />
214+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
215+
<PropertyGroup>
216+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
217+
</PropertyGroup>
218+
<Error Condition="!Exists('..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\RhinoCommon.5.12.50810.13095\build\net35\RhinoCommon.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\RhinoCommon.5.12.50810.13095\build\net35\RhinoCommon.targets'))" />
219+
<Error Condition="!Exists('..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Grasshopper.0.9.76\build\net35\Grasshopper.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Grasshopper.0.9.76\build\net35\Grasshopper.targets'))" />
220+
</Target>
221+
<Import Project="..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Grasshopper.0.9.76\build\net35\Grasshopper.targets" Condition="Exists('..\..\..\CORE.Swarm.Clients\CORE.Swarm.Server\packages\Grasshopper.0.9.76\build\net35\Grasshopper.targets')" />
218222
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="RhinoCommon" publicKeyToken="552281e97c755530" culture="neutral" />
7+
<bindingRedirect oldVersion="0.0.0.0-5.1.30000.16" newVersion="5.1.30000.16" />
8+
</dependentAssembly>
9+
</assemblyBinding>
10+
</runtime>
11+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
3+
<package id="Grasshopper" version="0.9.76" targetFramework="net452" />
4+
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net452" />
5+
<package id="RhinoCommon" version="5.12.50810.13095" targetFramework="net452" />
46
</packages>

0 commit comments

Comments
 (0)