Commit graph

324 commits

Author SHA1 Message Date
Eric Erhardt
5e617bbb43 Merge pull request #2283 from eerhardt/NewNuGet
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Eric Erhardt
ed82fd2e66 Update NuGet to 3.5.0-beta-1130 2016-04-05 13:42:16 -05:00
Troy Dai
cb14076b38 Merge pull request #2249 from dotnet/troy/2200
Use default version for unresolved MSBuild reference
2016-04-05 09:05:18 -07:00
Troy Dai
e63c0f82c9 Use default version for unresolved MSBuild reference 2016-04-05 08:32:58 -07:00
Pavel Krymets
8831bb4a8b Do not trim refs 2016-04-05 08:06:17 -07:00
Dan Quirk
0d067be964 Use static member 2016-04-04 18:58:22 -07:00
Dan Quirk
b5e1042d06 Use InternalsVisibleTo for testing 2016-04-04 17:33:09 -07:00
Dan Quirk
3e4edf1688 CR feedback part 1 2016-04-04 16:18:47 -07:00
Lakshan Fernando
25745d9d4e Implemented Telemetry class via an interface for test ease 2016-04-04 15:26:06 -07:00
Lakshan Fernando
d9e169e77a Stopped collecting command arguments due to PII concerns 2016-04-04 15:26:06 -07:00
Lakshan Fernando
689a72ffb5 incorporate CR feedback for the first PR 2016-04-04 15:26:06 -07:00
Lakshan Fernando
6b84a10e57 Telemetry PR 2016-04-04 15:26:06 -07:00
Peter Marcu
d8858e4d6b Update project.json template to be netcoreapp1.0
It should be time, now that RID inference is off, to update dotnet new to finally use netcoreapp1.0.
2016-04-04 14:43:50 -07:00
Justin Emgarten
9c31501deb Updating nuget to beta-1123 2016-04-01 21:09:05 -07:00
Bryan Thornbury
8370effbb0 Add imports to the fsharp dotnet new template 2016-04-01 15:35:12 -07:00
Justin Emgarten
219a0539b0 Updating to NuGet 1105 2016-03-31 18:13:25 -07:00
Bryan
0fd81e0a2d Extract dotnet-compile-fsc into a standalone command
Add basic Tests for dotnet-compile-fsc

Package Targets execute before TestTargets. Use Generated Nuget Packages in TestTargets. Generate Nuget packages on all platforms, and in C#

Fix bug in dotnet-restore, change fsharp new template, add support for native assets in DependencyContextCsvReader

copy fsc.exe to temp directory instead of package cache

fix rebase error

fix issue

fixes

fixes

fix

temporarily disable debian package e2e testing

fixes

bump fsc version

update fsc version

fix rebase errors

WIP update fsc tool

WIP, rebased and working again, need to solve issues with System.CommandLine

Working state for packaged, command, fsc.exe bugging out with dlopen(, 1): no suitable image found.

execute fsc like a unpublished standalone app

fixup after rebase

working? internet is out

working

cleanup

More cleanup, and run the debian package tests during the Test phase of the build.

update FSharp Test Projects NetStandard Library Version

Update Version Suffix when packing TestPackages. This will enable packing with the right dependency versions on Windows.

update dotnet-test version

Undo the reordering of the build

fix test package project pathsj

ignore net451 build failures for test packages which we need to build on non-windows

update dependency of desktop test app

add dotnetcli feed to nuget config for fsharp dotnet new

update deps after rebase

update dependency of dotnet-compile-fsc

pass args before commandPath when using muxer for tools

adjust testpackage cleaning not to clean packages which are also generated as part of the product from the nuget cache.

undo

Pass projectJson to pack instead of using WorkingDirectory

fix path separators using depsjsoncommandresolver on windows, fix building only specific frameworks for testpackages on non-windows.

PR Feedback

rebase

overwrite fsc runtimeconfig
2016-03-31 14:01:08 -07:00
Pavel Krymets
429eb93cd9 Merge pull request #2160 from dotnet/pakrym/no-arg-net451
Pass no additional arguments to net451 app in dotnet run
2016-03-31 11:23:31 -07:00
Pavel Krymets
7e73e5c379 Pass no additional arguments to net451 app 2016-03-31 10:35:42 -07:00
eerhardt
3afd85068a Updating dependencies from last known good builds 2016-03-31 11:57:21 -05:00
Bryan Thornbury
164a235a20 Merge pull request #2151 from dotnet/brthor/remove-oob-commands
Remove OOB Commands and Pdbs from stage2
2016-03-30 21:28:27 -07:00
Troy Dai
8a3ddc9c8a Remove MSBuildProjectPath property 2016-03-30 19:24:43 -07:00
Mihai Codoban
829fab595e Fix extract method code
The VS code generator is too opinionated on CLR types :)
2016-03-30 19:24:43 -07:00
Mihai Codoban
ded82caccd Publish can skip Build 2016-03-30 19:24:43 -07:00
Troy Dai
d2984e3cfc Minor fixes to ProjectModelServer changes 2016-03-30 19:24:43 -07:00
Troy Dai
e23f08e7ac Update projectmodel server
Reflecting the xproj reference changes in ProjectModel
2016-03-30 19:24:43 -07:00
Mihai Codoban
ca2707292e Add MSBuildProjectDescription 2016-03-30 19:24:43 -07:00
Bryan
58be4c447e prep for commands we'll be shipping as tools
add cleanup step to build, remove oob commands

