Skip to content

Commit d47a268

Browse files
committed
the references paths updated per config file
#60
1 parent 0171757 commit d47a268

File tree

8 files changed

+34
-35
lines changed

8 files changed

+34
-35
lines changed

src/DynamoSAP/DynamoSAP.csproj

+8-8
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242
</PropertyGroup>
4343
<ItemGroup>
4444
<Reference Include="DSCoreNodes">
45-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DSCoreNodes.dll</HintPath>
45+
<HintPath>$(DYNAMO_API)\DSCoreNodes.dll</HintPath>
4646
<Private>False</Private>
4747
</Reference>
4848
<Reference Include="DynamoCore">
49-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoCore.dll</HintPath>
49+
<HintPath>$(DYNAMO_API)\DynamoCore.dll</HintPath>
5050
<Private>False</Private>
5151
</Reference>
5252
<Reference Include="DynamoServices">
53-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoServices.dll</HintPath>
53+
<HintPath>$(DYNAMO_API)\DynamoServices.dll</HintPath>
5454
<Private>False</Private>
5555
</Reference>
5656
<Reference Include="DynamoUnits">
57-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoUnits.dll</HintPath>
57+
<HintPath>$(DYNAMO_API)\DynamoUnits.dll</HintPath>
5858
<Private>False</Private>
5959
</Reference>
6060
<Reference Include="PresentationCore" />
6161
<Reference Include="ProtoCore">
62-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\ProtoCore.dll</HintPath>
62+
<HintPath>$(DYNAMO_API)\ProtoCore.dll</HintPath>
6363
<Private>False</Private>
6464
</Reference>
6565
<Reference Include="ProtoGeometry">
66-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\ProtoGeometry.dll</HintPath>
66+
<HintPath>$(DYNAMO_API)\ProtoGeometry.dll</HintPath>
6767
<Private>False</Private>
6868
</Reference>
6969
<Reference Include="SAP2000v16">
@@ -128,11 +128,11 @@
128128
<MakeDir Directories="$(SolutionDir)..\packages\DynamoSAP\dyf" />
129129
<MakeDir Directories="$(SolutionDir)..\packages\DynamoSAP\extra" />
130130
</Target>
131-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
131+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
132132
Other similar extension points exist, see Microsoft.Common.targets.
133133
<Target Name="BeforeBuild">
134134
</Target>
135135
<Target Name="AfterBuild">
136136
</Target>
137137
-->
138-
</Project>
138+
</Project>

src/DynamoSAP/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535

36-
[assembly: AssemblyVersion("0.3.4.0")]
37-
[assembly: AssemblyFileVersion("0.3.4.0")]
36+
[assembly: AssemblyVersion("0.3.5.0")]
37+
[assembly: AssemblyFileVersion("0.3.5.0")]
3838

src/DynamoSAPTests/DynamoSAPTests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<ItemGroup>
3939
<Reference Include="DynamoCore, Version=1.1.0.2094, Culture=neutral, processorArchitecture=MSIL">
4040
<SpecificVersion>False</SpecificVersion>
41-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoCore.dll</HintPath>
41+
<HintPath>$(DYNAMO_API)\DynamoCore.dll</HintPath>
4242
</Reference>
4343
<Reference Include="DynamoSAP, Version=0.2.1.0, Culture=neutral, processorArchitecture=MSIL">
4444
<SpecificVersion>False</SpecificVersion>
@@ -94,11 +94,11 @@
9494
<Compile Include="Properties\AssemblyInfo.cs" />
9595
</ItemGroup>
9696
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
97-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
97+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
9898
Other similar extension points exist, see Microsoft.Common.targets.
9999
<Target Name="BeforeBuild">
100100
</Target>
101101
<Target Name="AfterBuild">
102102
</Target>
103103
-->
104-
</Project>
104+
</Project>

src/DynamoSAP_UI/DynamoSAP_UI.csproj

+7-7
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@
3838
</PropertyGroup>
3939
<ItemGroup>
4040
<Reference Include="CoreNodeModels">
41-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\nodes\CoreNodeModels.dll</HintPath>
41+
<HintPath>$(DYNAMO_API)\nodes\CoreNodeModels.dll</HintPath>
4242
<Private>False</Private>
4343
</Reference>
4444
<Reference Include="DynamoCore, Version=1.1.0.2094, Culture=neutral, processorArchitecture=MSIL">
4545
<SpecificVersion>False</SpecificVersion>
46-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoCore.dll</HintPath>
46+
<HintPath>$(DYNAMO_API)\DynamoCore.dll</HintPath>
4747
<Private>False</Private>
4848
</Reference>
4949
<Reference Include="DynamoServices, Version=1.1.0.2094, Culture=neutral, processorArchitecture=MSIL">
5050
<SpecificVersion>False</SpecificVersion>
51-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoServices.dll</HintPath>
51+
<HintPath>$(DYNAMO_API)\DynamoServices.dll</HintPath>
5252
<Private>False</Private>
5353
</Reference>
5454
<Reference Include="DynamoUtilities, Version=1.1.0.2094, Culture=neutral, processorArchitecture=MSIL">
5555
<SpecificVersion>False</SpecificVersion>
56-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoUtilities.dll</HintPath>
56+
<HintPath>$(DYNAMO_API)\DynamoUtilities.dll</HintPath>
5757
<Private>False</Private>
5858
</Reference>
5959
<Reference Include="ProtoCore, Version=1.1.0.2094, Culture=neutral, processorArchitecture=MSIL">
6060
<SpecificVersion>False</SpecificVersion>
61-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\ProtoCore.dll</HintPath>
61+
<HintPath>$(DYNAMO_API)\ProtoCore.dll</HintPath>
6262
<Private>False</Private>
6363
</Reference>
6464
<Reference Include="SAP2000v16">
@@ -78,11 +78,11 @@
7878
<Compile Include="Properties\AssemblyInfo.cs" />
7979
</ItemGroup>
8080
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
81-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
81+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8282
Other similar extension points exist, see Microsoft.Common.targets.
8383
<Target Name="BeforeBuild">
8484
</Target>
8585
<Target Name="AfterBuild">
8686
</Target>
8787
-->
88-
</Project>
88+
</Project>

