Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Added support for Revit 2020 and 2021.
Browse files Browse the repository at this point in the history
Addet build configurations with correct .NET versions.
Fixed the warnings in REVIT 2021 API.
  • Loading branch information
danielaase1337 committed May 6, 2020
1 parent 57b1b6a commit 1ac3288
Show file tree
Hide file tree
Showing 12 changed files with 439 additions and 130 deletions.
4 changes: 2 additions & 2 deletions AssemblyVersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.1")]
[assembly: AssemblyFileVersion("2.2.1")]
[assembly: AssemblyVersion("2.2.2")]
[assembly: AssemblyFileVersion("2.2.2")]
36 changes: 34 additions & 2 deletions BCFier.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.4
# Visual Studio Version 16
VisualStudioVersion = 16.0.29926.136
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bcfier", "Bcfier\Bcfier.csproj", "{503CE2C1-09D7-4F15-BB42-86196EE01ED4}"
EndProject
Expand All @@ -21,12 +21,16 @@ Global
Debug-2017|Any CPU = Debug-2017|Any CPU
Debug-2018|Any CPU = Debug-2018|Any CPU
Debug-2019|Any CPU = Debug-2019|Any CPU
Debug-2020|Any CPU = Debug-2020|Any CPU
Debug-2021|Any CPU = Debug-2021|Any CPU
Release|Any CPU = Release|Any CPU
Release-2015|Any CPU = Release-2015|Any CPU
Release-2016|Any CPU = Release-2016|Any CPU
Release-2017|Any CPU = Release-2017|Any CPU
Release-2018|Any CPU = Release-2018|Any CPU
Release-2019|Any CPU = Release-2019|Any CPU
Release-2020|Any CPU = Release-2020|Any CPU
Release-2021|Any CPU = Release-2021|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -41,6 +45,10 @@ Global
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2018|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2019|Any CPU.ActiveCfg = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2019|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2020|Any CPU.ActiveCfg = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2020|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2021|Any CPU.ActiveCfg = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Debug-2021|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release|Any CPU.Build.0 = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2015|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -53,6 +61,10 @@ Global
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2018|Any CPU.Build.0 = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2019|Any CPU.ActiveCfg = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2019|Any CPU.Build.0 = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2020|Any CPU.ActiveCfg = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2020|Any CPU.Build.0 = Debug|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2021|Any CPU.ActiveCfg = Release|Any CPU
{503CE2C1-09D7-4F15-BB42-86196EE01ED4}.Release-2021|Any CPU.Build.0 = Release|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2015|Any CPU.ActiveCfg = Debug-2015|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2015|Any CPU.Build.0 = Debug-2015|Any CPU
Expand All @@ -64,6 +76,10 @@ Global
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2018|Any CPU.Build.0 = Debug-2018|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2019|Any CPU.ActiveCfg = Debug-2019|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2019|Any CPU.Build.0 = Debug-2019|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2020|Any CPU.ActiveCfg = Debug-2020|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2020|Any CPU.Build.0 = Debug-2020|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2021|Any CPU.ActiveCfg = Debug-2021|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Debug-2021|Any CPU.Build.0 = Debug-2021|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release|Any CPU.Build.0 = Release|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2015|Any CPU.ActiveCfg = Release-2015|Any CPU
Expand All @@ -76,6 +92,10 @@ Global
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2018|Any CPU.Build.0 = Release-2018|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2019|Any CPU.ActiveCfg = Release-2019|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2019|Any CPU.Build.0 = Release-2019|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2020|Any CPU.ActiveCfg = Release-2020|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2020|Any CPU.Build.0 = Release-2020|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2021|Any CPU.ActiveCfg = Release-2021|Any CPU
{2D132990-5674-42DF-93BF-55BA8FDC6A23}.Release-2021|Any CPU.Build.0 = Release-2021|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2015|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -88,6 +108,8 @@ Global
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2018|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2019|Any CPU.ActiveCfg = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2019|Any CPU.Build.0 = Debug|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2020|Any CPU.ActiveCfg = Debug-2020|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Debug-2021|Any CPU.ActiveCfg = Debug-2021|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release|Any CPU.Build.0 = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2015|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -100,6 +122,8 @@ Global
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2018|Any CPU.Build.0 = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2019|Any CPU.ActiveCfg = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2019|Any CPU.Build.0 = Release|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2020|Any CPU.ActiveCfg = Release-2020|Any CPU
{3C03085B-63AD-4890-AC2C-A4DE31AF1A6B}.Release-2021|Any CPU.ActiveCfg = Release-2021|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2015|Any CPU.ActiveCfg = Debug-2015|Any CPU
Expand All @@ -110,6 +134,8 @@ Global
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2017|Any CPU.Build.0 = Debug-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2018|Any CPU.ActiveCfg = Debug-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2019|Any CPU.ActiveCfg = Debug-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2020|Any CPU.ActiveCfg = Debug-2020|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Debug-2021|Any CPU.ActiveCfg = Debug-2021|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release|Any CPU.Build.0 = Release|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2015|Any CPU.ActiveCfg = Release-2015|Any CPU
Expand All @@ -120,6 +146,8 @@ Global
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2017|Any CPU.Build.0 = Release-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2018|Any CPU.ActiveCfg = Release-2017|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2019|Any CPU.ActiveCfg = Release-2019|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2020|Any CPU.ActiveCfg = Release-2020|Any CPU
{CAF05B60-6A81-489D-B966-7B94F0D69AC7}.Release-2021|Any CPU.ActiveCfg = Release-2021|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2015|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -132,6 +160,8 @@ Global
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2018|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2019|Any CPU.ActiveCfg = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2019|Any CPU.Build.0 = Debug|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2020|Any CPU.ActiveCfg = Debug-2020|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Debug-2021|Any CPU.ActiveCfg = Debug-2021|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release|Any CPU.Build.0 = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2015|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -144,6 +174,8 @@ Global
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2018|Any CPU.Build.0 = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2019|Any CPU.ActiveCfg = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2019|Any CPU.Build.0 = Release|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2020|Any CPU.ActiveCfg = Release-2020|Any CPU
{4CD7CA76-A40E-4DF4-831D-36B64818CC69}.Release-2021|Any CPU.ActiveCfg = Release-2021|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
42 changes: 42 additions & 0 deletions Bcfier.Navisworks/Bcfier.Navisworks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,48 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-2021|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-2021\</OutputPath>
<DefineConstants>TRACE;DEBUG;Version2017</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-2021|AnyCPU'">
<OutputPath>bin\Release-2021\</OutputPath>
<DefineConstants>TRACE;RELEASE;Version2017</DefineConstants>
<Optimize>true</Optimize>
<WarningLevel>0</WarningLevel>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-2020|AnyCPU' ">
<OutputPath>bin\Release2020\</OutputPath>
<DefineConstants>TRACE;RELEASE;Version2017</DefineConstants>
<Optimize>true</Optimize>
<WarningLevel>0</WarningLevel>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-2020|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug-2020\</OutputPath>
<DefineConstants>TRACE;DEBUG;Version2017</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<!-- MULTIVERSION CONFIGURATION END -->
<ItemGroup>
<!-- REVIT API References -->
Expand Down
2 changes: 1 addition & 1 deletion Bcfier.Revit/App.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
Expand Down
Loading

0 comments on commit 1ac3288

Please sign in to comment.