only clean the sdk directory

Incorporate PR Feedback
2016-03-30 19:23:42 -07:00
Pavel Krymets
2753cc9982 Move appdep project to tools directory which is restored with rid inference 2016-03-30 18:51:58 -07:00
Pavel Krymets
a21e0ea6b4 Merge pull request #2148 from dotnet/pakrym/remove-inference
Remove rid inference
2016-03-30 17:36:45 -07:00
Pavel Krymets
9b9725ac38 Remove rid inference 2016-03-30 16:58:02 -07:00
Eric Erhardt
8816664062 Merge pull request #2136 from eerhardt/UpdateDependencies20160330021008
Updating CoreFX from rc2-23929 to rc2-23930
2016-03-30 18:32:17 -05:00
Pavel Krymets
dc4bec0307 Merge pull request #2118 from dotnet/pakrym/no-csv-deps
Remove csv deps file generation
2016-03-30 16:09:34 -07:00
Pavel Krymets
c8a632bac1 Remove csv deps 2016-03-30 14:39:36 -07:00
eerhardt
ea984c50c7 Updating dependencies from last known good builds 2016-03-30 11:49:37 -05:00
Peter Marcu
0ef189c07a Update new template to remove imports 2016-03-29 23:02:58 -07:00
eerhardt
7eb9d07fb5 Updating dependencies from last known good builds 2016-03-29 15:59:19 +00:00
Piotr Puszkiewicz
84c435d21f Merge pull request #2101 from nattress/linkerscript
Add dotnet-compile-native linker script for Linux / OSX
2016-03-28 22:30:06 -07:00
Pavel Krymets
e06a479748 Merge pull request #2036 from dotnet/pakrym/portable-cli
Make dotnet cli sdk portable
2016-03-28 20:35:22 -07:00
Andrew Stanton-Nurse
cf193ad301 Merge pull request #2097 from dotnet/anurse/publish-trimming
add trimming of published output based on sharedfx
2016-03-28 20:27:01 -07:00
Pavel Krymets
18436e325e Make dotnet cli portable 2016-03-28 19:16:02 -07:00
Livar
b0e457559d Merge pull request #1847 from cdmihai/cdmihai/recompileWhenCLIChanged
Trigger rebuild when the CLI changed
2016-03-28 19:02:06 -07:00
Andrew Stanton-Nurse
62b7740c95 add trimming of published output based on sharedfx
Any dependencies which **exactly** match the version requested in the
graph originating at the `type: platform` dependency (if any) are
trimmed from the publish output
2016-03-28 18:50:17 -07:00
nattress
5a6de52383 Add dotnet-compile-native linker script for Linux / OSX
Add CoreRT SDK linkerscript to linker options if the file is present. It
is used for controlling section merging for multi-file compilation.
2016-03-28 17:28:44 -07:00
Eric Erhardt
930908e29c Merge pull request #2092 from eerhardt/UpdateDependencies20160328052754
Updating dependencies from last known good builds
2016-03-28 18:37:09 -05:00
Livar
105536dc38 Making the dotnet test images relative paths.
skip CI please

Otherwise, it will only work in our branch.

