RevitVersion17.csproj 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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>{E41542C7-BC7A-44E6-AC3D-A84B1ECE2BAA}</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;R17</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;R17</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. </PropertyGroup>
  33. <PropertyGroup>
  34. <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
  35. </PropertyGroup>
  36. <ItemGroup>
  37. <Reference Include="RevitAddInUtility">
  38. <HintPath>..\..\Dlls\RevitDll\2017\RevitAddInUtility.dll</HintPath>
  39. </Reference>
  40. <Reference Include="RevitAPI">
  41. <HintPath>..\..\Dlls\RevitDll\2017\RevitAPI.dll</HintPath>
  42. </Reference>
  43. <Reference Include="RevitAPIUI">
  44. <HintPath>..\..\Dlls\RevitDll\2017\RevitAPIUI.dll</HintPath>
  45. </Reference>
  46. <Reference Include="System" />
  47. <Reference Include="System.Core" />
  48. <Reference Include="System.Xml.Linq" />
  49. <Reference Include="System.Data.DataSetExtensions" />
  50. <Reference Include="Microsoft.CSharp" />
  51. <Reference Include="System.Data" />
  52. <Reference Include="System.Net.Http" />
  53. <Reference Include="System.Xml" />
  54. </ItemGroup>
  55. <ItemGroup>
  56. <Compile Include="AddInManager.cs" />
  57. <Compile Include="RevitShell.cs" />
  58. <Compile Include="RevitVersion.cs" />
  59. <Compile Include="Properties\AssemblyInfo.cs" />
  60. <Compile Include="StartType.cs" />
  61. <Compile Include="VersionManager.cs" />
  62. </ItemGroup>
  63. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  64. <PropertyGroup>
  65. <PreBuildEvent>set source="$(SolutionDir)Dlls\RevitDll\2017\*.dll"
  66. set current="$(SolutionDir)Dlls\RevitDll\Current"
  67. md %25current%25
  68. xcopy /r /y %25source%25 %25current%25</PreBuildEvent>
  69. </PropertyGroup>
  70. <PropertyGroup>
  71. <PostBuildEvent>xcopy /r /y $(TargetDir)*.dll $(SolutionDir)Dlls\RevitDll\Current</PostBuildEvent>
  72. </PropertyGroup>
  73. </Project>