Skip to content

Commit

Permalink
Updated tests to be still compatible with resharper runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirkapok committed Jun 21, 2017
1 parent 7b40c6e commit ff15caa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Build/Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(Test-Path .\Output) {
# Visual Studio 2015
$msbuild = "c:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe";
# Compile the solution - the distributionrelease configuration contains installer, which is not normal configurations
invoke-expression "$msbuild ..\Source\Terminals.sln /m /p:configuration=DistributionRelease /p:Platform='Any CPU' /t:rebuild" | Tee-Object $logFile -Append;
invoke-expression "$msbuild ..\Source\Terminals.sln /m /p:configuration=DistributionRelease /p:Platform='Any CPU' /toolsversion:4.0 /t:rebuild" | Tee-Object $logFile -Append;

.\PackOutput.ps1 | Tee-Object $logFile -Append;

Expand Down
2 changes: 1 addition & 1 deletion Source/Tests/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
</entityFramework>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/></startup></configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
6 changes: 5 additions & 1 deletion Source/Tests/Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Tests</RootNamespace>
<AssemblyName>Tests</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SccProjectName>SAK</SccProjectName>
Expand Down Expand Up @@ -70,6 +70,10 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\log4net.2.0.0\lib\net40-full\log4net.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.VisualStudio.QualityTools.UnitTestFramework.Updated.15.0.26228\lib\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\MSTest.TestFramework.1.1.18\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
</Reference>
Expand Down
4 changes: 2 additions & 2 deletions Source/Tests/packages.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="5.0.0" targetFramework="net40" requireReinstallation="true" />
<package id="EntityFramework" version="5.0.0" targetFramework="net40" />
<package id="log4net" version="2.0.0" targetFramework="net40" />
<package id="Microsoft.VisualStudio.QualityTools.UnitTestFramework.Updated" version="15.0.26228" targetFramework="net40" />
<package id="Moq" version="4.2.1408.0717" targetFramework="net40" />
<package id="MSTest.TestFramework" version="1.1.18" targetFramework="net451" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net40" />
</packages>

0 comments on commit ff15caa

Please sign in to comment.