This is a documentation only change.
2016-03-28 11:14:50 -07:00
eerhardt
cefed77ca9 Updating dependencies from last known good builds 2016-03-28 17:27:54 +00:00
Livar
1ff15e35bc Merge pull request #2078 from livarcocc/dotnet_test_help
Added a Help property to DotnetTestParams that indicates when the par…
2016-03-28 09:31:09 -07:00
Enrico Sada
88273b7751 fix missing default.win32manifest 2016-03-27 22:43:22 +02:00
Livar
7397d20549 Merge pull request #2079 from livarcocc/dotnet_help_test
Added tests to the general help message.
2016-03-26 10:40:03 -07:00
Livar Cunha
d745484b1c Added tests to the general help message. 2016-03-25 21:13:22 -07:00
Livar Cunha
d07a1091a8 Added a Help property to DotnetTestParams that indicates when the parsed arguments included the help param. The TestCommand then uses this property of the params to decide whether to continue with the execution or just return. Also added unit tests around this as well as introduced a DotnetTestRunnerFactory to make these unit tests possible and also push the responsibility to figure out which runner to use to the factory. 2016-03-25 20:17:15 -07:00
Piotr Puszkiewicz
d4d49ae0e3 Merge pull request #2076 from enricosada/tell_fsc_about_portablepdb
compile-fsc, support debugType and fix
2016-03-25 19:19:24 -07:00
Justin Emgarten
895c4e0221 Merge pull request #2074 from dotnet/emgarten/nuget1083
Updating nuget to 3.5.0.1083
2016-03-25 18:52:52 -07:00
Livar
47241189b2 Merge pull request #2069 from dotnet/dotnet_test_documentation
Added a dotnet test, adapters and runners document
2016-03-25 17:43:57 -07:00
Justin Emgarten
86ee8a561b Updating nuget to 3.5.0.1083 2016-03-25 16:37:12 -07:00
Livar
369fb4803e Added links to each payload of the messages. 2016-03-25 16:33:41 -07:00
Enrico Sada
ac05fde9bd fsc, always pass --nocopyfsharpcore to disable copy of FSharp.Core to output directory 2016-03-26 00:27:43 +01:00
Livar
4753b5df27 Added a dotnet test, adapters and runners document
It details the interactions between dotnet test, adapters and runners by describing the communication protocol between these pieces and the parameters that they support.
2016-03-25 15:51:17 -07:00
eerhardt
ed887d183a Updating dependencies from last known good builds 2016-03-25 16:48:25 -05:00
Andrew Stanton-Nurse
9f3727d1a7 fix OSX issue in VSO build
also, make it possible to have more verbose build runs when needed
2016-03-25 12:49:53 -07:00
Enrico Sada
c39678d3cb support project.json compilationOptions.debugType in fsc
it's used only if set, default is old behaviour (debug enabled only on win)
2016-03-25 19:53:01 +01:00
Enrico Sada
b6d5315b47 fix use latest version of fsc
This reverts to use latest version of fsc, downgraded by  43512b8973
2016-03-25 16:48:00 +01:00
Eric Erhardt
30346443fb Merge pull request #2035 from eerhardt/Version
Changing --version in the CLI
2016-03-24 21:15:09 -05:00
Mihai Codoban
f14b4cbd3d Trigger rebuild when the CLI changed
- Stamp each project with the CLI version it was last compiled with
- Rebuild those projects with a local version file that does not match the one of the current CLI that is building it
2016-03-24 15:17:49 -07:00
Eric Erhardt
1febe48d71 Updating CoreFX version to rc2-23924 2016-03-24 16:05:24 -05:00
Eric Erhardt
a5813791d5 Updating CoreFX version to rc2-23923 2016-03-24 16:04:37 -05:00
Eric Erhardt
c07115f52c Add System.Net.Requests dependency to dotnet to hoist the out of date version brought in by FSharp.Compiler. 2016-03-24 16:03:22 -05:00
Eric Erhardt
3186432ebd Fix up the project.json files for CoreFX build rc2-23922.
- ProjectModel uses AssemblyLoadContext which is only available in netstandard1.5. Moving ProjectModel and all its dependencies up to netstandard1.5.
- Work around our dependencies still being on old CoreFX builds by hoisting System.Runtime.Serialization.Primitives, System.Private.DataContractSerialization, System.Linq.Expressions, and System.Xml.XmlSerializer references to the current version.
2016-03-24 16:03:19 -05:00
eerhardt
9bc478660a Updating dependencies from last known good builds 2016-03-24 16:02:33 -05:00
Eric Erhardt
c560e9af3c Changing --version in the CLI
`dotnet --version` returns just the version number. This helps tools get this information without having to parse the full info.
Introduce a new argument `--info` that returns the current "long form". With this, we also change the long form to say "RID" instead of "Runtime ID" simply because that would avoid any future localization issues and thus make the parsing easier.

