Skip to content

Commit eba75d2

Browse files
committed
Fix a few namespace issues
1 parent fb748c6 commit eba75d2

File tree

9 files changed

+14
-51
lines changed

9 files changed

+14
-51
lines changed

IntegrationEngine.Tests/Api/Controllers/JobTypeControllerTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using NUnit.Framework;
77
using System;
88
using System.Linq;
9-
using System.Collections;
109
using System.Collections.Generic;
1110

1211
namespace IntegrationEngine.Tests.Api.Controllers

IntegrationEngine.Tests/Api/WebApiApplicationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using Moq;
1414
using System.Web.Http.Routing;
1515

16-
namespace IntegrationEngine.Tests
16+
namespace IntegrationEngine.Tests.Api
1717
{
1818
public class WebApiApplicationTest : TestBase<WebApiApplication>
1919
{

IntegrationEngine.Tests/IntegrationEngine.Tests.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
<Link>IntegrationEngine.json</Link>
144144
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
145145
</None>
146-
<None Include="app.config" />
147146
<None Include="job_scheduling_data_2_0.xsd">
148147
<SubType>Designer</SubType>
149148
</None>
@@ -190,7 +189,5 @@
190189
</Target>
191190
-->
192191
<ItemGroup />
193-
<ItemGroup>
194-
<Folder Include="JobProcessor\" />
195-
</ItemGroup>
192+
<ItemGroup />
196193
</Project>

IntegrationEngine.Tests/JobProcessor/MessageQueueListenerManagerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System;
66
using System.Threading;
77

8-
namespace IntegrationEngine.Tests
8+
namespace IntegrationEngine.Tests.JobProcessor
99
{
1010
public class MessageQueueListenerManagerTest : TestBase<MessageQueueListenerManager>
1111
{

IntegrationEngine.Tests/app.config

Lines changed: 0 additions & 14 deletions
This file was deleted.

IntegrationEngine/App.Config

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
1717
<bindingRedirect oldVersion="0.0.0.0-6.9.5.0" newVersion="6.9.5.0" />
1818
</dependentAssembly>
19-
<dependentAssembly>
20-
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
21-
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
22-
</dependentAssembly>
2319
</assemblyBinding>
2420
</runtime>
2521
</configuration>

IntegrationServer.Tests/IntegrationServer.Tests.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -8,6 +8,8 @@
88
<RootNamespace>IntegrationServer.Tests</RootNamespace>
99
<AssemblyName>IntegrationServer.Tests</AssemblyName>
1010
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
12+
<RestorePackages>true</RestorePackages>
1113
</PropertyGroup>
1214
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1315
<DebugSymbols>true</DebugSymbols>
@@ -73,4 +75,11 @@
7375
<Name>IntegrationEngine</Name>
7476
</ProjectReference>
7577
</ItemGroup>
78+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
79+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
80+
<PropertyGroup>
81+
<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>
82+
</PropertyGroup>
83+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
84+
</Target>
7685
</Project>

IntegrationServer/App.config

Lines changed: 0 additions & 21 deletions
This file was deleted.

IntegrationServer/IntegrationServer.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@
140140
<None Include="RScripts\CarReport.R">
141141
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
142142
</None>
143-
<None Include="App.config">
144-
<SubType>Designer</SubType>
145-
</None>
146143
</ItemGroup>
147144
<ItemGroup>
148145
<Content Include="..\configuration\IntegrationEngine.nlog.xml">
@@ -152,4 +149,4 @@
152149
</ItemGroup>
153150
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
154151
<ItemGroup />
155-
</Project>
152+
</Project>

0 commit comments

Comments
 (0)