src/DynamoSAP_UI/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535

36-
[assembly: AssemblyVersion("0.3.4.0")]
37-
[assembly: AssemblyFileVersion("0.3.4.0")]
36+
[assembly: AssemblyVersion("0.3.5.0")]
37+
[assembly: AssemblyFileVersion("0.3.5.0")]
3838

src/SAPConnection/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535

36-
[assembly: AssemblyVersion("0.3.4.0")]
37-
[assembly: AssemblyFileVersion("0.3.4.0")]
36+
[assembly: AssemblyVersion("0.3.5.0")]
37+
[assembly: AssemblyFileVersion("0.3.5.0")]
3838

src/SAPConnection/SAPConnection.csproj

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets">
4+
<Import Project="$(SolutionDir)/config/CS.props" />
5+
</ImportGroup>
36
<PropertyGroup>
47
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
58
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -35,20 +38,16 @@
3538
</PropertyGroup>
3639
<ItemGroup>
3740
<Reference Include="DynamoServices">
38-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\DynamoServices.dll</HintPath>
41+
<HintPath>$(DYNAMO_API)\DynamoServices.dll</HintPath>
3942
</Reference>
4043
<Reference Include="ProtoGeometry">
41-
<HintPath>..\..\..\..\..\..\..\Program Files\Dynamo\Dynamo Core\1.1\ProtoGeometry.dll</HintPath>
44+
<HintPath>$(DYNAMO_API)\ProtoGeometry.dll</HintPath>
4245
<Private>False</Private>
4346
</Reference>
4447
<Reference Include="SAP2000v16">
45-
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Computers and Structures\SAP2000 16\SAP2000v16.dll</HintPath>
48+
<HintPath>$(SAP2000v16_API)\SAP2000v16.dll</HintPath>
4649
<EmbedInteropTypes>True</EmbedInteropTypes>
4750
</Reference>
48-
<Reference Include="SAP2000v17">
49-
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Computers and Structures\SAP2000 17\SAP2000v17.dll</HintPath>
50-
<Private>False</Private>
51-
</Reference>
5251
<Reference Include="System" />
5352
<Reference Include="System.Core" />
5453
<Reference Include="System.Xml.Linq" />
@@ -81,11 +80,11 @@
8180
</ProjectReference>
8281
</ItemGroup>
8382
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
84-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
83+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8584
Other similar extension points exist, see Microsoft.Common.targets.
8685
<Target Name="BeforeBuild">
8786
</Target>
8887
<Target Name="AfterBuild">
8988
</Target>
9089
-->
91-
</Project>
90+
</Project>

src/config/CS.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<OutputPath Condition="'$(OutputPath)' == ''">$(SolutionDir)..\bin\$(Platform)\$(Configuration)</OutputPath>
66
<NunitPath Condition="'$(NunitPath)' == ''">$(SolutionDir)..\extern\NUnit</NunitPath>
77
<REVIT_API Condition="'$(REVIT_API)' == ''">C:\Program Files\Autodesk\Revit 2015</REVIT_API>
8-
<DYNAMO_API Condition="'$(DYNAMO_API)' == ''">C:\Program Files\Dynamo 0.9</DYNAMO_API>
8+
<DYNAMO_API Condition="'$(DYNAMO_API)' == ''">C:\Program Files\Dynamo\Dynamo Core\1.1</DYNAMO_API>
99
<SAP2000v16_API Condition="'$(SAP2000v16_API)' == ''">C:\Program Files (x86)\Computers and Structures\SAP2000 16</SAP2000v16_API>
1010
<REVIT_VERSION>Revit_2014</REVIT_VERSION>
1111
<BaseIntermediateOutputPath>$(OutputPath)\int\</BaseIntermediateOutputPath>
@@ -31,4 +31,4 @@
3131
<ErrorReport>prompt</ErrorReport>
3232
<WarningLevel>4</WarningLevel>
3333
</PropertyGroup>
34-
</Project>
34+
</Project>

0 commit comments

Comments
 (0)