|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
3 | 4 | <PropertyGroup> |
4 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
5 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
6 | | - <ProjectGuid>{820C4703-46CF-4C65-AB32-961170D96E46}</ProjectGuid> |
| 7 | + <ProjectGuid>{E4B53AFA-BF0F-47DB-B765-100F8B60BA40}</ProjectGuid> |
7 | 8 | <OutputType>Library</OutputType> |
8 | 9 | <AppDesignerFolder>Properties</AppDesignerFolder> |
9 | 10 | <RootNamespace>IntegrationEngine.Tests</RootNamespace> |
10 | 11 | <AssemblyName>IntegrationEngine.Tests</AssemblyName> |
11 | 12 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
12 | 13 | <FileAlignment>512</FileAlignment> |
13 | | - <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
14 | | - <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> |
15 | | - <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> |
16 | | - <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath> |
17 | | - <IsCodedUITest>False</IsCodedUITest> |
18 | | - <TestProjectType>UnitTest</TestProjectType> |
19 | 14 | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> |
20 | 15 | <RestorePackages>true</RestorePackages> |
| 16 | + <TargetFrameworkProfile /> |
21 | 17 | </PropertyGroup> |
22 | 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
23 | 19 | <DebugSymbols>true</DebugSymbols> |
|
27 | 23 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
28 | 24 | <ErrorReport>prompt</ErrorReport> |
29 | 25 | <WarningLevel>4</WarningLevel> |
30 | | - <PlatformTarget>x86</PlatformTarget> |
| 26 | + <Prefer32Bit>false</Prefer32Bit> |
| 27 | + <PlatformTarget>AnyCPU</PlatformTarget> |
31 | 28 | </PropertyGroup> |
32 | 29 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
33 | 30 | <DebugType>pdbonly</DebugType> |
|
36 | 33 | <DefineConstants>TRACE</DefineConstants> |
37 | 34 | <ErrorReport>prompt</ErrorReport> |
38 | 35 | <WarningLevel>4</WarningLevel> |
| 36 | + <Prefer32Bit>false</Prefer32Bit> |
39 | 37 | </PropertyGroup> |
40 | 38 | <ItemGroup> |
41 | | - <Reference Include="Common.Logging, Version=2.3.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL"> |
42 | | - <SpecificVersion>False</SpecificVersion> |
43 | | - <HintPath>..\packages\Common.Logging.2.3.1\lib\net40\Common.Logging.dll</HintPath> |
| 39 | + <Reference Include="fx.configuration"> |
| 40 | + <HintPath>..\packages\fx.configuration.0.4.0\lib\net45\fx.configuration.dll</HintPath> |
44 | 41 | </Reference> |
45 | | - <Reference Include="fx.configuration, Version=0.4.0.0, Culture=neutral, PublicKeyToken=d6b5ff1ed8812a28, processorArchitecture=MSIL"> |
| 42 | + <Reference Include="Microsoft.Practices.Unity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
46 | 43 | <SpecificVersion>False</SpecificVersion> |
47 | | - <HintPath>..\packages\fx.configuration.0.4.0\lib\net45\fx.configuration.dll</HintPath> |
| 44 | + <HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.dll</HintPath> |
| 45 | + </Reference> |
| 46 | + <Reference Include="Microsoft.Practices.Unity.Configuration"> |
| 47 | + <HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.Configuration.dll</HintPath> |
| 48 | + </Reference> |
| 49 | + <Reference Include="Microsoft.Practices.Unity.RegistrationByConvention"> |
| 50 | + <HintPath>..\packages\Unity.3.5.1404.0\lib\net45\Microsoft.Practices.Unity.RegistrationByConvention.dll</HintPath> |
48 | 51 | </Reference> |
49 | 52 | <Reference Include="Moq"> |
50 | 53 | <HintPath>..\packages\Moq.4.2.1409.1722\lib\net40\Moq.dll</HintPath> |
51 | 54 | </Reference> |
52 | 55 | <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
53 | 56 | <SpecificVersion>False</SpecificVersion> |
54 | | - <HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath> |
55 | | - </Reference> |
56 | | - <Reference Include="nunit.framework"> |
57 | | - <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> |
| 57 | + <HintPath>..\packages\Newtonsoft.Json.6.0.6\lib\net45\Newtonsoft.Json.dll</HintPath> |
58 | 58 | </Reference> |
59 | | - <Reference Include="Quartz, Version=2.3.0.18, Culture=neutral, PublicKeyToken=f6b8c98a402cc8a4, processorArchitecture=MSIL"> |
| 59 | + <Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
60 | 60 | <SpecificVersion>False</SpecificVersion> |
61 | | - <HintPath>..\packages\Quartz.2.3\lib\net40\Quartz.dll</HintPath> |
| 61 | + <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> |
62 | 62 | </Reference> |
63 | 63 | <Reference Include="System" /> |
| 64 | + <Reference Include="System.Core" /> |
64 | 65 | <Reference Include="System.Net.Http" /> |
65 | 66 | <Reference Include="System.Net.Http.Formatting, Version=5.2.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
66 | 67 | <SpecificVersion>False</SpecificVersion> |
|
70 | 71 | <SpecificVersion>False</SpecificVersion> |
71 | 72 | <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.2\lib\net45\System.Web.Http.dll</HintPath> |
72 | 73 | </Reference> |
| 74 | + <Reference Include="System.Xml.Linq" /> |
| 75 | + <Reference Include="System.Data.DataSetExtensions" /> |
| 76 | + <Reference Include="Microsoft.CSharp" /> |
| 77 | + <Reference Include="System.Data" /> |
| 78 | + <Reference Include="System.Xml" /> |
73 | 79 | </ItemGroup> |
74 | | - <Choose> |
75 | | - <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'"> |
76 | | - <ItemGroup> |
77 | | - <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> |
78 | | - </ItemGroup> |
79 | | - </When> |
80 | | - <Otherwise /> |
81 | | - </Choose> |
82 | 80 | <ItemGroup> |
83 | 81 | <Compile Include="Api\Controllers\CronTriggerControllerTest.cs" /> |
84 | | - <Compile Include="Properties\AssemblyInfo.cs" /> |
85 | 82 | <Compile Include="EngineHostConfigurationTest.cs" /> |
| 83 | + <Compile Include="Properties\AssemblyInfo.cs" /> |
| 84 | + <Compile Include="StubContainer.cs" /> |
86 | 85 | </ItemGroup> |
87 | 86 | <ItemGroup> |
88 | 87 | <None Include="..\configuration\IntegrationEngine.json"> |
89 | 88 | <Link>IntegrationEngine.json</Link> |
90 | 89 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
91 | 90 | </None> |
92 | 91 | <None Include="app.config" /> |
93 | | - <None Include="job_scheduling_data_2_0.xsd"> |
94 | | - <SubType>Designer</SubType> |
95 | | - </None> |
96 | 92 | <None Include="packages.config" /> |
97 | 93 | </ItemGroup> |
| 94 | + <ItemGroup> |
| 95 | + <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> |
| 96 | + </ItemGroup> |
98 | 97 | <ItemGroup> |
99 | 98 | <ProjectReference Include="..\IntegrationEngine.Core\IntegrationEngine.Core.csproj"> |
100 | 99 | <Project>{3f3794d7-4078-4d26-954c-7864173edd86}</Project> |
|
109 | 108 | <Name>IntegrationEngine</Name> |
110 | 109 | </ProjectReference> |
111 | 110 | </ItemGroup> |
112 | | - <Choose> |
113 | | - <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"> |
114 | | - <ItemGroup> |
115 | | - <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
116 | | - <Private>False</Private> |
117 | | - </Reference> |
118 | | - <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
119 | | - <Private>False</Private> |
120 | | - </Reference> |
121 | | - <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
122 | | - <Private>False</Private> |
123 | | - </Reference> |
124 | | - <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
125 | | - <Private>False</Private> |
126 | | - </Reference> |
127 | | - </ItemGroup> |
128 | | - </When> |
129 | | - </Choose> |
130 | | - <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
131 | 111 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
132 | 112 | <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> |
| 113 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 114 | + <PropertyGroup> |
| 115 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 116 | + </PropertyGroup> |
| 117 | + <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" /> |
| 118 | + </Target> |
133 | 119 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
134 | 120 | Other similar extension points exist, see Microsoft.Common.targets. |
135 | 121 | <Target Name="BeforeBuild"> |
|
0 commit comments