Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
425 commits
Select commit Hold shift + click to select a range
027f97b
Check type of expression instead of extracting stuff
forki Jun 1, 2017
edfd532
Try to clean up error text a little.
isaacabraham Jun 1, 2017
db91d78
Merge pull request #24 from isaacabraham/indexer
forki Jun 1, 2017
707fac8
Extract function
forki Jun 1, 2017
3b124ba
Merge branch 'indexer' of github.com:forki/visualfsharp into indexer
forki Jun 1, 2017
64f9a90
Change error code
forki Jun 1, 2017
07e08e2
Add FixIndexerAccessCodeFix
forki Jun 1, 2017
6abbbf5
Add a test
forki Jun 1, 2017
5acc100
Better wording
forki Jun 1, 2017
185ed4f
fix tests
forki Jun 1, 2017
5b49a66
fix test
forki Jun 1, 2017
69cad66
cleanup
forki Jun 1, 2017
ea2ce2b
fix test
forki Jun 1, 2017
37517de
Make indexer fix "(f()) [i]"
forki Jun 1, 2017
f886e7a
Merge pull request #3162 from brettfo/update-vs-references
brettfo Jun 1, 2017
9512ed1
Better error message for list/array init (#3161)
forki Jun 1, 2017
49faa92
Merge branch 'master' into indexer
KevinRansom Jun 1, 2017
110dc70
Merge pull request #3165 from forki/indexer
KevinRansom Jun 1, 2017
a11ac80
Merge pull request #3147 from forki/patch-30
KevinRansom Jun 1, 2017
5872b44
Rename TargetFramework in our build to TargetDotnetProfile (#3167)
KevinRansom Jun 2, 2017
b138f65
Target files change case (#3176)
KevinRansom Jun 2, 2017
d90e728
Fixes #3170 (#3173)
forki Jun 2, 2017
c295c0a
Better error message for pattern matching (#3157)
forki Jun 2, 2017
ae8ff77
Update FSharp.Core package version to 4.2.1 (#3177)
KevinRansom Jun 3, 2017
0843547
fix solution directories (#3184)
dsyme Jun 6, 2017
684e628
nuget packages were incorrectly numbered. (#3186)
KevinRansom Jun 6, 2017
c4a8ff2
fix span bug (#3181)
dsyme Jun 6, 2017
2dcdb46
Determinism of the F# Compiler #1042 (#2954)
davidglassborow Jun 7, 2017
7779efb
Correct profile259 path (#3189)
KevinRansom Jun 7, 2017
7e1fd6a
Rename target (#3188)
KevinRansom Jun 7, 2017
f1ef5f3
perf results update
Jun 7, 2017
36a3f0f
Merge branch 'master' of http://github.com/Microsoft/visualfsharp
Jun 7, 2017
d12aad7
fix 3171 (#3182)
dsyme Jun 7, 2017
07774cb
clean up fsharp.core nuget usage (#3190)
KevinRansom Jun 7, 2017
df6395e
typo (#3191)
KevinRansom Jun 7, 2017
9ffcc02
Fix directory to match 4.1.17 (#3192)
KevinRansom Jun 7, 2017
1b10996
Elide portable libraries from OSS build (#3193)
KevinRansom Jun 9, 2017
0197303
Change author/owner for nuget packages (#3194)
KevinRansom Jun 9, 2017
2761d6b
Simplify ci to 3 parts now that we don't build many fsharp.core.dlls …
KevinRansom Jun 9, 2017
46d19b9
Fix build.cmd help text (#3197)
PatrickMcDonald Jun 9, 2017
24bd27e
Add additional build output to .gitignore (#3198)
PatrickMcDonald Jun 9, 2017
fe0ff78
Freeze and deploy localized plibs (#3199)
KevinRansom Jun 10, 2017
ad68b1b
fix path character escaping (#3201)
brettfo Jun 13, 2017
e7f7e5f
FX_NO_ARRAY_KEY_SORT was not used outside of portable builds (#3200)
PatrickMcDonald Jun 13, 2017
8d9b037
Only show retargeting dialog for .NetFramework projects (#3206)
joj Jun 13, 2017
f2d0be2
Add support for adding new files to F# web project (#3203)
Tarmil Jun 13, 2017
931382b
set `$(EnableDefaultNoneItems)` to false so VS adds new files appropr…
brettfo Jun 15, 2017
d1ba9ff
Struct Records and Unions have ValueType super type (#3208)
thinkbeforecoding Jun 16, 2017
52005f8
Merge pull request #3212 from brettfo/fsharp-sdk
brettfo Jun 16, 2017
a490bbe
support .NET Standard 2.0 code generation (#3215)
dsyme Jun 17, 2017
97e2910
Update attributions.md (#3223)
cartermp Jun 20, 2017
53f99c2
cleanup (#3217)
forki Jun 20, 2017
4ed4eb0
Increase indent level after line end with certain keywords (#3196)
xuanduc987 Jun 20, 2017
24e0588
fix 1510: Static constructor interferes with ReflectedDefinition (#3224)
dsyme Jun 20, 2017
e6d12f8
remove DependencyAttribute (#3228)
dsyme Jun 20, 2017
01068dd
fix 3076: remove duplicated completion items (#3226)
dsyme Jun 20, 2017
385c8a3
Fix 3118: quotation of struct union match (#3227)
dsyme Jun 21, 2017
8151842
Add fsharp.core build to proto (#3230)
KevinRansom Jun 21, 2017
82c9492
Disable in-memory project references for projects using generative ty…
dsyme Jun 21, 2017
f2491bd
Build proto using dotnet cli (#3232)
KevinRansom Jun 21, 2017
248ed36
Fix TRACE define (#3237)
KevinRansom Jun 21, 2017
7768abe
Fix TRACE define (#3237)
KevinRansom Jun 21, 2017
353b4d3
Update README.md
dsyme Jun 22, 2017
2556ec7
Fix typo and extraneous space in README.md (#3240)
ErikSchierboom Jun 22, 2017
e69a774
Remove inaccurate comment
dsyme Jun 22, 2017
bac1458
improve VS update performance after project changes (#3238)
dsyme Jun 22, 2017
20e93a4
Fix #3241 - Standalone file gives error about System.ValueTuple.dll.d…
dsyme Jun 23, 2017
076bd7a
Simplify names off by default (#3247)
dsyme Jun 23, 2017
6523766
inline raise and others (#3239)
dsyme Jun 23, 2017
87b9548
fix 1611 - type parameters for intrinsic augmentations should be chec…
dsyme Jun 23, 2017
770320b
Only request reanalysis of open docs (#3245)
dsyme Jun 23, 2017
53f022a
Type extensions should throw a more descriptive error (#3248)
dsyme Jun 23, 2017
3b4f17e
Fix 681 - Compiler error when passing named parameters to attributes …
dsyme Jun 23, 2017
a29abe3
Fix 1720 - Implicit module suffix is not added to rec modules (#3249)
dsyme Jun 23, 2017
3ff08d4
Implement `MethodImplOptions.AggressiveInlining` flag - fixes #1637 (…
forki Jun 26, 2017
c9f9a6d
Update BuildTask properties add signing properties, DelaySign & Publi…
KevinRansom Jun 26, 2017
c6a070b
add test and fix #3254 (#3255)
matthid Jun 27, 2017
4a312d3
Merge remote-tracking branch 'upstream/master' into vs2017-rtm
brettfo Jun 27, 2017
9d7dba6
Revert "Revert "Merge pull request #3062 from brettfo/update-roslyn-r…
brettfo Jun 27, 2017
6701de5
fix intellisense for Result.mapError
dsyme Jun 27, 2017
b2cd750
Verify Build From Source (#3246)
KevinRansom Jun 28, 2017
6b3edb6
Fix 3267: only add project if needed (#3270)
dsyme Jun 28, 2017
4779730
Correct command line to launch RoslynDev hive (#3268)
xdaDaveShaw Jun 28, 2017
08b4501
fix building from source on unix systems
brettfo Jun 28, 2017
a2ef90a
Merge pull request #3271 from brettfo/build-from-source
brettfo Jun 28, 2017
d7f1358
Fix failure where a struct union doesn't compile (#3274)
dsyme Jun 29, 2017
da1a000
fix 719 - traverse abstract slots for unsolved (#3273)
dsyme Jun 29, 2017
2fd94e0
fix project files (#3279)
dsyme Jun 29, 2017
62bd20c
fix compiler crash (#3275)
dsyme Jun 29, 2017
a2ce228
Fix the build events property page and the targetframework dropdown i…
srivatsn Jun 30, 2017
beb22bb
Default properties for dotnet sdk
KevinRansom Jun 30, 2017
8fce48e
src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props
KevinRansom Jun 30, 2017
1b0ab71
feedback
KevinRansom Jun 30, 2017
3091801
more feedback
KevinRansom Jun 30, 2017
0d0b556
Yet more
KevinRansom Jun 30, 2017
2389f94
enable publishing VSIX packages from the vs2017-rtm->microbuild-dev15…
brettfo Jun 30, 2017
ccc9c7b
Merge pull request #3291 from brettfo/preview-nightlies
brettfo Jun 30, 2017
38a5d4e
Merge pull request #3286 from KevinRansom/updateprops
brettfo Jun 30, 2017
68747e0
Enable preferreduilang on Desktop compiler. And add it to buildtask …
KevinRansom Jun 30, 2017
cebf6eb
Fix the build events property page and the targetframework dropdown i…
srivatsn Jun 30, 2017
eee2faf
merge
KevinRansom Jun 30, 2017
9ad85c4
src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props
KevinRansom Jun 30, 2017
5054390
feedback
KevinRansom Jun 30, 2017
5306143
more feedback
KevinRansom Jun 30, 2017
97dbc91
Yet more
KevinRansom Jun 30, 2017
0eb40a2
Add items to to new item dialog on dotnet sdk (#3310)
KevinRansom Jul 5, 2017
f5fccbd
Fix 3016: Decode syntactic types using FSharpFunc, Tuple, ValueTuple …
dsyme Jul 6, 2017
9fe6e22
Do not commit autocomplete on comma and equals (#3315)
saul Jul 8, 2017
92fc550
Check for non-empty paths when stripping ending semicolon (#3319)
joj Jul 11, 2017
669ee2b
Get some pkgdef values correctly typed. (#3322)
KevinRansom Jul 12, 2017
b4c4d62
fix pkgdef type-o (#3324)
KevinRansom Jul 13, 2017
f180548
Cancel background work (#3063)
dsyme Jul 13, 2017
411992c
Fix for 2937 - Don't detuple lambdas during optimization based on typ…
dsyme Jul 14, 2017
2b6da85
Project cache size option (#3330)
vasily-kirichenko Jul 14, 2017
4e2e652
remove pattern match
brettfo Jul 17, 2017
0e3effd
Merge pull request #3346 from brettfo/remote-pattern-match
brettfo Jul 17, 2017
8fa0817
Remove buils status 4 (#3348)
forki Jul 18, 2017
841f9c8
Remove another pattern match.
brettfo Jul 18, 2017
4d8d144
Fix build status table in README (#3349)
xuanduc987 Jul 19, 2017
30109be
use BuildDependsOn for CopyLocalizationResources dependency (#3356)
RickKra Jul 21, 2017
b9add38
fix XAML (#3353)
vasily-kirichenko Jul 21, 2017
000acd3
Allow wildcard support for Content and None item (#3329)
xuanduc987 Jul 21, 2017
7af8b4a
Port a test from Paket over to FSharp.Core tests (#3350)
forki Jul 22, 2017
28156c8
Add a test for #3337
forki Jul 24, 2017
d3b1c3a
Add a test which sets timeout for mailbox receive
forki Jul 24, 2017
89f4dc3
fix arg order
forki Jul 24, 2017
e1d8be0
Possible fix for #3337
forki Jul 24, 2017
994a47d
Show that scan is broken as well
forki Jul 24, 2017
b0bcbaf
proof of race condition
matthid Jul 24, 2017
18f9853
Merge pull request #27 from matthid/mailbox
forki Jul 24, 2017
75e418e
fix deadlocking test by safeguarding the wait.
matthid Jul 24, 2017
b44cf37
Merge pull request #28 from matthid/mailbox
forki Jul 24, 2017
8677bd9
Project cache size option (#3330)
vasily-kirichenko Jul 14, 2017
4a886e9
fix XAML (#3353)
vasily-kirichenko Jul 21, 2017
1c0495c
Cancel background work (#3063)
dsyme Jul 13, 2017
27aa9ac
Merge pull request #3375 from brettfo/bug-fixes
brettfo Jul 25, 2017
f6049d5
Make F# resources work more like C# (#3352)
nosami Jul 25, 2017
56db4f8
Merge branch 'mailbox' of github.com:forki/visualfsharp into mailbox2
forki Jul 25, 2017
37295cc
Remove waitOneNoTimeout
forki Jul 25, 2017
4559cfd
add another test for #3254 (#3367)
matthid Jul 25, 2017
9e7cc8c
restore formatting
forki Jul 25, 2017
6c7b420
revert fixes
forki Jul 25, 2017
49e9f1a
remove pattern match
brettfo Jul 17, 2017
2c8a0e6
Remove another pattern match.
brettfo Jul 18, 2017
90d7018
Merge branch 'mailbox2' of https://github.com/forki/visualfsharp into…
dsyme Jul 25, 2017
5dc70ab
fix non-cancellation of Receive and Scan when explicit cancellation t…
dsyme Jul 25, 2017
7cf8740
Correctly fetch the IVsBuildMacroInfo to use for the build events pag…
jasonmalinowski Jul 26, 2017
938da3e
better error protection for language service (#3379)
dsyme Jul 26, 2017
0c88694
fix generalization of top-level value that uses a mutable top-level b…
dsyme Jul 26, 2017
49b2c32
improve stack traces for watson exns (#3385)
dsyme Jul 26, 2017
aaaa08d
Remove unnecessary warnings for LayoutKind.Auto and Sequential (#3365)
ForNeVeR Jul 26, 2017
ba6dff8
Further protection for GetDeclarations against internal errors (#3386)
dsyme Jul 26, 2017
fc4fdfa
Check LocallyAbortOperationThatFailsToResolveOverload - fixes #3343 (…
forki Jul 26, 2017
a11ae7f
fix 3033 - correct order for project references (#3387)
dsyme Jul 26, 2017
6f4c442
use BuildDependsOn for CopyLocalizationResources dependency (#3356)
RickKra Jul 21, 2017
f16e5fd
better error protection for language service (#3379)
dsyme Jul 26, 2017
18abbaf
Further protection for GetDeclarations against internal errors (#3386)
dsyme Jul 26, 2017
e3d0607
improve stack traces for watson exns (#3385)
dsyme Jul 26, 2017
5573f6f
Revert "fix 3033 - correct order for project references (#3387)"
KevinRansom Jul 26, 2017
aa88d31
Revert "Correctly fetch the IVsBuildMacroInfo to use for the build ev…
KevinRansom Jul 27, 2017
eb2faa0
Add providerkey to msi (#3392)
KevinRansom Jul 28, 2017
0389d84
Fix build events buttons even more correctly (#3399)
jasonmalinowski Jul 28, 2017
01915c8
packageKey for empty.swr
KevinRansom Jul 28, 2017
4b79f1a
Update F# core nuget version no. (#3401)
KevinRansom Jul 29, 2017
d8754eb
Fix for #3267 --- Arrow keys and backspace stopped working (#3405)
KevinRansom Jul 31, 2017
4633116
Better fix for arrow, backspace, and enter keys (#3419)
KevinRansom Aug 4, 2017
f5750ca
Fix version numbers for buildfrom source (#3427)
KevinRansom Aug 12, 2017
607509e
Fix the CopyAndSubstituteTextFiles task (#3426)
KevinRansom Aug 12, 2017
ff91624
Fix build resources using fsrgen (#3428)
KevinRansom Aug 12, 2017
3588992
Merge remote-tracking branch 'upstream/vs2017-rtm' into merge-vs2017-…
brettfo Aug 14, 2017
67986c9
Merge pull request #3434 from brettfo/merge-vs2017-rtm-into-master
brettfo Aug 14, 2017
f177d18
renamed Finalize (#3435)
ncave Aug 14, 2017
6cc593f
fix bad merge of `LanguageService.fs` which was causing issues with t…
brettfo Aug 15, 2017
f535de6
Merge pull request #3442 from brettfo/fix-editor-keys-merge
brettfo Aug 15, 2017
e308409
add test to show that there is a race.
matthid Aug 16, 2017
9343d2e
Merge pull request #29 from matthid/mailbox
forki Aug 17, 2017
3b3dccc
try harder
matthid Aug 17, 2017
0ab1276
Merge pull request #30 from matthid/mailbox
forki Aug 17, 2017
3bdbb8b
Document project options and mark lots of things as deprecated (#3449)
dsyme Aug 17, 2017
dc744fd
fix packaging of FSharp.Core. (#3452)
matthid Aug 17, 2017
124e934
implement IDisposable interfaces explicitly (#3447)
ncave Aug 17, 2017
2e4c63a
ngen open source install (#3456)
dsyme Aug 17, 2017
22d3b16
handle "Blue (high contrast)" theme (#3443)
vasily-kirichenko Aug 17, 2017
cae1da3
Improve package definition specs fro F# VS Package (#3461)
KevinRansom Aug 18, 2017
f37839c
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme Aug 18, 2017
135173e
fix race with pulse
dsyme Aug 18, 2017
c78be89
fix project file (#3463)
dsyme Aug 18, 2017
8c44f0c
Fix error list unification (#3071)
dsyme Aug 18, 2017
8132425
minimize diff
dsyme Aug 18, 2017
e5b0980
minimize diff
dsyme Aug 18, 2017
d48f3bf
cleanup build warnings (#3464)
dsyme Aug 18, 2017
3d0a219
Suggest to attach a zip in issue template (#3478)
forki Aug 21, 2017
7f02a12
Update package version numbers (#3471)
KevinRansom Aug 21, 2017
cd23839
Update README.md
KevinRansom Aug 21, 2017
9606209
Go to C# symbols (#3357)
vasily-kirichenko Aug 21, 2017
c6bf30e
remove flag for all but .NET 4.0 (#3482)
dsyme Aug 22, 2017
4a18323
Fix 3317 - don't apply line directives when analyzing files for editi…
dsyme Aug 22, 2017
bd892df
UseStandardResourceNames on templates, targets and Application proper…
KevinRansom Aug 22, 2017
efa0c30
Remove dead code
KevinRansom Aug 22, 2017
31a6cbf
FX_NO_TASK --- dead code
KevinRansom Aug 22, 2017
82a2c85
TARGET_SILVERLIGHT_5_0 --- dead code
KevinRansom Aug 22, 2017
eed64d0
FX_NO_EXCEPTIONDISPATCHINFO -- dead code
KevinRansom Aug 22, 2017
6beed04
SILVERLIGHT --- dead code
KevinRansom Aug 22, 2017
3e4f232
FX_NO_EXIT --- dead code
KevinRansom Aug 22, 2017
85d910b
FX_NO_DEBUG_PROXIES --- dead code
KevinRansom Aug 22, 2017
96ca3a6
FX_NO_DEBUG_DISPLAYS --- dead code
KevinRansom Aug 22, 2017
c0a90f7
FX_NO_CHAR_PARSE --- dead code
KevinRansom Aug 22, 2017
6ee58a9
USE_FX_40_LAZY_ON_FX_20 --- dead code
KevinRansom Aug 22, 2017
eff26cd
FX_NO_LAZY --- dead code
KevinRansom Aug 22, 2017
064bb67
FX_NO_TUPLE --- dead code
KevinRansom Aug 22, 2017
440e3b3
FX_NO_DELEGATE_CREATE_DELEGATE_FROM_STATIC_METHOD --- dead code
KevinRansom Aug 22, 2017
609aa56
FX_NO_CONDITIONAL_WEAK_TABLE --- dead code
KevinRansom Aug 22, 2017
81612fb
FX_NO_CONCURRENT_DICTIONARY --- dead code removeall
KevinRansom Aug 22, 2017
fb3e551
FX_NO_IOBSERVABLE --- Dead code removal
KevinRansom Aug 22, 2017
eddad51
FX_NO_STRUCTURAL_EQUALITY --- remove dead code
KevinRansom Aug 22, 2017
32d6492
FX_NO_WEB_REQUESTS --- dead code removal
KevinRansom Aug 22, 2017
2b656c9
FX_NO_CREATE_DELEGATE --- dead code removal
KevinRansom Aug 23, 2017
b0a4cad
FX_NO_FILE_OPTIONS -- remove dead code
KevinRansom Aug 23, 2017
009ef4a
FX_NO_GET_HASH_CODE_HELPER --- dead code removal
KevinRansom Aug 23, 2017
da3f0b4
FX_NO_THREAD_STATIC --deadcode removal
KevinRansom Aug 23, 2017
954acc9
FX_NO_REGISTERED_WAIT_HANDLES --deadcode removal
KevinRansom Aug 23, 2017
75e37cd
FX_NO_TO_LOWER_INVARIANT -- dead code removal
KevinRansom Aug 23, 2017
e789aca
FX_NO_BASED_ARRAYS --- dead code removal
KevinRansom Aug 23, 2017
96dd484
FX_NO_SYNC_CONTEXT ---- dead code removal
KevinRansom Aug 23, 2017
8bc1182
FX_NO_OPERATION_CANCELLED --- dead code removal
KevinRansom Aug 23, 2017
870f8c9
FX_MINIMAL_REFLECTION -- dead code removal
KevinRansom Aug 23, 2017
fbfa46b
FX_NO_DELEGATE_DYNAMIC_INVOKE --- deadcode removal
KevinRansom Aug 23, 2017
59db4f3
FX_NO_CULTURE_INFO_ARGS --- deadcode removal
KevinRansom Aug 23, 2017
a44a975
FX_NO_TRUNCATE --- deadcode removal
KevinRansom Aug 23, 2017
d7caf7f
FX_NO_LINQ --- dead code removal
KevinRansom Aug 23, 2017
7d4563f
FX_NO_DELEGATE_DYNAMIC_METHOD and FX_NO_REFEMIT ---- dead code removal
KevinRansom Aug 23, 2017
7878f6d
Update attributions.md (#3490)
cartermp Aug 23, 2017
c0bf278
Add templates (#3402)
KevinRansom Aug 23, 2017
8b80426
allow build of FCS nuget package within this repo (#3480)
dsyme Aug 23, 2017
83ce885
Merge pull request #3370 from forki/mailbox2
KevinRansom Aug 24, 2017
86fcbe3
prevent endless async loop on Receive (#3498)
dsyme Aug 24, 2017
1d94f17
integrate visualfsharp including new FCS build technique
dsyme Aug 24, 2017
69d6131
bump version
dsyme Aug 24, 2017
55513d4
update build scripts
dsyme Aug 24, 2017
98590b6
update scripts
dsyme Aug 24, 2017
fd3ad35
update build scripts
dsyme Aug 24, 2017
ed2d34b
update nuget client
dsyme Aug 25, 2017
c6f23dd
update cli tools
dsyme Aug 25, 2017
63a9600
update chmond
dsyme Aug 25, 2017
d3c8c0b
update build step
dsyme Aug 25, 2017
bf9888c
fix mono
dsyme Aug 25, 2017
c33e72f
update readme
dsyme Aug 25, 2017
7a34a65
fix mono
dsyme Aug 25, 2017
39f874b
fix mono
dsyme Aug 25, 2017
5ea194d
fix mono
dsyme Aug 25, 2017
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
  •  
  •  
  •  
55 changes: 33 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
# (These aren't generally useful to commit directly; if anything, they should be applied.)
scripts/*.patch

/fcs/FSharp.Compiler.Service/illex.fs
/fcs/FSharp.Compiler.Service/ilpars.fs
/fcs/FSharp.Compiler.Service/ilpars.fsi
/fcs/FSharp.Compiler.Service/lex.fs
/fcs/FSharp.Compiler.Service/pars.fs
/fcs/FSharp.Compiler.Service/pars.fsi
/fcs/FSharp.Compiler.Service/pplex.fs
/fcs/FSharp.Compiler.Service/pppars.fs
/fcs/FSharp.Compiler.Service/pppars.fsi
/src/*.userprefs
/src/fsharp/FSStrings.resources
/src/fsharp/FSharp.Build/*.resx
Expand All @@ -21,29 +30,29 @@ scripts/*.patch
/src/fsharp/FSharp.Compiler.Server.Shared/*.resx
/src/fsharp/fsi/Fsi.sln
/src/fsharp/FSharp.Build/*.resources
/src/fsharp/FSharp.Compiler/*.resx
/src/fsharp/FSharp.Compiler/*.resources
/src/fsharp/FSharp.Compiler/*.sln
/src/fsharp/FSharp.Compiler/*.userprefs
/src/fsharp/FSharp.Compiler.Private/*.resx
/src/fsharp/FSharp.Compiler.Private/*.resources
/src/fsharp/FSharp.Compiler.Private/*.sln
/src/fsharp/FSharp.Compiler.Private/*.userprefs
/src/*.log
/src/fsharp/FSharp.Compiler/illex.fs
/src/fsharp/FSharp.Compiler/ilpars.fs
/src/fsharp/FSharp.Compiler/ilpars.fsi
/src/fsharp/FSharp.Compiler/lex.fs
/src/fsharp/FSharp.Compiler/pars.fs
/src/fsharp/FSharp.Compiler/pars.fsi
/src/fsharp/FSharp.Compiler/pplex.fs
/src/fsharp/FSharp.Compiler/pppars.fs
/src/fsharp/FSharp.Compiler/pppars.fsi
/src/fsharp/FSharp.Compiler-proto/illex.fs
/src/fsharp/FSharp.Compiler-proto/ilpars.fs
/src/fsharp/FSharp.Compiler-proto/ilpars.fsi
/src/fsharp/FSharp.Compiler-proto/lex.fs
/src/fsharp/FSharp.Compiler-proto/pars.fs
/src/fsharp/FSharp.Compiler-proto/pars.fsi
/src/fsharp/FSharp.Compiler-proto/pplex.fs
/src/fsharp/FSharp.Compiler-proto/pppars.fs
/src/fsharp/FSharp.Compiler-proto/pppars.fsi
/src/fsharp/FSharp.Compiler.Private/illex.fs
/src/fsharp/FSharp.Compiler.Private/ilpars.fs
/src/fsharp/FSharp.Compiler.Private/ilpars.fsi
/src/fsharp/FSharp.Compiler.Private/lex.fs
/src/fsharp/FSharp.Compiler.Private/pars.fs
/src/fsharp/FSharp.Compiler.Private/pars.fsi
/src/fsharp/FSharp.Compiler.Private/pplex.fs
/src/fsharp/FSharp.Compiler.Private/pppars.fs
/src/fsharp/FSharp.Compiler.Private/pppars.fsi
/src/fsharp/Fsc-proto/illex.fs
/src/fsharp/Fsc-proto/ilpars.fs
/src/fsharp/Fsc-proto/ilpars.fsi
/src/fsharp/Fsc-proto/lex.fs
/src/fsharp/Fsc-proto/pars.fs
/src/fsharp/Fsc-proto/pars.fsi
/src/fsharp/Fsc-proto/pplex.fs
/src/fsharp/Fsc-proto/pppars.fs
/src/fsharp/Fsc-proto/pppars.fsi
/src/fsharp/FSharp.LanguageService.Compiler/illex.*
/src/fsharp/FSharp.LanguageService.Compiler/ilpars.*
/src/fsharp/FSharp.LanguageService.Compiler/lex.*
Expand All @@ -65,6 +74,8 @@ scripts/*.patch
/tests/fsharpqa/Source/*net40-fsharpqa-suite-failures.env
/tests/fsharpqa/Source/*net40-fsharpqa-suite-failures.lst
/tests/**/FSharp.Core.dll
/tests/fsharp/optimize/stats/FSharpOptimizationInfo.FSharp.Core
/tests/fsharp/optimize/stats/FSharpSignatureInfo.FSharp.Core
lib/debug
lib/release
lib/proto
Expand Down
22 changes: 22 additions & 0 deletions .nuget/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>

<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="artifacts" value="../artifacts" />
<add key="artifacts" value="../artifacts/4.2" />
<add key="myget.org fsharp-daily" value="https://www.myget.org/F/fsharp-daily/api/v3/index.json" />
<add key="myget.org roslyn-master-nightly" value="https://dotnet.myget.org/F/roslyn-master-nightly/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="myget.org roslyn-tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="myget.org roslyn tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" />
<add key="myget.org roslyn" value="https://dotnet.myget.org/F/roslyn/api/v3/index.json" />
</packageSources>

</configuration>
Binary file added .nuget/NuGet.exe
Binary file not shown.
138 changes: 138 additions & 0 deletions .nuget/NuGet.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>

<!-- Enable the restore command to run before builds -->
<RestorePackages Condition=" '$(RestorePackages)' == '' ">false</RestorePackages>

<!-- Property that enables building a package from a project -->
<BuildPackage Condition=" '$(BuildPackage)' == '' ">false</BuildPackage>

<!-- Determines if package restore consent is required to restore packages -->
<RequireRestoreConsent Condition=" '$(RequireRestoreConsent)' != 'false' ">true</RequireRestoreConsent>

<!-- Download NuGet.exe if it does not already exist -->
<DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' == '' ">false</DownloadNuGetExe>
</PropertyGroup>

<ItemGroup Condition=" '$(PackageSources)' == '' ">
<!-- Package sources used to restore packages. By default, registered sources under %APPDATA%\NuGet\NuGet.Config will be used -->
<!-- The official NuGet package source (https://www.nuget.org/api/v2/) will be excluded if package sources are specified and it does not appear in the list -->
<!--
<PackageSource Include="https://www.nuget.org/api/v2/" />
<PackageSource Include="https://my-nuget-source/nuget/" />
-->
</ItemGroup>

<PropertyGroup Condition=" '$(OS)' == 'Windows_NT'">
<!-- Windows specific commands -->
<NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
<PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
</PropertyGroup>

<PropertyGroup Condition=" '$(OS)' != 'Windows_NT'">
<!-- We need to launch nuget.exe with the mono command if we're not on windows -->
<NuGetToolsPath>$(SolutionDir).nuget</NuGetToolsPath>
<PackagesConfig>packages.config</PackagesConfig>
<MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath>
<MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath>
</PropertyGroup>

<PropertyGroup>
<!-- NuGet command -->
<NuGetExePath Condition=" '$(NuGetExePath)' == '' ">$(NuGetToolsPath)\NuGet.exe</NuGetExePath>
<PackageSources Condition=" $(PackageSources) == '' ">@(PackageSource)</PackageSources>

<NuGetCommand Condition=" '$(OS)' == 'Windows_NT'">"$(NuGetExePath)"</NuGetCommand>
<NuGetCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 $(NuGetExePath)</NuGetCommand>

<PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>

<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
<NonInteractiveSwitch Condition=" '$(VisualStudioVersion)' != '' AND '$(OS)' == 'Windows_NT' ">-NonInteractive</NonInteractiveSwitch>

<PaddedSolutionDir Condition=" '$(OS)' == 'Windows_NT'">"$(SolutionDir) "</PaddedSolutionDir>
<PaddedSolutionDir Condition=" '$(OS)' != 'Windows_NT' ">"$(SolutionDir)"</PaddedSolutionDir>

<!-- Commands -->
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)</RestoreCommand>
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols</BuildCommand>

<!-- We need to ensure packages are restored prior to assembly resolve -->
<BuildDependsOn Condition="$(RestorePackages) == 'true'">
RestorePackages;
$(BuildDependsOn);
</BuildDependsOn>

<!-- Make the build depend on restore packages -->
<BuildDependsOn Condition="$(BuildPackage) == 'true'">
$(BuildDependsOn);
BuildPackage;
</BuildDependsOn>
</PropertyGroup>

<Target Name="CheckPrerequisites">
<!-- Raise an error if we're unable to locate nuget.exe -->
<Error Condition="'$(DownloadNuGetExe)' != 'true' AND !Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
<!--
Take advantage of MsBuild's build dependency tracking to make sure that we only ever download nuget.exe once.
This effectively acts as a lock that makes sure that the download operation will only happen once and all
parallel builds will have to wait for it to complete.
-->
<MsBuild Targets="_DownloadNuGet" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadNuGetExe=$(DownloadNuGetExe)" />
</Target>

<Target Name="_DownloadNuGet">
<DownloadNuGet OutputFilename="$(NuGetExePath)" Condition=" '$(DownloadNuGetExe)' == 'true' AND !Exists('$(NuGetExePath)')" />
</Target>

<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)"
Condition="'$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />

<Exec Command="$(RestoreCommand)"
LogStandardErrorAsError="true"
Condition="'$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
</Target>

<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(BuildCommand)"
Condition=" '$(OS)' != 'Windows_NT' " />

<Exec Command="$(BuildCommand)"
LogStandardErrorAsError="true"
Condition=" '$(OS)' == 'Windows_NT' " />
</Target>

<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutputFilename ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.Core" />
<Using Namespace="System" />
<Using Namespace="System.IO" />
<Using Namespace="System.Net" />
<Using Namespace="Microsoft.Build.Framework" />
<Using Namespace="Microsoft.Build.Utilities" />
<Code Type="Fragment" Language="cs">
<![CDATA[
try {
OutputFilename = Path.GetFullPath(OutputFilename);

Log.LogMessage("Downloading latest version of NuGet.exe...");
WebClient webClient = new WebClient();
webClient.DownloadFile("https://www.nuget.org/nuget.exe", OutputFilename);

return true;
}
catch (Exception ex) {
Log.LogErrorFromException(ex);
return false;
}
]]>
</Code>
</Task>
</UsingTask>
</Project>
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sudo: false
install:

script:
- ./build.sh NuGet
- ./fcs/build.sh NuGet

# Fails on Travis OSX too often because there are network outages on that configuration getting the Mono MDK

Expand Down
136 changes: 0 additions & 136 deletions CHANGELOG-fsharp.md

This file was deleted.

Loading