Skip to content

Commit 9a15a5b

Browse files
authored
Merge pull request #1329 from dsyme/fix-build-6
try to fix build
2 parents 9b81e87 + 5f2f4b6 commit 9a15a5b

File tree

5 files changed

+35
-31
lines changed

5 files changed

+35
-31
lines changed

build.cmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -339,20 +339,20 @@ pushd .\lkg & %_dotnetexe% publish project.json &popd
339339
@if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure
340340

341341
rem rename fsc and coreconsole to allow fsc.exe to to start compiler
342-
pushd .\lkg\bin\debug\dnxcore50\win7-x64\publish
343-
fc fsc.exe corehost.exe >nul
342+
pushd .\lkg\bin\debug\netstandard1.6\win7-x64\publish
343+
fc fsc.exe dotnet.exe >nul
344344
@if ERRORLEVEL 1 (
345345
copy fsc.exe fsc.dll
346-
copy corehost.exe fsc.exe
346+
copy dotnet.exe fsc.exe
347347
)
348348
popd
349349

350350
rem rename fsc and coreconsole to allow fsc.exe to to start compiler
351-
pushd .\lkg\bin\debug\dnxcore50\win7-x64\publish
352-
fc fsi.exe corehost.exe >nul
351+
pushd .\lkg\bin\debug\netstandard1.6\win7-x64\publish
352+
fc fsi.exe dotnet.exe >nul
353353
@if ERRORLEVEL 1 (
354354
copy fsi.exe fsi.dll
355-
copy corehost.exe fsi.exe
355+
copy dotnet.exe fsi.exe
356356
)
357357
popd
358358

lkg/project.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
12
{
23
"dependencies": {
3-
"Microsoft.FSharp.Compiler.Host.netcore": "1.0.0-alpha-160406",
4+
"Microsoft.FSharp.Compiler.Host.netcore": "1.0.0-alpha-160629",
5+
"Microsoft.NETCore.Runtime.CoreCLR": "1.0.2",
6+
"Microsoft.NETCore.DotNetHostPolicy": "1.0.1",
7+
"Microsoft.NETCore.DotNetHost": "1.0.1"
48
},
59
"runtimes": {
610
"win7-x86": { },
@@ -9,7 +13,7 @@
913
"ubuntu.14.04-x64": { }
1014
},
1115
"frameworks": {
12-
"dnxcore50": {
16+
"netstandard1.6": {
1317
"imports": "portable-net45+win8"
1418
}
1519
}

src/FSharpSource.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@
742742
<When Condition="'$(BuildWith)' == 'LKG'">
743743
<PropertyGroup>
744744
<FSharpTargetsPath>..\lkg\FSharp-$(LkgVersion)\bin\Microsoft.FSharp.Targets</FSharpTargetsPath>
745-
<FscToolPath>$(FSharpSourcesRoot)\..\lkg\bin\Debug\dnxcore50\win7-x64\publish</FscToolPath>
745+
<FscToolPath>$(FSharpSourcesRoot)\..\lkg\bin\Debug\netstandard1.6\win7-x64\publish</FscToolPath>
746746
<FSLKGPath>$(FSharpSourcesRoot)\..\lkg\FSharp-$(LkgVersion)\bin</FSLKGPath>
747747
<FSCoreLKGPath>$(FSLKGPath)\FSharp.Core.dll</FSCoreLKGPath>
748748
</PropertyGroup>
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
{
2-
"dependencies": {
3-
"Microsoft.Build": "0.1.0-preview-00022",
4-
"Microsoft.Build.Framework": "0.1.0-preview-00022",
5-
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00022",
6-
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00022",
7-
"Microsoft.NETCore.Platforms": "1.0.1-rc2-24027",
8-
"Microsoft.Win32.Registry": {
9-
"version": "4.0.0-rc2-24027",
10-
"exclude": "Compile"
11-
},
12-
"System.AppContext": "4.1.0-rc2-24027",
13-
"System.Diagnostics.Tools": "4.0.1-rc2-24027",
14-
"System.Reflection.Primitives": "4.0.1-rc2-24027",
15-
"System.Resources.ResourceManager": "4.0.1-rc2-24027"
16-
},
17-
"frameworks": {
18-
"dnxcore50": {
1+
{
2+
"dependencies": {
3+
"Microsoft.Build": "0.1.0-preview-00028-160627",
4+
"Microsoft.Build.Framework": "0.1.0-preview-00028-160627",
5+
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00028-160627",
6+
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00028-160627",
7+
"Microsoft.NETCore.Platforms": "1.0.1",
8+
"Microsoft.Win32.Registry": {
9+
"version": "4.0.0",
10+
"exclude": "Compile"
11+
},
12+
"System.AppContext": "4.1.0",
13+
"System.Diagnostics.Tools": "4.0.1",
14+
"System.Reflection.Primitives": "4.0.1",
15+
"System.Resources.ResourceManager": "4.0.1"
16+
},
17+
"frameworks": {
18+
"netstandard1.6": {
1919
"imports": "portable-net45+win8"
20-
}
21-
}
22-
}
20+
}
21+
}
22+
}

src/fsharp/FSharp.Core.Unittests/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"System.Reflection.Emit": "4.0.1",
99
"System.Runtime.Loader": "4.0.0",
1010
"System.Text.RegularExpressions": "4.1.0",
11-
"System.Threading.Tasks.Parallel": "4.0.1-rc2-24027",
11+
"System.Threading.Tasks.Parallel": "4.0.1",
1212
"System.Threading.Thread": "4.0.0",
1313
"System.Threading.ThreadPool": "4.0.10"
1414
},

0 commit comments

Comments
 (0)