RevitVersion18.csproj 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{F6032A4A-BA93-462A-9694-618833C5F630}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>RevitVersion</RootNamespace>
  11. <AssemblyName>RevitVersion</AssemblyName>
  12. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <Deterministic>true</Deterministic>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <DebugSymbols>true</DebugSymbols>
  18. <DebugType>full</DebugType>
  19. <Optimize>false</Optimize>
  20. <OutputPath>bin\Debug\</OutputPath>
  21. <DefineConstants>TRACE;DEBUG;R18</DefineConstants>
  22. <ErrorReport>prompt</ErrorReport>
  23. <WarningLevel>4</WarningLevel>
  24. </PropertyGroup>
  25. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  26. <DebugType>pdbonly</DebugType>
  27. <Optimize>true</Optimize>
  28. <OutputPath>bin\Release\</OutputPath>
  29. <DefineConstants>TRACE;R18</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. </PropertyGroup>
  33. <ItemGroup>
  34. <Reference Include="RevitAddInUtility">
  35. <HintPath>..\..\Dlls\RevitDll\2018\RevitAddInUtility.dll</HintPath>
  36. </Reference>
  37. <Reference Include="RevitAPI">
  38. <HintPath>..\..\Dlls\RevitDll\2018\RevitAPI.dll</HintPath>
  39. </Reference>
  40. <Reference Include="RevitAPIUI">
  41. <HintPath>..\..\Dlls\RevitDll\2018\RevitAPIUI.dll</HintPath>
  42. </Reference>
  43. <Reference Include="System" />
  44. <Reference Include="System.Core" />
  45. <Reference Include="System.Xml.Linq" />
  46. <Reference Include="System.Data.DataSetExtensions" />
  47. <Reference Include="Microsoft.CSharp" />
  48. <Reference Include="System.Data" />
  49. <Reference Include="System.Net.Http" />
  50. <Reference Include="System.Xml" />
  51. </ItemGroup>
  52. <ItemGroup>
  53. <Compile Include="AddInManager.cs" />
  54. <Compile Include="RevitShell.cs" />
  55. <Compile Include="RevitVersion.cs" />
  56. <Compile Include="Properties\AssemblyInfo.cs" />
  57. <Compile Include="StartType.cs" />
  58. <Compile Include="VersionManager.cs" />
  59. </ItemGroup>
  60. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  61. <PropertyGroup>
  62. <PreBuildEvent>set source="$(SolutionDir)Dlls\RevitDll\2018\*.dll"
  63. set current="$(SolutionDir)Dlls\RevitDll\Current"
  64. md %25current%25
  65. xcopy /r /y %25source%25 %25current%25</PreBuildEvent>
  66. </PropertyGroup>
  67. <PropertyGroup>
  68. <PostBuildEvent>xcopy /r /y $(TargetDir)*.dll $(SolutionDir)Dlls\RevitDll\Current</PostBuildEvent>
  69. </PropertyGroup>
  70. </Project>