Fix #1607 #1882
2016-03-24 15:44:25 -05:00
Andrew Stanton-Nurse
0a369aa6d5 update to new nuget and turn inference on 2016-03-24 11:43:37 -07:00
Andrew Stanton-Nurse
43512b8973 add support for type: platform
also some refactoring of DependencyContext to properly handle
placeholders in 'runtimeTargets'.
2016-03-23 21:53:14 -07:00
Piotr Puszkiewicz
3a63972af1 Merge pull request #1898 from enricosada/bump_fsharp_and_fix
Bump fsharp and fix
2016-03-22 19:51:19 -07:00
Bryan Thornbury
9040a9094f Merge pull request #1851 from dotnet/brthor/run-arg
Change dotnet run to call the muxer
2016-03-22 18:09:07 -07:00
Piotr Puszkiewicz
3616378130 Merge pull request #1946 from jamesqo/md-typos
Fix a couple of typos in the .md/doc files
2016-03-22 08:39:54 -07:00
James Ko
4a26cde880 Fix typo in CompileCommand class name 2016-03-22 00:11:37 -04:00
James Ko
c7f980d77d Fix a couple of typos in the .md/doc files 2016-03-22 00:11:19 -04:00
Pawel Kadluczka
ca74a9b177 Merge pull request #1877 from dotnet/pawelka/outname_new
Enable specifying output assembly name in compiler options
2016-03-21 14:29:23 -07:00
moozzyk
ce6ce3c49b Folding ProjectFile.Name to compiler options 2016-03-21 12:42:33 -07:00
moozzyk
621d8376c3 Fixing publish to create executable with the outputName if specified 2016-03-21 12:42:32 -07:00
moozzyk
03f5379165 Adding support for output file name for apps. 2016-03-21 12:42:31 -07:00
moozzyk
856fb8d6d9 Enable specifying output assembly name in compiler options
Addresses #1797
2016-03-21 12:42:31 -07:00
Sridhar Periyasamy
11538d2d3d Fix 'version' to display commit sha.
Fixes #1958
2016-03-21 11:42:09 -07:00
Livar
14d5dd80b0 Merge pull request #1853 from livarcocc/more_test_params
Added remaining params from https://github.com/dotnet/cli/issues/1376 and build before tests
2016-03-19 10:01:28 -07:00
Bryan Thornbury
2afe032280 Add tests and change to call exec 2016-03-17 18:20:52 -07:00
Bryan Thornbury
863f1cd91d add the additional probing path to dotnet run
remove colon
2016-03-17 18:20:52 -07:00
Livar Cunha
8358ccb5e8 Added build before running the tests and the no-build option to opt out of it.
Added new tests to ProjectDependencyCommandResolver and new E2E tests for dotnet test.
2016-03-17 15:17:18 -07:00
Bryan Thornbury
f0c2cb2c18 product changes to support portable tools 2016-03-17 13:44:32 -07:00
Bryan Thornbury
b59c4333ea Remove tool restore from dotnet restore, use nuget tool restore 2016-03-17 13:44:32 -07:00
Livar Cunha
45abe6d52b Added extra params (base-build-path, runtime, framework) and refactored parameter parsing into its own class with tests.
Changed program.cs to use the new dotnettestparams.

Hooked up the new parameters to the ProjectDependencyCommandResolver
2016-03-17 13:29:16 -07:00
Pavel Krymets
1cbec5a494 Generate embedded deps file that previos versions of DependencyModel can use 2016-03-16 12:43:41 -07:00
Eric Erhardt
964318b291 Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"."
This reverts commit 4304ca9848.
2016-03-16 11:44:09 -05:00
Enrico Sada
5728330a2f use response files by default 2016-03-16 16:32:42 +01:00
Enrico Sada
b6fcbbdd86 compile-fsc fix and features
Support project.json compilationOptions:

- nowarn
- warningsAsErrors
- keyFile
- delaySign

Use env var to configure compile-fsc behaviour:

- DOTNET_FSC_PATH the fsc path. Default the bundled fsc.exe
- DOTNET_COMPILEFSC_USE_RESPONSE_FILE if '1' then pass a response file
  to fsc instead of all arguments. Default pass all arguments
- DOTNET_FSC_EXEC configure how to run the fsc. Values:
   - RUN run fsc passing fsc args
   - COREHOST run corehost passing fsc and fsc args. The default

Use the same order of fsproj msbuild task for fsc arguments to make it easier
compare fsproj build and .net cli build

Fix --resource with path and name

Enable --debug (-g) if pdb

The generated assembly info file must be in the last - 1 position
in source files list.

1. the generated assembly info file must be in the last possibile position to
   override the attributes
2. The last file is the source file with main
2016-03-16 16:29:23 +01:00
Enrico Sada
c2afaa265f bump f# compiler and FSharp.Core 2016-03-16 16:19:28 +01:00
Enrico Sada
8739803778 netcore frameworks 2016-03-16 03:01:05 +01:00
Livar
1c9803d980 Merge pull request #1786 from livarcocc/tests_as_client
Modifying the reporting channels to make the AdapterChannel a client
2016-03-15 16:37:26 -07:00
Andrew Stanton-Nurse
cc00d9d839 update project templates for portable app
also fix dotnet run
2016-03-15 15:18:48 -07:00
Livar Cunha
8d39adbdbf Modifying the reporting channels to make the AdapterChannel a client and leave the TestRunnerChannel a server. This will prevent port conflicts between dotnet test and the Adapter (VS) due to race conditions.
Added E2E tests for dotnet test interactions with an adapter (design time).
2016-03-15 15:13:54 -07:00