Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Fix MVC packages being broken on CoreCLR
Browse files Browse the repository at this point in the history
- Mvc is currently broken on CoreCLR because it is
inheriting dependencies from Microsoft.AspNet.Mvc.Common but the resulting
dependency to Microsoft.AspNet.Mvc.Common is then erased at pack time.
This change moves the dependencies down and makes the shared package
only depend on System.Runtime.

#2507
  • Loading branch information
davidfowl committed May 6, 2015
1 parent 0a7b2ac commit 5cec601
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/Microsoft.AspNet.JsonPatch/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"System.Collections": "4.0.10-beta-*",
"System.Collections.Concurrent": "4.0.10-beta-*",
"System.Globalization": "4.0.10-beta-*",
"System.Runtime.Extensions": "4.0.10-beta-*"
"System.Runtime.Extensions": "4.0.10-beta-*",
"System.ComponentModel.TypeConverter": "4.0.0-beta-*",
"System.Reflection.Extensions": "4.0.0-beta-*",
"System.Text.Encoding.Extensions": "4.0.10-beta-*"
}
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/Microsoft.AspNet.Mvc.Abstractions/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"dnx451": {},
"dnxcore50": {
"dependencies": {
"Microsoft.CSharp": "4.0.0-beta-*"
"Microsoft.CSharp": "4.0.0-beta-*",
"System.ComponentModel.TypeConverter": "4.0.0-beta-*",
"System.Reflection.Extensions": "4.0.0-beta-*",
"System.Text.Encoding.Extensions": "4.0.10-beta-*"
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions src/Microsoft.AspNet.Mvc.Common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.ComponentModel.TypeConverter": "4.0.0-beta-*",
"System.Reflection.Extensions": "4.0.0-beta-*",
"System.Text.Encoding.Extensions": "4.0.10-beta-*"
"System.Runtime": "4.0.20-beta-*"
}
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/Microsoft.AspNet.Mvc.Razor.Host/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"dnxcore50": {
"dependencies": {
"System.Collections.Concurrent": "4.0.10-beta-*",
"Microsoft.Framework.Runtime.Abstractions": "1.0.0-*"
"Microsoft.Framework.Runtime.Abstractions": "1.0.0-*",
"System.ComponentModel.TypeConverter": "4.0.0-beta-*",
"System.Reflection.Extensions": "4.0.0-beta-*",
"System.Text.Encoding.Extensions": "4.0.10-beta-*"
}
}
}
Expand Down
8 changes: 7 additions & 1 deletion test/Microsoft.AspNet.Mvc.Common.Test/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"Moq": "4.2.1312.1622"
}
},
"dnxcore50": { }
"dnxcore50": {
"dependencies": {
"System.ComponentModel.TypeConverter": "4.0.0-beta-*",
"System.Reflection.Extensions": "4.0.0-beta-*",
"System.Text.Encoding.Extensions": "4.0.10-beta-*"
}
}
}
}

0 comments on commit 5cec601

Please sign in to comment.