Skip to content

Commit ad82a1f

Browse files
Merge pull request #119 from bvn-architecture/v1.10.0-beta
v1.10.0 beta
2 parents 8898c83 + a1a30b1 commit ad82a1f

File tree

119 files changed

+7318
-5767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+7318
-5767
lines changed

AddinDeployment/RemoveAddinAllVersions.bat

+5-35
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,11 @@
22

33
pushd %~dp0
44

5-
echo.
6-
echo Removing BatchRvt addin for Revit 2015
7-
call RemoveAddin.bat 2015
8-
9-
echo.
10-
echo Removing BatchRvt addin for Revit 2016
11-
call RemoveAddin.bat 2016
12-
13-
echo.
14-
echo Removing BatchRvt addin for Revit 2017
15-
call RemoveAddin.bat 2017
16-
17-
echo.
18-
echo Removing BatchRvt addin for Revit 2018
19-
call RemoveAddin.bat 2018
20-
21-
echo.
22-
echo Removing BatchRvt addin for Revit 2019
23-
call RemoveAddin.bat 2019
24-
25-
echo.
26-
echo Removing BatchRvt addin for Revit 2020
27-
call RemoveAddin.bat 2020
28-
29-
echo.
30-
echo Removing BatchRvt addin for Revit 2021
31-
call RemoveAddin.bat 2021
32-
33-
echo.
34-
echo Removing BatchRvt addin for Revit 2022
35-
call RemoveAddin.bat 2022
36-
37-
echo.
38-
echo Removing BatchRvt addin for Revit 2023
39-
call RemoveAddin.bat 2023
5+
for %%i in (2015 2016 2017 2018 2019 2020 2021 2022 2023 2024) do (
6+
echo.
7+
echo Removing BatchRvt addin for Revit %%i
8+
call RemoveAddin.bat %%i
9+
)
4010

4111
echo Done.
4212
echo.

BatchRevitDynamo/App.config

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
4+
<runtime>
5+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
6+
<dependentAssembly>
7+
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
8+
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
9+
</dependentAssembly>
10+
</assemblyBinding>
11+
</runtime>
12+
</configuration>

BatchRevitDynamo/BatchRevitDynamo.csproj

