Skip to content

Commit

Permalink
Target FX 4.6 in VS dependency jsons (#13355)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmat authored Aug 25, 2016
1 parent 9c29e2b commit ee2a5e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ Public Class BuildDevDivInsertionFiles

For Each projectLockJson In Directory.EnumerateFiles(Path.Combine(_setupDirectory, DevDivPackagesDirName), "*.lock.json", SearchOption.AllDirectories)
Dim items = JsonConvert.DeserializeObject(File.ReadAllText(projectLockJson))
Const targetFx = ".NETFramework,Version=v4.6.1/win"
Const targetFx = ".NETFramework,Version=v4.6/win"

Dim targetObj = DirectCast(DirectCast(DirectCast(items, JObject).Property("targets")?.Value, JObject).Property(targetFx)?.Value, JObject)
If targetObj Is Nothing Then
Expand Down
2 changes: 1 addition & 1 deletion src/Setup/DevDivPackages/Debugger/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"System.Threading.Thread": "4.0.0"
},
"frameworks": {
"net461": {}
"net46": {}
},
"runtimes": {
"win": {}
Expand Down
2 changes: 1 addition & 1 deletion src/Setup/DevDivPackages/Roslyn/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"System.IO.FileSystem.Primitives": "4.0.1"
},
"frameworks": {
"net461": {}
"net46": {}
},
"runtimes": {
"win": {}
Expand Down

0 comments on commit ee2a5e6

Please sign in to comment.