integrate Revit 2025 SDK

This commit is contained in:
Jeremy Tammik
2024-04-11 13:47:20 +02:00
parent e786953544
commit f414362f2b
889 changed files with 26676 additions and 26865 deletions
@@ -0,0 +1,41 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- This target file is used for the entry projects (which implements the IExternalCommand, IExternalApplication and etc.) of Revit Addin.
It adds the way to create a signiture for the target file, which is required by Revit addin registry mechanism.
-->
<PropertyGroup Condition=" '$(Platform)' == 'x64'">
<!--
Turn off warning CS1607 due to issues related to
64 bit compiler warnings for mscorlib.dll. This is known issue with
the CSC and AL .NET tools. They are incorrectly using the 32 bit
libraries when building. This is not, according to Microsoft, a fatal
warning and this workaround is the preferred solution.
-->
<NoWarn>1607</NoWarn>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(VersionInfo)">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk"/>
<ItemGroup>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAddInUtility">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAddInUtility.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.CivilAlignments.DBApplication">
<HintPath>C:\Program Files\Autodesk\Revit 2025\Addins\CivilAlignments\Autodesk.CivilAlignments.DBApplication.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
@@ -12,41 +12,38 @@
-->
<NoWarn>1607</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(VersionInfo)">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<PropertyGroup>
<MSLangTargets>$(MSBuildBinPath)\Microsoft.Csharp.targets</MSLangTargets>
</PropertyGroup>
<Import Project="$(MSLangTargets)" />
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk"/>
<!-- Make sure the projects using this targets file rebuild if this file changes
This must come after the import of the common targets -->
<ItemGroup>
<Reference Include="RevitAPI">
<Reference Include="RevitAPIMacros">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIMacros.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUIMacros">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUIMacros.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAddInUtility">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAddInUtility.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.CivilAlignments.DBApplication">
<HintPath>C:/Program Files/Autodesk/Revit 2024/Addins\CivilAlignments\Autodesk.CivilAlignments.DBApplication.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAddInUtility.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
</Project>
+21
View File
@@ -0,0 +1,21 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWindowsForms>true</UseWindowsForms>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<Platforms>x64</Platforms>
<GenerateResourceWarnOnBinaryFormatterUse>false</GenerateResourceWarnOnBinaryFormatterUse>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk"/>
<ItemGroup Condition="'$(UseWPF)' == ''">
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>
</Project>
@@ -0,0 +1,37 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- This target file is used for the entry projects (which implements the IExternalCommand, IExternalApplication and etc.) of Revit Addin.
It adds the way to create a signiture for the target file, which is required by Revit addin registry mechanism.
-->
<PropertyGroup Condition=" '$(Platform)' == 'x64'">
<!--
Turn off warning CS1607 due to issues related to
64 bit compiler warnings for mscorlib.dll. This is known issue with
the CSC and AL .NET tools. They are incorrectly using the 32 bit
libraries when building. This is not, according to Microsoft, a fatal
warning and this workaround is the preferred solution.
-->
<NoWarn>1607</NoWarn>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(VersionInfo)">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk"/>
<ItemGroup>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAddInUtility">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAddInUtility.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
@@ -2,7 +2,7 @@
<!-- This target file is used for the entry projects (which implements the IExternalCommand, IExternalApplication and etc.) of Revit Addin.
It adds the way to create a signiture for the target file, which is required by Revit addin registry mechanism.
-->
<PropertyGroup Condition=" '$(Platform)' == 'x64' ">
<PropertyGroup Condition=" '$(Platform)' == 'x64'">
<!--
Turn off warning CS1607 due to issues related to
64 bit compiler warnings for mscorlib.dll. This is known issue with
@@ -12,38 +12,46 @@
-->
<NoWarn>1607</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\Release\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<OutputPath>bin\Debug\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(VersionInfo)">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Project="$(SolutionDir)VSProps\SDKSamples.targets" />
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk"/>
<ItemGroup>
<Reference Include="ASObjectsMgd">
<HintPath>C:/Program Files/Autodesk/Revit 2024/Addins\SteelConnections\ASObjectsMgd.dll</HintPath>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAddInUtility">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAddInUtility.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ASObjectsMgd">
<HintPath>C:\Program Files\Autodesk\Revit 2025\Addins\SteelConnections\ASObjectsMgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ASGeometryMgd">
<HintPath>C:/Program Files/Autodesk/Revit 2024/Addins\SteelConnections\ASGeometryMgd.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\Addins\SteelConnections\ASGeometryMgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ASCADLinkMgd">
<HintPath>C:/Program Files/Autodesk/Revit 2024/Addins\SteelConnections\ASCADLinkMgd.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\Addins\SteelConnections\ASCADLinkMgd.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="DotNetRoots">
<HintPath>C:/Program Files/Autodesk/Revit 2024/Addins\SteelConnections\DotNetRoots.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\Addins\SteelConnections\DotNetRoots.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="SteelConnectionsDB">
<HintPath>C:/Program Files/Autodesk/Revit 2024/Addins\SteelConnections\Autodesk.SteelConnectionsDB.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\Addins\SteelConnections\Autodesk.SteelConnectionsDB.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
</Project>
@@ -0,0 +1,11 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Platforms>x64</Platforms>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk"/>
<ItemGroup Condition="'$(UseWPF)' == ''">
<FrameworkReference Include="Microsoft.WindowsDesktop.App" />
</ItemGroup>
</Project>
@@ -0,0 +1,15 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk"/>
<ItemGroup>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
+3 -3
View File
@@ -8,13 +8,13 @@
<ItemGroup>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
</Project>
+4 -4
View File
@@ -30,17 +30,17 @@
<ItemGroup>
<Reference Include="RevitAPI">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAPI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAPIUI.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAddInUtility">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:/Program Files/Autodesk/Revit 2024/RevitAddInUtility.dll</HintPath>
<HintPath>C:\Program Files\Autodesk\Revit 2025\RevitAddInUtility.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
</Project>
</Project>