+85
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\xunit.core.2.4.2\build\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.4.2\build\xunit.core.props')" />
34
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
45
<PropertyGroup>
56
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -11,6 +12,9 @@
1112
<AssemblyName>BatchRevitDynamo</AssemblyName>
1213
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1314
<FileAlignment>512</FileAlignment>
15+
<LangVersion>latestmajor</LangVersion>
16+
<NuGetPackageImportStamp>
17+
</NuGetPackageImportStamp>
1418
</PropertyGroup>
1519
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
1620
<DebugSymbols>true</DebugSymbols>
@@ -31,6 +35,12 @@
3135
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
3236
</PropertyGroup>
3337
<ItemGroup>
38+
<Reference Include="Castle.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
39+
<HintPath>..\packages\Castle.Core.5.1.0\lib\net462\Castle.Core.dll</HintPath>
40+
</Reference>
41+
<Reference Include="FluentAssertions, Version=6.8.0.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a, processorArchitecture=MSIL">
42+
<HintPath>..\packages\FluentAssertions.6.8.0\lib\net47\FluentAssertions.dll</HintPath>
43+
</Reference>
3444
<Reference Include="IronPython, Version=2.7.0.40, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
3545
<SpecificVersion>False</SpecificVersion>
3646
<HintPath>..\References\IronPython-2.7.3\IronPython.dll</HintPath>
@@ -51,13 +61,61 @@
5161
<SpecificVersion>False</SpecificVersion>
5262
<HintPath>..\References\IronPython-2.7.3\Microsoft.Scripting.Metadata.dll</HintPath>
5363
</Reference>
64+
<Reference Include="Moq, Version=4.18.0.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
65+
<HintPath>..\packages\Moq.4.18.3\lib\net462\Moq.dll</HintPath>
66+
</Reference>
67+
<Reference Include="mscorlib" />
5468
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
5569
<SpecificVersion>False</SpecificVersion>
5670
<HintPath>..\References\JSON.NET\Newtonsoft.Json.dll</HintPath>
5771
</Reference>
5872
<Reference Include="System" />
73+
<Reference Include="System.ComponentModel.Composition" />
74+
<Reference Include="System.Configuration" />
5975
<Reference Include="System.Core" />
6076
<Reference Include="Microsoft.CSharp" />
77+
<Reference Include="System.Data" />
78+
<Reference Include="System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
79+
<HintPath>..\packages\System.IO.4.3.0\lib\net462\System.IO.dll</HintPath>
80+
</Reference>
81+
<Reference Include="System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
82+
<HintPath>..\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll</HintPath>
83+
</Reference>
84+
<Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
85+
<HintPath>..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
86+
</Reference>
87+
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
88+
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
89+
</Reference>
90+
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
91+
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
92+
</Reference>
93+
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
94+
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
95+
</Reference>
96+
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
97+
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
98+
</Reference>
99+
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
100+
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
101+
</Reference>
102+
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
103+
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
104+
</Reference>
105+
<Reference Include="System.Xml" />
106+
<Reference Include="System.Xml.Linq" />
107+
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
108+
<HintPath>..\packages\xunit.abstractions.2.0.3\lib\net35\xunit.abstractions.dll</HintPath>
109+
</Reference>
110+
<Reference Include="xunit.assert, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
111+
<HintPath>..\packages\xunit.assert.2.4.2\lib\netstandard1.1\xunit.assert.dll</HintPath>
112+
</Reference>
113+
<Reference Include="xunit.core, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
114+
<HintPath>..\packages\xunit.extensibility.core.2.4.2\lib\net452\xunit.core.dll</HintPath>
115+
</Reference>
116+
<Reference Include="xunit.execution.desktop, Version=2.4.2.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
117+
<HintPath>..\packages\xunit.extensibility.execution.2.4.2\lib\net452\xunit.execution.desktop.dll</HintPath>
118+
</Reference>
61119
</ItemGroup>
62120
<ItemGroup>
63121
<Compile Include="..\Common\GlobalAssemblyInfo.cs">
@@ -72,5 +130,32 @@
72130
<Name>BatchRvtUtil</Name>
73131
</ProjectReference>
74132
</ItemGroup>
133+
<ItemGroup>
134+
<None Include="App.config" />
135+
<None Include="packages.config" />
136+
</ItemGroup>
137+
<ItemGroup>
138+
<PackageReference Include="FluentAssertions">
139+
<Version>6.12.0</Version>
140+
</PackageReference>
141+
<PackageReference Include="Moq">
142+
<Version>4.20.70</Version>
143+
</PackageReference>
144+
<PackageReference Include="xunit">
145+
<Version>2.7.0</Version>
146+
</PackageReference>
147+
</ItemGroup>
75148
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
149+
<ItemGroup>
150+
<Analyzer Include="..\packages\xunit.analyzers.1.0.0\analyzers\dotnet\cs\xunit.analyzers.dll" />
151+
<Analyzer Include="..\packages\xunit.analyzers.1.0.0\analyzers\dotnet\cs\xunit.analyzers.fixes.dll" />
152+
</ItemGroup>
153+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
154+
<PropertyGroup>
155+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
156+
</PropertyGroup>
157+
<Error Condition="!Exists('..\packages\xunit.core.2.4.2\build\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.4.2\build\xunit.core.props'))" />
158+
<Error Condition="!Exists('..\packages\xunit.core.2.4.2\build\xunit.core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.4.2\build\xunit.core.targets'))" />
159+
</Target>
160+
<Import Project="..\packages\xunit.core.2.4.2\build\xunit.core.targets" Condition="Exists('..\packages\xunit.core.2.4.2\build\xunit.core.targets')" />
76161
</Project>

BatchRevitDynamo/Properties/AssemblyInfo.cs

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

54
// General Information about an assembly is controlled through the following
@@ -20,7 +19,4 @@
2019
[assembly: ComVisible(false)]
2120

2221
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("b2fed296-9ea0-41dd-bb2f-951d481f527b")]
24-
25-
26-
22+
[assembly: Guid("b2fed296-9ea0-41dd-bb2f-951d481f527b")]

0 commit comments

Comments
 (0)