Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/absil/ilread.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3946,15 +3946,15 @@ let ClosePdbReader pdb =

let OpenILModuleReader infile opts =

if not runningOnMono then
try
let mmap = MemoryMappedFile.Create infile
let modul,ilAssemblyRefs,pdb = genOpenBinaryReader infile mmap opts
{ modul = modul
ilAssemblyRefs=ilAssemblyRefs
dispose = (fun () ->
mmap.Close()
ClosePdbReader pdb) }
else
with _ ->
let mc = ByteFile(infile |> FileSystem.ReadAllBytesShim)
let modul,ilAssemblyRefs,pdb = genOpenBinaryReader infile mc opts
{ modul = modul
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/CompileOps.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2602,8 +2602,8 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
clrRoot, (int v1, sprintf "v%d.%d" v1 v2), (v1=5us && v2=0us && v3=5us) // SL5 mscorlib is 5.0.5.0
| _ ->
failwith (FSComp.SR.buildCouldNotReadVersionInfoFromMscorlib())
with _ ->
error(Error(FSComp.SR.buildCannotReadAssembly(filename),rangeStartup))
with e ->
error(Error(FSComp.SR.buildErrorOpeningBinaryFile(filename, e.Message), rangeStartup))
| _ ->
None, MSBuildResolver.HighestInstalledNetFrameworkVersionMajorMinor(), false

Expand Down Expand Up @@ -2657,8 +2657,8 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
checkFSharpBinaryCompatWithMscorlib filename ilReader.ILAssemblyRefs ilReader.ILModuleDef.ManifestOfAssembly.Version rangeStartup;
let fslibRoot = Path.GetDirectoryName(FileSystem.GetFullPathShim(filename))
fslibRoot (* , sprintf "v%d.%d" v1 v2 *)
with _ ->
error(Error(FSComp.SR.buildCannotReadAssembly(filename),rangeStartup))
with e ->
error(Error(FSComp.SR.buildErrorOpeningBinaryFile(filename, e.Message), rangeStartup))
| _ ->
data.defaultFSharpBinariesDir

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.0.1",
"version": "6.0.2",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": false,
Expand Down Expand Up @@ -36,7 +36,7 @@
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00029-160805",
"System.Runtime.Serialization.Json": "4.0.2",
"FSharp.Compiler.Service": {
"version": "6.0.1",
"version": "6.0.2",
"target": "project"
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/fsharp/FSharp.Compiler.Service/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "6.0.1",
"version": "6.0.2",
"buildOptions": {
"debugType": "portable",
"compilerName": "fsc",
Expand Down
2 changes: 1 addition & 1 deletion tests/service/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-*",
"NUnit": "3.4.1",
"dotnet-test-nunit": "3.4.0-beta-1",
"dotnet-test-nunit": "3.4.0-beta-2",
"FSharp.Compiler.Service": { "target": "project" }
},

Expand Down