41 lines
1.9 KiB
XML
41 lines
1.9 KiB
XML
<Project InitialTargets="EnsureWixToolsetInstalled" Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net472</TargetFramework>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<OutputType>Library</OutputType>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
|
|
<AppendPlatformToOutputPath>False</AppendPlatformToOutputPath>
|
|
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="RevitAddInUtility">
|
|
<HintPath>C:\Program Files\Autodesk\Revit 2020\RevitAddInUtility.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="Microsoft.Deployment.WindowsInstaller">
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System.Xml.Serialization" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="CustomAction.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
|
<PackageReference Include="System.Management" Version="8.0.0" />
|
|
</ItemGroup>
|
|
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixCATargetsImported)' != 'true' ">
|
|
<Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
|
|
</Target>
|
|
</Project> |