Skip to content

Commit

Permalink
Revert --infer-runtimes hack
Browse files Browse the repository at this point in the history
For some weird reason beyond my Nuget comprehension it works now.
  • Loading branch information
cdmihai committed May 20, 2016
1 parent 5a88aca commit 37211c0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion BootStrapMSBuild.proj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/>

<MSBuild Projects="$(RepoRoot)\targets\BootStrapFullFrameworkMSBuild.proj"
Condition="'$(NetCoreBuild)' == '' And '$(MonoBuild)' == ''"
Condition="'$(FullFrameworkBuild)' == 'true'"
/>
</Target>
</Project>
2 changes: 2 additions & 0 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
<DebugType Condition="'$(DebugType)' == ''">full</DebugType>
<MsbuildDebugger>true</MsbuildDebugger>
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
<FullFrameworkBuild>true</FullFrameworkBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug-MONO'">
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
Expand All @@ -121,6 +122,7 @@
<Optimize Condition="'$(Optimize)' == ''">true</Optimize>
<DebugType Condition="'$(DebugType)' == ''">pdbonly</DebugType>
<MsbuildDebugger>true</MsbuildDebugger>
<FullFrameworkBuild>true</FullFrameworkBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release-MONO'">
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion targets/DeployDependencies.proj
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<RuntimeProjectJson>$(MSBuildThisFileDirectory)runtimeDependencies\project.json</RuntimeProjectJson>
<RuntimeProjectLockJson>$(MSBuildThisFileDirectory)runtimeDependencies\project.lock.json</RuntimeProjectLockJson>

<RestoreRuntimePackagesCommand>$(DnuRestoreCommand) --infer-runtimes "$(RuntimeProjectJson)"</RestoreRuntimePackagesCommand>
<RestoreRuntimePackagesCommand>$(DnuRestoreCommand) "$(RuntimeProjectJson)"</RestoreRuntimePackagesCommand>

<NuGetRuntimeIdentifier>$(RuntimeSystem)-$(RuntimeArchitecture)</NuGetRuntimeIdentifier>
</PropertyGroup>
Expand Down
22 changes: 16 additions & 6 deletions targets/runtimeDependencies/project.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
{
"runtimes": {
"win7-x86": {},
"win7-x64": {},
"osx.10.10-x64": {},
"ubuntu.14.04-x64": {}
},
"dependencies": {
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00410-02"
},
"frameworks": {
"net46": {
"dependencies": {
"xunit.runner.visualstudio": "2.1.0",
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0-rc3-24109-00",
"System.Threading.Tasks.Dataflow": "4.5.26-rc3-24109-00"
"xunit.runner.visualstudio": "2.1.0",
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0-rc3-24109-00",
"System.Threading.Tasks.Dataflow": "4.5.26-rc3-24109-00"
}
},
"netcoreapp1.0": {
Expand Down Expand Up @@ -46,11 +52,15 @@
"Microsoft.Net.Compilers.NetCore": "1.2.0-beta1-20160122-02",
"Microsoft.Net.Compilers.Targets.NetCore": "0.1.4-dev",
"Microsoft.Portable.Targets": "0.1.1-dev",
"Microsoft.Win32.Primitives": "4.0.1-rc3-24109-00",
"Microsoft.Win32.Primitives": "4.0.1-rc3-24109-00",
"Newtonsoft.Json": "8.0.3",
"xunit.console.netcore": "1.0.2-prerelease-00410-02"
},
"imports": [ "portable-net451+win81", "dnxcore50", "netstandard1.6" ]
"imports": [
"portable-net451+win81",
"dnxcore50",
"netstandard1.6"
]
}
}
}
}

0 comments on commit 37211c0

Please sign in to comment.