Skip to content

Commit

Permalink
Revit 2021, .NET 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasfloescher-geberit committed Jun 5, 2020
1 parent 80cc673 commit 2757346
Show file tree
Hide file tree
Showing 23 changed files with 274,968 additions and 72 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
/.vs
/src/.vs
/src/Revit.TestRunner/Revit.TestRunner.csproj.user
/src/bin/RevitAPIUI.xml
/src/bin/RevitAPIUI.dll
/src/bin/RevitAPI.xml
/src/bin/RevitAPI.dll
2 changes: 1 addition & 1 deletion documentation/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ All the code of the add-in lives in the Revit.TestRunner assembly. The ```Main``
Containing some sample Tests, showing how they could be implemented.

### Build the Solution
The solution contains a 'Debug' and 'Release' build configuration for all the supported Revit versions (2018, 2019, 2020). A post-build event calls a power shell script, which will create an add-in file in the %ProgramData%\Autodesk\Revit\Addins\20xx pointing to the fresh compiled Revit.TestRunner.dll. See section Power Shell.
The solution contains a 'Debug' and 'Release' build configuration for all the supported Revit versions (2018, 2019, 2020, 2021). A post-build event calls a power shell script, which will create an add-in file in the %ProgramData%\Autodesk\Revit\Addins\20xx pointing to the fresh compiled Revit.TestRunner.dll. See section Power Shell.


## Precompiled binaries
Expand Down
7 changes: 7 additions & 0 deletions documentation/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Release Notes
* v0.10 [20Q02]

* Revit 2021 Support
* .NET 4.8
* Support of NUnit Attributes 'TestCase'


* v0.9 [19Q04]

* Using NUnit3
Expand Down
4 changes: 4 additions & 0 deletions install/InstallAddin v2021.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
%systemroot%\system32\WindowsPowerShell\v1.0\powershell.exe -file InstallAddin.ps1 2021

pause
Binary file modified install/Revit.TestRunner.SampleTestProject.dll
Binary file not shown.
Binary file modified install/Revit.TestRunner.dll
Binary file not shown.
34 changes: 17 additions & 17 deletions install/Revit.TestRunner.dll.config
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Revit.TestRunner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="Revit.TestRunner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" />
<assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
<log4net>

<appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">

<param name="File" value="C:\\temp\\TestRunner.log" />
<param name="File" value="C:\\temp\\TestRunner.log"/>

<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>

<appendToFile value="true" />
<appendToFile value="true"/>

<rollingStyle value="Size" />
<rollingStyle value="Size"/>

<maxSizeRollBackups value="10" />
<maxSizeRollBackups value="10"/>

<maximumFileSize value="1MB" />
<maximumFileSize value="1MB"/>

<staticLogFileName value="true" />
<staticLogFileName value="true"/>

<layout type="log4net.Layout.PatternLayout">

<conversionPattern value="%date [%thread] %level %logger - %message%newline" />
<conversionPattern value="%date [%thread] %level %logger - %message%newline"/>

</layout>

</appender>

<root>

<level value="ALL" />
<level value="ALL"/>

<appender-ref ref="LogFileAppender" />
<appender-ref ref="LogFileAppender"/>

</root>

</log4net>
<userSettings>
<Revit.TestRunner.Properties.Settings>
<setting name="AssemblyPath" serializeAs="String">
<value />
<value/>
</setting>
</Revit.TestRunner.Properties.Settings>
</userSettings>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
6 changes: 3 additions & 3 deletions src/AssemblyInfo/AssemblyInfo.Version.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Reflection;

[assembly: AssemblyVersion( "0.9.11.0" )]
[assembly: AssemblyFileVersion( "0.9.11.0" )]
[assembly: AssemblyVersion( "0.10.1.0" )]
[assembly: AssemblyFileVersion( "0.10.1.0" )]

[assembly: AssemblyInformationalVersion( "0.9.11.0" )]
[assembly: AssemblyInformationalVersion( "0.10.1.0" )]
Binary file added src/Libs/Revit2021/lib/net47/RevitAPI.dll
Binary file not shown.
Loading

0 comments on commit 2757346

Please sign in to comment.