Skip to content

Commit

Permalink
Fixed test project build failure in VS2015
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovsep Mkrtchyan committed May 20, 2016
1 parent eba3a94 commit 79a1c2c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
6 changes: 5 additions & 1 deletion AutoRest/Generators/CSharp/Azure.CSharp.Tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
},

"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002702",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-*"
},
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
"CSharp.Tests": "2.0.0",
"Microsoft.Rest.ClientRuntime.Azure": "[4.1.0,5.0.0)",
"xunit": "2.1.0",
Expand Down
6 changes: 5 additions & 1 deletion AutoRest/Generators/CSharp/CSharp.Tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
}
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002702",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-*"
},
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
"Microsoft.Rest.ClientRuntime": "[3.1.0,4.0)",
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
}
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002702",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-*"
},
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
"Microsoft.Rest.ClientRuntime.Azure": "[4.1.0,5.0.0)",
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "[3.1.0-preview,4.0.0)",
"xunit": "2.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
}
},
"dependencies": {
"Microsoft.NETCore.App": "1.0.0-rc2-3002702",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-*"
},
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
"Microsoft.Rest.ClientRuntime.Azure": "[4.1.0,5.0.0)",
"Microsoft.Rest.ClientRuntime.Azure.Authentication": "[3.1.0-preview,4.0.0)",
"xunit": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@

<Target Name="RestoreNugetPackages">
<Exec Command="dotnet restore %(NetCoreLibraries.FullPath)" ContinueOnError="false"/>
<Exec Command="dotnet restore --infer-runtimes %(NetCoreTestLibraries.FullPath)" ContinueOnError="false"/>
<Exec Command="dotnet restore %(NetCoreTestLibraries.FullPath)" ContinueOnError="false"/>
<Exec Command="$(NuGetCommand) install xunit.runner.console -Version 2.1.0 -OutputDirectory $(LibraryRoot)packages" ContinueOnError="false"/>
<Exec Command="$(NuGetCommand) restore $(CodeGeneratorSolution)" ContinueOnError="false" Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'CodeGenerator'" />
</Target>
Expand Down

0 comments on commit 79a1c2c

Please sign in to comment.