Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
e88de60
Implement CallerLineInfo for F#-style optional args
latkin Apr 7, 2016
f4f6bf9
Fix incorrect when guard in bogus args check
latkin Apr 7, 2016
445887a
Support CallerLineInfo for C#-style caller-side optional args
latkin Apr 7, 2016
fb16599
implement CallerFilePath
AviAvni Apr 7, 2016
4999c7e
Add simple test for CallerLineNumber
latkin Apr 14, 2016
c9c54a1
Add simple test for CallerFilePath
AviAvni Apr 14, 2016
08224bc
add test for ignore the compiler value and add negativ tests
AviAvni Apr 16, 2016
d8662a3
Escape backslashes
latkin Apr 18, 2016
1ec094f
Add tests covering C#-style optional parameters
latkin Apr 18, 2016
e5ddc39
Update error reporting for caller info attributes
latkin Apr 19, 2016
5b607d4
fix ILMeth read CallerFilePathAttribute
AviAvni Apr 19, 2016
29a8271
fix expected test error message
AviAvni Apr 19, 2016
b7235bb
fix error message
AviAvni Apr 19, 2016
6bf9dc5
add caller file path tests for contructor
AviAvni Apr 19, 2016
19a5762
fix test error message
AviAvni Apr 19, 2016
d2869be
change caller file path to return full path
AviAvni Apr 19, 2016
e827680
add attribute usage test
AviAvni Apr 22, 2016
12db616
Make sure to issue error in the case of multiple caller info attributes
latkin Apr 25, 2016
7185fad
Add additional negative tests for non-optional args with option types
latkin Apr 25, 2016
58bab3f
Add tests covering directive-defined line number and file name
latkin Apr 25, 2016
718204e
Add tests covering FSI
latkin Apr 25, 2016
a4d55ab
Fix tests
latkin Apr 25, 2016
4b2849f
Merge branch 'master' into latkin-caller-info-attrs
latkin Apr 25, 2016
7c87e1e
simplify CallerInfoInfo ToString
AviAvni Apr 26, 2016
9614626
add NoCallerInfo as condition to isSimpleFormalArg
AviAvni Apr 26, 2016
c2e1036
removed ;; not needed
AviAvni Apr 26, 2016
ba7c02f
add first class tests
AviAvni Apr 26, 2016
081689f
remove _
AviAvni Apr 26, 2016
dba815d
implement CallerMemberName
AviAvni Apr 28, 2016
25d73d3
add quotation test
AviAvni Apr 28, 2016
013db2f
add caller info test with computation expression
AviAvni Apr 28, 2016
fcbef0c
merege branch 'master' into 'latkin-caller-info-attrs'
AviAvni Apr 30, 2016
bea6d5f
fix merge
AviAvni Apr 30, 2016
0b1d83b
Merge branch 'Microsoft-master' into latkin-caller-info-attrs
AviAvni Apr 30, 2016
7a68444
fix merge
AviAvni Apr 30, 2016
7650c85
fix caller member name and add warning when no caller member name
AviAvni May 3, 2016
445123e
add tests for caller member name
AviAvni May 3, 2016
02882a3
Merge pull request #2 from Microsoft/master
AviAvni May 5, 2016
eb40e42
Merge branch 'master' into latkin-caller-info-attrs
latkin May 8, 2016
119d567
Updates and fixes to CallerMemberName
latkin May 8, 2016
7938a7d
Remove warning for scenarios where there is no calling member
latkin May 8, 2016
f6ddde6
Adjust tests
latkin May 8, 2016
4ad5491
fix CallerMemberName for properties
AviAvni May 11, 2016
fde3229
Expand CallerMemberName tests
latkin May 12, 2016
8927df4
fix build
AviAvni May 12, 2016
e919a98
add negative tests
AviAvni May 12, 2016
1ed22a8
update chkCurriedMethodsCantHaveOutParams error
AviAvni May 12, 2016
80975ac
implement the CS7080 warning and add test
AviAvni May 12, 2016
4d2563e
Expand unit-type-expected compiler warning
taylorwood Jun 2, 2016
771d273
merge
AviAvni Jun 4, 2016
0cda1c3
fix test
AviAvni Jun 4, 2016
de84623
Update unit-type-expected compiler warning
taylorwood Jun 6, 2016
3600557
Add test case for unused result warning
taylorwood Jun 7, 2016
b276c96
add tests
AviAvni Jun 10, 2016
87fc720
change tests from member of class to value of function
AviAvni Jun 13, 2016
d7064b2
add delegate test improve description
AviAvni Jun 13, 2016
37bf5b0
add static do tests
AviAvni Jun 13, 2016
ba3fee7
struct unions
dsyme Jun 15, 2016
75eec14
struct unions
dsyme Jun 15, 2016
f26b35b
integrate with master
dsyme Jun 15, 2016
4153ebb
fix for test
dsyme Jun 15, 2016
93f8799
fix for test
dsyme Jun 15, 2016
47077f6
limit conditional build and add more tests
dsyme Jun 15, 2016
28d4b05
fix tests
dsyme Jun 16, 2016
df300d1
minor fixes and more testing
dsyme Jun 16, 2016
b7eb48e
fix unit test build
dsyme Jun 16, 2016
6e23f15
add isStatic flag to ClassLetBinding and fix static do test
AviAvni Jun 16, 2016
4f06352
merge
AviAvni Jun 16, 2016
fe5d941
fix merge
AviAvni Jun 16, 2016
4c1f444
fix test
AviAvni Jun 16, 2016
cacc03f
allow elimination of more copy-of-struct locals
dsyme Jun 16, 2016
0e72beb
add new test for struct union codegen
dsyme Jun 16, 2016
583214b
fix new test for struct union codegen
dsyme Jun 17, 2016
d705557
first draft of fixed support
dsyme Jun 17, 2016
0756750
Update CallerFilePath tests to use current platform's path separator
latkin Jun 19, 2016
6414cc3
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 20, 2016
00eeb2d
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 20, 2016
1c9dba4
fixed implementation
dsyme Jun 20, 2016
07a7ded
fix fixed
dsyme Jun 20, 2016
3db7a6f
fix tests
dsyme Jun 20, 2016
9bc9f3e
Merge branch 'master' of https://github.com/dsyme/visualfsharp into f…
dsyme Jun 20, 2016
a4faea5
Merge branch 'master' of https://github.com/dsyme/visualfsharp into s…
dsyme Jun 20, 2016
a682a18
fix VS
dsyme Jun 20, 2016
8f0733c
proper codegen and add tests
dsyme Jun 21, 2016
f1c8a10
update tests
dsyme Jun 21, 2016
87f5ec5
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Jun 21, 2016
daffe33
update baseline
dsyme Jun 21, 2016
5c1fa0b
revert changes to VisualFsharp.sln
dsyme Jun 21, 2016
7bb6e68
simplify tests
dsyme Jun 21, 2016
8cdaeca
test function capitalization
dsyme Jun 21, 2016
b322bb2
fix test
dsyme Jun 22, 2016
38657fa
add a warning to mutable use bindings
dsyme Jun 22, 2016
9fa8547
Show better error when using ref cell - fixes #1276
forki Jun 22, 2016
1599c24
unreserve various keywords
dsyme Jun 22, 2016
f9540e1
Fix Loc Typo
Jun 22, 2016
1ed7434
update tests
dsyme Jun 23, 2016
a400ecf
fix test
dsyme Jun 23, 2016
7cae7f1
fix test
dsyme Jun 23, 2016
6ef3546
feedback from code review
dsyme Jun 23, 2016
1f952d4
Merge pull request #1279 from dsyme/keywords-1
KevinRansom Jun 24, 2016
deea6a5
Merge pull request #1275 from forki/refcell
KevinRansom Jun 24, 2016
760a50b
Merge pull request #1235 from taylorwood/result-ignored
KevinRansom Jun 24, 2016
b7e2bf1
Merge pull request #1277 from dsyme/mutable-use
KevinRansom Jun 24, 2016
790d634
merge
KevinRansom Jun 24, 2016
4e562f3
merge
KevinRansom Jun 25, 2016
834d393
integrate and fix conflicts
dsyme Jun 25, 2016
8aefe6c
integrate and fix conflicts
dsyme Jun 25, 2016
858eddf
Merge pull request #1270 from dsyme/fixed
KevinRansom Jun 27, 2016
a403249
update buildtools deps to https://github.com/dotnet/corefx/commit/96a…
enricosada Jun 27, 2016
8dcde4f
let's used .NET Core RTM ( version 1.0.0-preview2-003121 )
enricosada Jun 27, 2016
a2efe03
update deps to .NET Core 1.0 RTM
enricosada Jun 27, 2016
3cd1705
fix tf
enricosada Jun 27, 2016
3866b77
Fixed template imports in VSIX
Jun 23, 2016
eeef150
Update to rtm coreclr libraries
KevinRansom Jun 28, 2016
9e0d0da
null change
KevinRansom Jun 28, 2016
eb43b14
the `Microsoft.NETCore.Runtime` was a metapackage, use `Microsoft.NET…
enricosada Jun 27, 2016
a3acc9e
remove System.Runtime.InteropServices.PInvoke, use System.Runtime.Int…
enricosada Jun 27, 2016
daf8ebf
fix json
enricosada Jun 27, 2016
0a49e13
remove System.Runtime.InteropServices.PInvoke, use System.Runtime.Int…
enricosada Jun 27, 2016
edd6d32
use Microsoft.NETCore not prerelease
enricosada Jun 27, 2016
1803985
removed unused Microsoft.NETCore.ConsoleHost
enricosada Jun 27, 2016
fb1acf3
fix dependencies version, as published in nuget.org
enricosada Jun 28, 2016
ba5e8c2
the System.Runtime.InteropServices.PInvoke it's not needed
enricosada Jun 28, 2016
8a1d952
use Microsoft.NETCore.TestHost rtm version 1.0.0
enricosada Jun 28, 2016
44a569e
use Microsoft.NETCore.Runtime.CoreCLR instead of metapackage Microsof…
enricosada Jun 28, 2016
b693f57
fix target platform for tests ( 1.5 => 1.6 )
enricosada Jun 28, 2016
4f0c640
Update roslyn branch build badges
Jun 28, 2016
0e1bf8d
Merge branch 'netcorertm' of https://github.com/enricosada/visualfsha…
KevinRansom Jun 28, 2016
73cdc50
Adding back editor factories?
Jun 28, 2016
2cd7f7c
Fix indent in TypeChecker.fs
forki Jun 28, 2016
fd22b7e
Merge pull request #1292 from forki/cleanup-tc
dsyme Jun 29, 2016
ba337ae
remove semicolns
dsyme Jun 29, 2016
714ad7f
Merge pull request #1299 from dsyme/semis-1
dsyme Jun 29, 2016
bac253f
Add note for Visual Studio SDK as prerequisite for building Visual F#…
Jun 30, 2016
e368e31
Merge https://github.com/Microsoft/visualfsharp
KevinRansom Jun 30, 2016
263d97b
Get latest from master
Jun 30, 2016
e47d536
fixes typo in #1129
Jul 1, 2016
0247247
Merge pull request #1305 from toburger/fix-byte-literal
dsyme Jul 1, 2016
de6c709
Add compipler perf scripts
dsyme Jul 1, 2016
9931f8d
Merge pull request #1307 from dsyme/compiler-perf-scripts
dsyme Jul 1, 2016
158b3df
updates to perf scripts
dsyme Jul 1, 2016
9c588af
Merge pull request #1309 from dsyme/perf-updates
dsyme Jul 1, 2016
1ce06f8
perf script updates
dsyme Jul 1, 2016
af5e7b0
Remove unused function.
gusty Jul 2, 2016
6639a3d
Merge branch 'master' of https://github.com/Microsoft/visualfsharp
KevinRansom Jul 2, 2016
a4c3d40
Merge pull request #1312 from gmpl/patch-1
dsyme Jul 3, 2016
78a8f52
Fix comment in build.bat and make build ci work
KevinRansom Jul 4, 2016
ab1c252
cosmetic cleanup
dsyme Jul 4, 2016
18d4acf
updates to perf results
dsyme Jul 4, 2016
3ca9f2d
resolve merge conflict
dsyme Jul 4, 2016
308d7ee
resolve merge conflict
dsyme Jul 4, 2016
8cc1081
fix build
dsyme Jul 4, 2016
69ecc0f
fix build
dsyme Jul 4, 2016
f9c5bd5
Merge pull request #1314 from KevinRansom/master
KevinRansom Jul 4, 2016
d1837c8
Merge pull request #1302 from eriawan/Add_VSSDK_notes_DEVGUIDE
KevinRansom Jul 4, 2016
ffc504e
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme Jul 4, 2016
19d592d
fix build
dsyme Jul 4, 2016
c625a8f
fix build
dsyme Jul 4, 2016
49941f3
fix build
dsyme Jul 4, 2016
e9265d8
Merge pull request #1315 from dsyme/semis-2
dsyme Jul 4, 2016
f97dcf6
Update DEVGUIDE.md
dsyme Jul 5, 2016
f421101
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
Jul 5, 2016
3d43f0c
Fixed MEF Issue
Jul 15, 2016
37deb5d
Merge branch 'roslyn' of https://github.com/Microsoft/visualfsharp in…
Jul 15, 2016
4a6d330
Fetch Dev14 VSSDK binaries from nuget
Jul 15, 2016
190b5a0
Fetch Dev14 VSSDK binaries from nuget
Jul 15, 2016
bb09f87
Ignore VS non-Roslyn tests
Jul 19, 2016
4eb68ab
Merge latest
Jul 19, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .nuget/NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<add key="disableSourceControlIntegration" value="true" />
</solution>
<packageSources>

<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="myget.org fsharp-daily" value="https://www.myget.org/F/fsharp-daily/api/v3/index.json" />
<add key="myget.org dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="myget.org dotnet-buildtools" value="https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />

</packageSources>
</configuration>
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.25-prerelease-00404-01
1.0.25-prerelease-00517-05
13 changes: 11 additions & 2 deletions DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ There are various qualifiers:
build.cmd test-fsharpqa -- build, run tests\fsharpqa suite
build.cmd test-vs -- build, run Visual F# IDE Tools unit tests

**Notes**
To build and test Visual F# IDE Tools, you must use [Visual Studio "vNext" (aka "Dev15")](https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx). This is the one after Visual Studio 2015 (aka "Dev 14"). You must also install Visual Studio SDK (also called _Visual Studio Extensibility SDK_ on the Visual Studio installer) before building Visual F# IDE Tools.
Please ensure that the Visual Studio SDK version is matched with your current Visual Studio to ensure successful builds. For example: Visual Studio 2015 Update 1 requires Visual Studio 2015 SDK Update 1. Any installation of Visual Studio 2015 and later provides Visual Studio SDK as part of the installation of Visual Studio 2015 as feature installation.

Combinations are also allowed:

build.cmd debug,compiler,notests -- build the debug compiler and run smoke tests
Expand Down Expand Up @@ -147,8 +151,13 @@ For **Release** this corresponds to these steps, which you can run individually

### 4. [Optional] Install the Visual F# IDE Tools

**Note:** This step will install a VSIX extension into Visual Studio 15 that changes the Visual F# IDE Tools
components installed into Visual Studio 15. You can revert this step by disabling or uninstalling the addin.
At time of writing, the Visual F# IDE Tools can only be installed into Visual Studio "Next" (aka "Dev15") releases.
The new builds of the Visual F# IDE Tools can no longer be installed into Visual Studio 2015.

You can install VIsual Studio "Next (aka "Dev15") from https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx.

**Note:** This step will install a VSIX extension into Visual Studio "Next" (aka "Dev15") that changes the Visual F# IDE Tools
components installed in that VS installation. You can revert this step by disabling or uninstalling the addin.

For **Debug**:

Expand Down
2 changes: 1 addition & 1 deletion DotnetCLIVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-rc2-002665
1.0.0-preview2-003121
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| |Debug (Build only)|Release (Tests Part 1)|Release (Tests Part 2)|
|:----------:|:----------------:|:------------------:|:-----------------------:|
|**master** |[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/master/debug_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/master/job/debug_windows_nt/)|[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/master/release_ci_part1_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/master/job/release_ci_part1_windows_nt/)|[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/master/release_ci_part2_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/master/job/release_ci_part2_windows_nt/)|
|**roslyn** |[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/roslyn/debug_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/roslyn/job/debug_windows_nt/)|[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/roslyn/release_ci_part1_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/roslyn/job/release_ci_part1_windows_nt/)|[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/roslyn/release_ci_part2_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/roslyn/job/release_ci_part2_windows_nt/)|
|**roslyn** |[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/roslyn/debug_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/roslyn/job/debug_windows_nt/)|[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/roslyn/release_ci_part1_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/roslyn/job/release_ci_part1_windows_nt/)|[![Build Status](http://dotnet-ci.cloudapp.net/buildStatus/icon?job=Microsoft_visualfsharp/roslyn/release_ci_part2_windows_nt)](http://dotnet-ci.cloudapp.net/job/Microsoft_visualfsharp/job/roslyn/job/release_ci_part2_windows_nt/)|

###Contributing to the F# Language, Library, and Tools

Expand Down Expand Up @@ -60,7 +60,7 @@ For F# 4.1 development
- [.NET 3.5](http://www.microsoft.com/en-us/download/details.aspx?id=21)
- [.NET 4.5](http://www.microsoft.com/en-us/download/details.aspx?id=30653)
- [.NET 4.5.1](http://www.microsoft.com/en-us/download/details.aspx?id=40779)
- [.NET 4.6](https://www.microsoft.com/en-us/download/details.aspx?id=48137)
- [.NET 4.6](http://www.microsoft.com/en-us/download/details.aspx?id=48137)
- [MSBuild 12.0](http://www.microsoft.com/en-us/download/details.aspx?id=40760)
- [Windows 7 SDK](http://www.microsoft.com/en-us/download/details.aspx?id=8279)
- [Windows 8 SDK](http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx)
Expand Down Expand Up @@ -94,4 +94,3 @@ Although the primary focus of this repo is F# for Windows and the Visual Studio
Keep up with the Visual F# Team and the development of the Visual F# Tools by following us [@VisualFSharp](https://twitter.com/VisualFSharp) or subscribing to our [team blog](http://blogs.msdn.com/b/fsharpteam/).



44 changes: 41 additions & 3 deletions VisualFSharp.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.25123.0
VisualStudioVersion = 15.0.25302.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharp.Compiler", "src\fsharp\FSharp.Compiler\FSharp.Compiler.fsproj", "{2E4D67B4-522D-4CF7-97E4-BA940F0B18F3}"
EndProject
Expand Down Expand Up @@ -118,7 +118,18 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TextFile", "vsintegration\I
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XMLFile", "vsintegration\ItemTemplates\XMLFile\XMLFile.csproj", "{1FB1DD07-06AA-45B4-B5AC-20FF5BEE98B6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualFSharpVsix", "vsintegration\VisualFSharpVsix\VisualFSharpVsix.csproj", "{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A83A9A70-8C33-4253-BF6F-3AADB509F21C}"
ProjectSection(SolutionItems) = preProject
Performance1.psess = Performance1.psess
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Vsix", "Vsix", "{141F6C23-E1B1-4D89-9F10-F0B8AD58E71F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualFSharpDesktop", "vsintegration\Vsix\VisualFSharpDesktop\VisualFSharpDesktop.csproj", "{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualFSharpFull", "vsintegration\Vsix\VisualFSharpFull\VisualFSharpFull.csproj", "{59ADCE46-9740-4079-834D-9A03A3494EBC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualFSharpWeb", "vsintegration\Vsix\VisualFSharpWeb\VisualFSharpWeb.csproj", "{58730C8B-16F5-4956-9291-BB68E17C9142}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -705,6 +716,30 @@ Global
{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090}.Release|Any CPU.Build.0 = Release|Any CPU
{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090}.Release|x86.ActiveCfg = Release|Any CPU
{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090}.Release|x86.Build.0 = Release|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Debug|x86.ActiveCfg = Debug|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Debug|x86.Build.0 = Debug|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Proto|Any CPU.ActiveCfg = Proto|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Proto|Any CPU.Build.0 = Proto|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Proto|x86.ActiveCfg = Proto|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Proto|x86.Build.0 = Proto|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Release|Any CPU.Build.0 = Release|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Release|x86.ActiveCfg = Release|Any CPU
{59ADCE46-9740-4079-834D-9A03A3494EBC}.Release|x86.Build.0 = Release|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Debug|Any CPU.Build.0 = Debug|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Debug|x86.ActiveCfg = Debug|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Debug|x86.Build.0 = Debug|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Proto|Any CPU.ActiveCfg = Proto|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Proto|Any CPU.Build.0 = Proto|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Proto|x86.ActiveCfg = Proto|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Proto|x86.Build.0 = Proto|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Release|Any CPU.ActiveCfg = Release|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Release|Any CPU.Build.0 = Release|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Release|x86.ActiveCfg = Release|Any CPU
{58730C8B-16F5-4956-9291-BB68E17C9142}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -761,6 +796,9 @@ Global
{E3FDD4AC-46B6-4B9F-B672-317D1202CC50} = {F6DAEE9A-8BE1-4C4A-BC83-09215517C7DA}
{D11FC318-8F5D-4C8C-9287-AB40A016D13C} = {F6DAEE9A-8BE1-4C4A-BC83-09215517C7DA}
{1FB1DD07-06AA-45B4-B5AC-20FF5BEE98B6} = {F6DAEE9A-8BE1-4C4A-BC83-09215517C7DA}
{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090} = {4C7B48D7-19AF-4AE7-9D1D-3BB289D5480D}
{141F6C23-E1B1-4D89-9F10-F0B8AD58E71F} = {4C7B48D7-19AF-4AE7-9D1D-3BB289D5480D}
{E7EC4A3E-9D57-45B8-83F5-EDDFD6CEF090} = {141F6C23-E1B1-4D89-9F10-F0B8AD58E71F}
{59ADCE46-9740-4079-834D-9A03A3494EBC} = {141F6C23-E1B1-4D89-9F10-F0B8AD58E71F}
{58730C8B-16F5-4956-9291-BB68E17C9142} = {141F6C23-E1B1-4D89-9F10-F0B8AD58E71F}
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
os: Visual Studio 2015

environment:
matrix:
- BUILD_PROFILE: ci_part1
Expand Down
15 changes: 8 additions & 7 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ if /i '%ARG%' == 'ci' (
set CONF_FSHARPQA_SUITE=Smoke
)

REM These divide 'ci' into three chunks which can be done in parallel

REM These divide 'ci' into two chunks which can be done in parallel
if /i '%ARG%' == 'ci_part1' (
set BUILD_PROTO=1
set SKIP_EXPENSIVE_TESTS=1
Expand Down Expand Up @@ -338,20 +339,20 @@ pushd .\lkg & %_dotnetexe% publish project.json &popd
@if ERRORLEVEL 1 echo Error: dotnet publish failed && goto :failure

rem rename fsc and coreconsole to allow fsc.exe to to start compiler
pushd .\lkg\bin\debug\dnxcore50\win7-x64\publish
fc fsc.exe corehost.exe >nul
pushd .\lkg\bin\debug\netstandard1.6\win7-x64\publish
fc fsc.exe dotnet.exe >nul
@if ERRORLEVEL 1 (
copy fsc.exe fsc.dll
copy corehost.exe fsc.exe
copy dotnet.exe fsc.exe
)
popd

rem rename fsc and coreconsole to allow fsc.exe to to start compiler
pushd .\lkg\bin\debug\dnxcore50\win7-x64\publish
fc fsi.exe corehost.exe >nul
pushd .\lkg\bin\debug\netstandard1.6\win7-x64\publish
fc fsi.exe dotnet.exe >nul
@if ERRORLEVEL 1 (
copy fsi.exe fsi.dll
copy corehost.exe fsi.exe
copy dotnet.exe fsi.exe
)
popd

Expand Down
33 changes: 19 additions & 14 deletions init-tools.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ if [%TOOLRUNTIME_DIR%]==[] set TOOLRUNTIME_DIR=%~dp0Tools
set DOTNET_PATH=%TOOLRUNTIME_DIR%\dotnetcli\
if [%DOTNET_CMD%]==[] set DOTNET_CMD=%DOTNET_PATH%dotnet.exe
if [%BUILDTOOLS_SOURCE%]==[] set BUILDTOOLS_SOURCE=https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
set /P BUILDTOOLS_VERSION=< %~dp0BuildToolsVersion.txt
set /P BUILDTOOLS_VERSION=< "%~dp0BuildToolsVersion.txt"
set BUILD_TOOLS_PATH=%PACKAGES_DIR%Microsoft.DotNet.BuildTools\%BUILDTOOLS_VERSION%\lib\
set PROJECT_JSON_PATH=%TOOLRUNTIME_DIR%\%BUILDTOOLS_VERSION%
set PROJECT_JSON_FILE=%PROJECT_JSON_PATH%\project.json
set PROJECT_JSON_CONTENTS={ "dependencies": { "Microsoft.DotNet.BuildTools": "%BUILDTOOLS_VERSION%" }, "frameworks": { "dnxcore50": { } } }
set PROJECT_JSON_CONTENTS={ "dependencies": { "Microsoft.DotNet.BuildTools": "%BUILDTOOLS_VERSION%" }, "frameworks": { "netcoreapp1.0": { } } }
set BUILD_TOOLS_SEMAPHORE=%PROJECT_JSON_PATH%\init-tools.completed

:: if force option is specified then clean the tool runtime and build tools package directory to force it to get recreated
Expand All @@ -29,40 +29,45 @@ if exist "%BUILD_TOOLS_SEMAPHORE%" (
if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"

if NOT exist "%PROJECT_JSON_PATH%" mkdir "%PROJECT_JSON_PATH%"
echo %PROJECT_JSON_CONTENTS% > %PROJECT_JSON_FILE%
echo Running %0 > %INIT_TOOLS_LOG%
echo %PROJECT_JSON_CONTENTS% > "%PROJECT_JSON_FILE%"
echo Running %0 > "%INIT_TOOLS_LOG%"

if exist "%DOTNET_CMD%" goto :afterdotnetrestore

echo Installing dotnet cli...
if NOT exist "%DOTNET_PATH%" mkdir "%DOTNET_PATH%"
set /p DOTNET_VERSION=< %~dp0DotnetCLIVersion.txt
set /p DOTNET_VERSION=< "%~dp0DotnetCLIVersion.txt"
set DOTNET_ZIP_NAME=dotnet-dev-win-x64.%DOTNET_VERSION%.zip
set DOTNET_REMOTE_PATH=https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/%DOTNET_VERSION%/%DOTNET_ZIP_NAME%
set DOTNET_REMOTE_PATH=https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/%DOTNET_VERSION%/%DOTNET_ZIP_NAME%
set DOTNET_LOCAL_PATH=%DOTNET_PATH%%DOTNET_ZIP_NAME%
echo Installing '%DOTNET_REMOTE_PATH%' to '%DOTNET_LOCAL_PATH%' >> %INIT_TOOLS_LOG%
powershell -NoProfile -ExecutionPolicy unrestricted -Command "(New-Object Net.WebClient).DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> %INIT_TOOLS_LOG%
echo Installing '%DOTNET_REMOTE_PATH%' to '%DOTNET_LOCAL_PATH%' >> "%INIT_TOOLS_LOG%"
powershell -NoProfile -ExecutionPolicy unrestricted -Command "$retryCount = 0; $success = $false; do { try { (New-Object Net.WebClient).DownloadFile('%DOTNET_REMOTE_PATH%', '%DOTNET_LOCAL_PATH%'); $success = $true; } catch { if ($retryCount -ge 6) { throw; } else { $retryCount++; Start-Sleep -Seconds (5 * $retryCount); } } } while ($success -eq $false); Add-Type -Assembly 'System.IO.Compression.FileSystem' -ErrorVariable AddTypeErrors; if ($AddTypeErrors.Count -eq 0) { [System.IO.Compression.ZipFile]::ExtractToDirectory('%DOTNET_LOCAL_PATH%', '%DOTNET_PATH%') } else { (New-Object -com shell.application).namespace('%DOTNET_PATH%').CopyHere((new-object -com shell.application).namespace('%DOTNET_LOCAL_PATH%').Items(),16) }" >> "%INIT_TOOLS_LOG%"
if NOT exist "%DOTNET_LOCAL_PATH%" (
echo ERROR: Could not install dotnet cli correctly. See '%INIT_TOOLS_LOG%' for more details.
goto :EOF
exit /b 1
)

:afterdotnetrestore

if exist "%BUILD_TOOLS_PATH%" goto :afterbuildtoolsrestore
echo Restoring BuildTools version %BUILDTOOLS_VERSION%...
echo Running: "%DOTNET_CMD%" restore "%PROJECT_JSON_FILE%" --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" >> %INIT_TOOLS_LOG%
call "%DOTNET_CMD%" restore "%PROJECT_JSON_FILE%" --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" >> %INIT_TOOLS_LOG%
echo Running: "%DOTNET_CMD%" restore "%PROJECT_JSON_FILE%" --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" >> "%INIT_TOOLS_LOG%"
call "%DOTNET_CMD%" restore "%PROJECT_JSON_FILE%" --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" >> "%INIT_TOOLS_LOG%"
if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
echo ERROR: Could not restore build tools correctly. See '%INIT_TOOLS_LOG%' for more details.
goto :EOF
exit /b 1
)

:afterbuildtoolsrestore

echo Initializing BuildTools ...
echo Running: "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> %INIT_TOOLS_LOG%
call "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> %INIT_TOOLS_LOG%
echo Running: "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
call "%BUILD_TOOLS_PATH%init-tools.cmd" "%~dp0" "%DOTNET_CMD%" "%TOOLRUNTIME_DIR%" >> "%INIT_TOOLS_LOG%"
set INIT_TOOLS_ERRORLEVEL=%ERRORLEVEL%
if not [%INIT_TOOLS_ERRORLEVEL%]==[0] (
echo ERROR: An error occured when trying to initialize the tools. Please check '%INIT_TOOLS_LOG%' for more details.
exit /b %INIT_TOOLS_ERRORLEVEL%
)

:: Create sempahore file
echo Done initializing tools.
Expand Down
Loading