Skip to content

Commit 29e504e

Browse files
author
Omar Tawfik
committed
Merge branch 'master' of https://github.com/Microsoft/visualfsharp into roslyn-update
2 parents aa86ea0 + d060244 commit 29e504e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+488
-1040
lines changed

.nuget/NuGet.Config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<add key="myget.org roslyn-dev15-preview4-df-nightly" value="https://dotnet.myget.org/F/roslyn-dev15-preview4-df-nightly/api/v3/index.json" />
1212
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
1313
<add key="myget.org dotnet-buildtools" value="https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" />
14+
<add key="myget.org roslyn-tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" />
1415
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
1516
<add key="vctools" value="https://vcppdogfooding.azurewebsites.net/nuget/" />
1617
</packageSources>

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ Quickstart guides for build and test can be found [here](https://github.com/Micr
3737

3838
####Development tools
3939

40-
For F# 4.0 development
41-
42-
- [Visual Studio 2015](http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs)
43-
- Select Visual C++ / Common Tools For Visual C++
44-
- Visual F#
45-
- Visual Studio Extensibility Tools
46-
- [Visual Studio 2015 SDK](http://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs)
47-
4840
For F# 4.1 development
4941

5042
- [Visual Studio 15](https://www.visualstudio.com/en-us/downloads/visual-studio-next-downloads-vs.aspx)

TESTGUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The F# tests are split as follows:
4848

4949
### FSharp Suite
5050

51-
This is now compiled using [tests\fsharp\FSharp.Tests.fsproj] to a unit test DLL which acts as a driver script.
51+
This is now compiled using [tests\fsharp\FSharp.Tests.fsproj](tests/fsharp/FSharp.Tests.fsproj) to a unit test DLL which acts as a driver script.
5252

5353
This compiles and executes the `test.fsx` file using some combination of compiler or FSI flags.
5454
If the compilation and execution encounter no errors, the test is considered to have passed.

UpgradeLog.htm

-107 KB
Binary file not shown.

build.cmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ if /i '%ARG%' == 'all' (
9696
set BUILD_CORECLR=1
9797
set BUILD_PORTABLE=1
9898
set BUILD_VS=1
99+
set BUILD_SETUP=1
99100

100101
set TEST_COMPILERUNIT=1
101102
set TEST_NET40_COREUNIT=1
@@ -142,6 +143,7 @@ if /i '%ARG%' == 'ci' (
142143
set BUILD_CORECLR=1
143144
set BUILD_PORTABLE=1
144145
set BUILD_VS=1
146+
set BUILD_SETUP=1
145147

146148
set TEST_COMPILERUNIT=1
147149
set TEST_NET40_COREUNIT=1
@@ -162,6 +164,7 @@ if /i '%ARG%' == 'ci_part1' (
162164
set BUILD_CORECLR=0
163165
set BUILD_PORTABLE=1
164166
set BUILD_VS=1
167+
set BUILD_SETUP=1
165168

166169
set TEST_COMPILERUNIT=1
167170
set TEST_NET40_COREUNIT=0
@@ -418,14 +421,12 @@ call BuildTestTools.cmd %BUILD_CONFIG_LOWERCASE%
418421

419422
@echo on
420423
if '%TEST_FSHARP_SUITE%' == '1' (
421-
set FSHARP_TEST_SUITE_USE_NUNIT_RUNNER=true
422424
call RunTests.cmd %BUILD_CONFIG_LOWERCASE% fsharp %TEST_TAGS%
423425
@if ERRORLEVEL 1 (
424426
type testresults\FSharpNunit_Error.log
425427
echo Error: 'RunTests.cmd %BUILD_CONFIG_LOWERCASE% fsharp %TEST_TAGS%' failed
426428
goto :failed_tests
427429
)
428-
set FSHARP_TEST_SUITE_USE_NUNIT_RUNNER=
429430
)
430431

431432
if '%TEST_FSHARPQA_SUITE%' == '1' (

packages.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<package id="Microsoft.DiaSymReader" version="1.0.8" />
1414
<package id="FsSrGen" version="2.0.0" targetFramework="net46" />
1515
<package id="MicroBuild.Core" version="0.2.0" />
16+
<package id="MicroBuild.Core.Sentinel" version="1.0.0" />
17+
<package id="MicroBuild.Plugins.SwixBuild" version="1.0.43" />
1618
<package id="WiX.Toolset.2015" version="3.10.0.1503" />
1719
<package id="Microsoft.VisualFSharp.Core.Redist" version="1.0.0" />
1820
<package id="Microsoft.VisualFSharp.Type.Providers.Redist" version="1.0.0" />

setup/FSharp.SDK/FSharp.SDK.wixproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<Error Condition="'$(IsLangPack)' == ''" Text="A 'IsLangPack' property must be passed to the project." />
7373
</Target>
7474

75-
<Target Name="CopyMsiToInsertionFolder" AfterTargets="SignFiles">
75+
<Target Name="CopyMsiToInsertionFolder" AfterTargets="Build">
7676
<ItemGroup>
7777
<MsiPath Include="$(OutDir)$(OutputName).msi" />
7878
</ItemGroup>

setup/FSharp.SDK/component-groups/Compiler_Redist.wxs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<ComponentRef Id="Compiler_Redist_Microsoft.DiaSymReader.dll" />
3030
<ComponentRef Id="Compiler_Redist_System.Reflection.Metadata.dll" />
3131
<ComponentRef Id="Compiler_Redist_System.Collections.Immutable.dll" />
32+
<ComponentRef Id="Compiler_Redist_System.ValueTuple.dll" />
3233

3334
<ComponentRef Id="Compiler_Redist_OtherResources_Redist.txt" />
3435
<ComponentRef Id="Compiler_Redist_OtherResources_ThirdPartyNotices.txt" />
@@ -161,6 +162,10 @@
161162
<Component Id="Compiler_Redist_Microsoft.DiaSymReader.dll" Guid="$(fsharp.guid(Compiler_Redist_Microsoft.DiaSymReader.dll, $(var.LocaleCode)))">
162163
<File Id="Compiler_Redist_Microsoft.DiaSymReader.dll" Source="$(var.NugetPackagesDir)\Microsoft.DiaSymReader.1.0.8\lib\netstandard1.1\Microsoft.DiaSymReader.dll" />
163164
</Component>
165+
166+
<Component Id="Compiler_Redist_System.ValueTuple.dll" Guid="$(fsharp.guid(Compiler_Redist_System.ValueTuple.dll, $(var.LocaleCode)))">
167+
<File Id="Compiler_Redist_System.ValueTuple.dll" Source="$(var.NugetPackagesDir)\System.ValueTuple.4.0.0-rc3-24212-01\lib\netstandard1.1\System.ValueTuple.dll" />
168+
</Component>
164169
</DirectoryRef>
165170

166171
<DirectoryRef Id="ReferenceAssemblies_Microsoft_FSharp">

setup/FSharp.Setup.props

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@
44
<PropertyGroup>
55
<SchemaVersion>2.0</SchemaVersion>
66
<ProductVersion>3.10</ProductVersion>
7-
<FSharpPackageVersion>4.1</FSharpPackageVersion>
87
<WiXToolset2015Version>3.10.0.1503</WiXToolset2015Version>
98
<WixInstallPath>$(SetupRootFolder)\..\packages\WiX.Toolset.2015.$(WiXToolset2015Version)\tools\wix</WixInstallPath>
109
<NugetPackagesDir>$(SetupRootFolder)\..\packages</NugetPackagesDir>
1110
</PropertyGroup>
12-
11+
12+
<PropertyGroup>
13+
<FSharpProductVersion>4.1</FSharpProductVersion>
14+
<!-- BUILD_BUILDNUMBER is passed from Microbuild. Replace by today's date and (0) if it was a local build -->
15+
<BUILD_BUILDNUMBER Condition="'$(BUILD_BUILDNUMBER)' == ''">$([System.DateTime]::Now.ToString(yyyyMMdd.0))</BUILD_BUILDNUMBER>
16+
<!-- Remove .DRAFT suffix if it exists in the build number -->
17+
<FSharpPackageVersion>$(FSharpProductVersion).$(BUILD_BUILDNUMBER.Replace(".DRAFT", ""))</FSharpPackageVersion>
18+
<!-- FSharpPackageVersion should be {F# version}.{today's date}.{build number}. Example: 4.1.20160901.3 -->
19+
</PropertyGroup>
20+
1321
<PropertyGroup>
1422
<TargetFramework Condition=" '$(TargetFramework)' == '' ">net40</TargetFramework>
1523
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>

setup/Swix/Microsoft.FSharp.Vsix.Resources/Desktop.Templates.swr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@ folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\ProjectTemplate
1010
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\ConsoleProject\ConsoleApplication.fsproj"
1111
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\ConsoleProject\ConsoleApplication.vstemplate"
1212
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\ConsoleProject\Program.fs"
13+
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\ConsoleProject\packages.config"
1314

1415
folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\ProjectTemplates\FSharp\$(LocaleId)\LibraryProject"
1516
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\LibraryProject\AssemblyInfo.fs"
1617
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\Library.fsproj"
1718
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\Library.vstemplate"
1819
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\Library1.fs"
1920
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\LibraryProject\Script.fsx"
21+
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\packages.config"
2022

2123
folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\ProjectTemplates\FSharp\$(LocaleId)\TutorialProject"
2224
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\TutorialProject\Tutorial.fsproj"
2325
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\TutorialProject\Tutorial.fsx"
2426
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\TutorialProject\Tutorial.vstemplate"
27+
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\TutorialProject\packages.config"

0 commit comments

Comments
 (0)