Skip to content

Commit

Permalink
flat migration to Revit 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytammik committed May 13, 2020
1 parent 7c03d26 commit 297f86b
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 52 deletions.
12 changes: 6 additions & 6 deletions 1_Revit_API_Intro/SourceCS/IntroCs.csproj
Expand Up @@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>IntroCs</RootNamespace>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +41,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2020\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -53,17 +53,17 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2020\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -111,7 +111,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="AfterClean">
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2020\IntroCs.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2021\IntroCs.addin" />
</Target>
<PropertyGroup>
<PostBuildEvent>
Expand Down
4 changes: 2 additions & 2 deletions 1_Revit_API_Intro/SourceCS/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,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( "2020.0.0.3" )]
[assembly: AssemblyFileVersion( "2020.0.0.3" )]
[assembly: AssemblyVersion( "2021.0.0.0" )]
[assembly: AssemblyFileVersion( "2021.0.0.0" )]
12 changes: 6 additions & 6 deletions 1_Revit_API_Intro/SourceVB/IntroVb.vbproj
Expand Up @@ -10,7 +10,7 @@
<RootNamespace>IntroVb</RootNamespace>
<FileAlignment>512</FileAlignment>
<MyType>Windows</MyType>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<OptionExplicit>On</OptionExplicit>
<OptionCompare>Binary</OptionCompare>
<OptionStrict>Off</OptionStrict>
Expand Down Expand Up @@ -45,7 +45,7 @@
<DocumentationFile>TemplateRevitVB.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2020\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -58,17 +58,17 @@
<DocumentationFile>TemplateRevitVB.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2020\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -140,7 +140,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<Target Name="AfterClean">
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2020\IntroVb.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2021\IntroVb.addin" />
</Target>
<PropertyGroup>
<PostBuildEvent>
Expand Down
4 changes: 2 additions & 2 deletions 1_Revit_API_Intro/SourceVB/My Project/AssemblyInfo.vb
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("2020.0.0.3")>
<Assembly: AssemblyFileVersion("2020.0.0.3")>
<Assembly: AssemblyVersion("2021.0.0.0")>
<Assembly: AssemblyFileVersion("2021.0.0.0")>
4 changes: 2 additions & 2 deletions 2_Revit_UI_API/SourceCS/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,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( "2020.0.0.3" )]
[assembly: AssemblyFileVersion( "2020.0.0.3" )]
[assembly: AssemblyVersion( "2021.0.0.0" )]
[assembly: AssemblyFileVersion( "2021.0.0.0" )]
12 changes: 6 additions & 6 deletions 2_Revit_UI_API/SourceCS/UiCs.csproj
Expand Up @@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>UiCs</RootNamespace>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -41,7 +41,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2017\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -53,7 +53,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2017\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -65,11 +65,11 @@
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -116,7 +116,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="AfterClean">
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2017\UiCs.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2021\UiCs.addin" />
</Target>
<PropertyGroup>
<PostBuildEvent>
Expand Down
4 changes: 2 additions & 2 deletions 2_Revit_UI_API/SourceVB/My Project/AssemblyInfo.vb
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("2020.0.0.3")>
<Assembly: AssemblyFileVersion("2020.0.0.3")>
<Assembly: AssemblyVersion("2021.0.0.0")>
<Assembly: AssemblyFileVersion("2021.0.0.0")>
12 changes: 6 additions & 6 deletions 2_Revit_UI_API/SourceVB/UiVb.vbproj
Expand Up @@ -10,7 +10,7 @@
<RootNamespace>UiVb</RootNamespace>
<FileAlignment>512</FileAlignment>
<MyType>Windows</MyType>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<OptionExplicit>On</OptionExplicit>
<OptionCompare>Binary</OptionCompare>
<OptionStrict>Off</OptionStrict>
Expand Down Expand Up @@ -45,7 +45,7 @@
<DocumentationFile>TemplateRevitVB.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2017\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -58,7 +58,7 @@
<DocumentationFile>TemplateRevitVB.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2017\Revit.exe</StartProgram>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2021\Revit.exe</StartProgram>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
Expand All @@ -70,11 +70,11 @@
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -145,7 +145,7 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<Target Name="AfterClean">
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2012\UiVb.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2021\UiVb.addin" />
</Target>
<PropertyGroup>
<PostBuildEvent>
Expand Down
6 changes: 3 additions & 3 deletions 3_Revit_Family_API/SourceCS/FamilyCs.csproj
Expand Up @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FamilyCs</RootNamespace>
<AssemblyName>FamilyCs</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
Expand Down Expand Up @@ -57,11 +57,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
4 changes: 2 additions & 2 deletions 3_Revit_Family_API/SourceCS/Properties/AssemblyInfo.cs
Expand Up @@ -31,5 +31,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( "2020.0.0.3" )]
[assembly: AssemblyFileVersion( "2020.0.0.3" )]
[assembly: AssemblyVersion( "2021.0.0.0" )]
[assembly: AssemblyFileVersion( "2021.0.0.0" )]
6 changes: 3 additions & 3 deletions 3_Revit_Family_API/SourceVB/FamilyVb.vbproj
Expand Up @@ -11,7 +11,7 @@
<AssemblyName>FamilyVb</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Windows</MyType>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<OptionExplicit>On</OptionExplicit>
<OptionCompare>Binary</OptionCompare>
<OptionStrict>Off</OptionStrict>
Expand Down Expand Up @@ -65,11 +65,11 @@
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
4 changes: 2 additions & 2 deletions 3_Revit_Family_API/SourceVB/My Project/AssemblyInfo.vb
Expand Up @@ -30,5 +30,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("2020.0.0.3")>
<Assembly: AssemblyFileVersion("2020.0.0.3")>
<Assembly: AssemblyVersion("2021.0.0.0")>
<Assembly: AssemblyFileVersion("2021.0.0.0")>
4 changes: 2 additions & 2 deletions XtraCs/Properties/AssemblyInfo.cs
Expand Up @@ -31,5 +31,5 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion( "2020.0.0.3" )]
[assembly: AssemblyFileVersion( "2020.0.0.3" )]
[assembly: AssemblyVersion( "2021.0.0.0" )]
[assembly: AssemblyFileVersion( "2021.0.0.0" )]
6 changes: 3 additions & 3 deletions XtraCs/XtraCs.csproj
Expand Up @@ -20,7 +20,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
Expand Down Expand Up @@ -71,11 +71,11 @@
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
4 changes: 2 additions & 2 deletions XtraVb/My Project/AssemblyInfo.vb
Expand Up @@ -29,6 +29,6 @@ Imports System.Runtime.InteropServices
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:

<Assembly: AssemblyVersion("2020.0.0.3")>
<Assembly: AssemblyFileVersion("2020.0.0.3")>
<Assembly: AssemblyVersion("2021.0.0.0")>
<Assembly: AssemblyFileVersion("2021.0.0.0")>
<Assembly: ComVisibleAttribute(False)>
6 changes: 3 additions & 3 deletions XtraVb/XtraVb.vbproj
Expand Up @@ -20,7 +20,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
Expand Down Expand Up @@ -73,11 +73,11 @@
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="RevitAPI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2021\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down

0 comments on commit 297f86b

Please sign in to comment.