diff --git a/Octokit.Reactive/Octokit.Reactive.csproj b/Octokit.Reactive/Octokit.Reactive.csproj index 79722400..2bdad6a6 100644 --- a/Octokit.Reactive/Octokit.Reactive.csproj +++ b/Octokit.Reactive/Octokit.Reactive.csproj @@ -18,7 +18,7 @@ full false obj\Debug\Net40 - bin\Debug\Net40 + bin\Debug\Net45\ DEBUG;TRACE;CODE_ANALYSIS;NET_45 prompt 4 @@ -31,7 +31,7 @@ pdbonly true obj\Release\Net40 - bin\Release\Net40 + bin\Release\Net45\ TRACE;NET_45 prompt 4 diff --git a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj index c0b63d67..0366926c 100644 --- a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj +++ b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj @@ -24,7 +24,7 @@ pdbonly true - bin\Release\ + bin\Release\Net45\ TRACE prompt 4 diff --git a/Octokit.Tests/OctoKit.Tests-NetCore45.csproj b/Octokit.Tests/OctoKit.Tests-NetCore45.csproj index 46736d12..803627b3 100644 --- a/Octokit.Tests/OctoKit.Tests-NetCore45.csproj +++ b/Octokit.Tests/OctoKit.Tests-NetCore45.csproj @@ -16,7 +16,7 @@ true full false - bin\Debug\ + bin\Debug\NetCore45\ TRACE;DEBUG;NETFX_CORE;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 @@ -24,7 +24,7 @@ pdbonly true - bin\Release\ + bin\Release\NetCore45\ TRACE;NETFX_CORE;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 diff --git a/Octokit.Tests/Octokit.Tests.csproj b/Octokit.Tests/Octokit.Tests.csproj index 2bec1229..2e399b78 100644 --- a/Octokit.Tests/Octokit.Tests.csproj +++ b/Octokit.Tests/Octokit.Tests.csproj @@ -16,7 +16,7 @@ true full false - bin\Debug\ + bin\Debug\Net45\ TRACE;DEBUG;NET_45 prompt 4 @@ -24,7 +24,7 @@ pdbonly true - bin\Release\ + bin\Release\Net45\ TRACE;NET_45 prompt 4 diff --git a/Octokit.msbuild b/Octokit.msbuild index f6bd6b8f..1ffc872a 100644 --- a/Octokit.msbuild +++ b/Octokit.msbuild @@ -14,11 +14,11 @@ - + - - + + @@ -31,5 +31,5 @@ - + diff --git a/Octokit/Octokit-netcore45.csproj b/Octokit/Octokit-netcore45.csproj index 4ce98065..23698df4 100644 --- a/Octokit/Octokit-netcore45.csproj +++ b/Octokit/Octokit-netcore45.csproj @@ -29,7 +29,7 @@ pdbonly true obj\Release\NetCore45 - bin\Release\NetCore45 + bin\Release\NetCore45\ TRACE;NETFX_CORE;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 @@ -180,4 +180,4 @@ --> - + \ No newline at end of file diff --git a/Octokit/Octokit.csproj b/Octokit/Octokit.csproj index fc451b35..b9a387e7 100644 --- a/Octokit/Octokit.csproj +++ b/Octokit/Octokit.csproj @@ -32,7 +32,7 @@ pdbonly true obj\Release\Net45 - bin\Release\Net45 + bin\Release\Net45\ TRACE;CODE_ANALYSIS;CODE_ANALYSIS;SIMPLE_JSON_OBJARRAYINTERNAL;SIMPLE_JSON_INTERNAL;NET_45 prompt 4 @@ -210,4 +210,4 @@ --> - + \ No newline at end of file diff --git a/build.cmd b/build.cmd index 7c4b2fc7..6b135685 100644 --- a/build.cmd +++ b/build.cmd @@ -14,8 +14,8 @@ if not exist packaging\octokit\lib\netcore45 mkdir packaging\octokit\lib\netcore copy LICENSE.txt packaging\octokit\ copy README.md packaging\octokit\ -copy Octokit\bin\Release\Octokit.dll packaging\octokit\lib\net45\ -copy Octokit\bin\WinRT\Release\OctokitRT.dll packaging\octokit\lib\netcore45\ +copy Octokit\bin\%config%\Net45\Octokit.dll packaging\octokit\lib\net45\ +copy Octokit\bin\%config%\NetCore45\Octokit.dll packaging\octokit\lib\netcore45\ tools\nuget\nuget.exe pack "octokit.nuspec" -BasePath packaging\octokit -Output packaging diff --git a/script/cibuild.ps1 b/script/cibuild.ps1 index bb26e07e..5212d2ab 100644 --- a/script/cibuild.ps1 +++ b/script/cibuild.ps1 @@ -84,8 +84,8 @@ if ($LastExitCode -ne 0) { Die-WithOutput $exitCode $output } -function Run-XUnit([string]$project, [int]$timeoutDuration, [string]$projectFolder = $project) { - $dll = "$projectFolder\bin\Release\$project.dll" +function Run-XUnit([string]$platform, [string]$project, [int]$timeoutDuration, [string]$projectFolder = $project) { + $dll = "$projectFolder\bin\Release\$platform\$project.dll" $xunitDirectory = Join-Path $rootDirectory tools\xunit $consoleRunner = Join-Path $xunitDirectory xunit.console.clr4.x86.exe @@ -102,7 +102,7 @@ function Run-XUnit([string]$project, [int]$timeoutDuration, [string]$projectFold $exitCode = 0 Write-Output "Running Octokit.Tests..." -$result = Run-XUnit Octokit.Tests 120 +$result = Run-XUnit Net45 Octokit.Tests 120 if ($result.ExitCode -eq 0) { # Print out the test result summary. Write-Output $result.Output[-1] @@ -112,8 +112,8 @@ if ($result.ExitCode -eq 0) { } Write-Output "" -Write-Output "Running OctokitRT.Tests..." -$result = Run-XUnit OctokitRT.Tests 120 Octokit.Tests +Write-Output "Running Octokit.Tests-NetCore45..." +$result = Run-XUnit NetCore45 Octokit.Tests-NetCore45 120 Octokit.Tests if ($result.ExitCode -eq 0) { # Print out the test result summary. Write-Output $result.Output[-1] @@ -124,7 +124,7 @@ if ($result.ExitCode -eq 0) { Write-Output "" Write-Output "Running Octokit.Tests.Integration..." -$result = Run-XUnit Octokit.Tests.Integration 180 +$result = Run-XUnit Net45 Octokit.Tests.Integration 180 if ($result.ExitCode -eq 0) { # Print out the test result summary. Write-Output $result.Output[-1]