Commit graph

1667 commits

Author SHA1 Message Date
Mark Clearwater
6df15c341a Fix typo in Avaiable
* Should be Available
2016-07-09 19:10:54 +01:00
Livar Cunha
17ef19e788 Removing ForwardStdOut and ForwardStdErr from the ConsoleTestRunner and from dotnet verbs that are not built-in. BuiltIn verbs were already not using it. 2016-07-07 14:51:35 -07:00
cartermp
fd1da95522 Don't print arguments in F# console app 2016-07-07 14:00:42 -07:00
Dennis Fricke
38f75fd5c5 Update LibraryExporterExtensions.cs
- removed space
| moved method below StructuredCopyTo
2016-07-07 15:16:10 +02:00
Dennis Fricke
2084a099b8 Update LibraryExporterExtensions.cs
tabs -> spaces
2016-07-06 16:55:35 +02:00
Dennis Fricke
f769f9ea1c Update LibraryExporterExtensions.cs 2016-07-06 16:12:13 +02:00
cartermp
51e7ab465b Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
This updates the F# templates for dotnet-new to be compatible with Preview 2.
2016-07-05 21:38:12 -07:00
Petr Onderka
c6e42cfe7e fixed docs links in READMEs 2016-07-01 19:33:36 +02:00
PiotrP
5ed1371cd9 Remove Project Model Server 2016-06-30 14:31:08 -07:00
kloun
1706eb19f9 del duplicate newline 2016-06-29 23:54:31 +03:00
Piotr Puszkiewicz
d6849c2fa1 Piotrp msft/3628 rebase (#3694)
* fix typo

* doc
2016-06-28 16:29:36 -07:00
Petr Onderka
f811069898 Fixed OutputPath in Configurer xproj (#3685)
This is required for building in VS.
2016-06-24 11:10:58 -07:00
Eric Erhardt
cec5bacaad Merge branch 'feature/msbuild' of https://github.com/dotnet/cli.git 2016-06-23 17:52:51 -05:00
Bryan Thornbury
400e1db3b9 dotnet-build3 Adding msbuild execution command to cli 2016-06-23 13:57:33 -07:00
Petr Onderka
63846c5751 Added valid --type values to dotnet help new (#3644)
Used approach that ensures valid values for --lang and --type
in dotnet help new are always up to date.
2016-06-22 15:20:40 -07:00
Petr Onderka
90b7617dc5 Fixed links in dotnet READMEs (#3642)
Also renamed dotnet-test README for consistency.
2016-06-22 15:19:10 -07:00
Piotr Puszkiewicz
9d01e3bc2e Merge rel/1.0.0-preview2 to rel/1.0.0 (#3677)
* Update README.md

* Moving Ubuntu 16.04 to be next to Ubuntu 14.04

* Adding Oracle Linux and Linux Mint to the titles

Adding Oracle Linux and Linux Mint to the titles next to their compatible binaries.

* Remove showing firsttime eula for non verbs.

* Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.

Fix #3345

* Use NugetCache Sentinel for Telemetry setting.

* Fix Oracle Linux version in README.md

Oracle Linux 7 -> Oracle Linux 7.1

* Fix README to use hostfxr download links (#3622)

Also fix a rebase error from b524fd079e6dcdd744faeb6061ccbfe99d1f810f#diff-04c6e90faac2675aa89e2176d2eec7d8

* Remove the VS2012 CRT dependency from docs (#3632)

* fix typo in dotnet-install file

This was needed to rebuild the CLI with the updated Roslyn NuGet packages.

Thanks goes to @akoken for the fix.
2016-06-22 15:17:54 -07:00
Eric Erhardt
04f40f906d Merge pull request #3472 from svick/master-branch-links
Fixed broken links pointing to master branch
2016-06-17 14:35:30 -05:00
Troy Dai
c321323dff Merge pull request #3308 from dotnet/troy-2995
Fix dependencies type changes scenario in project model server.
2016-06-16 10:32:59 -07:00
Petr Onderka
90d32ab3de Fixed broken links pointing to master branch 2016-06-16 18:37:26 +02:00
Eric StJohn
56ca4285f9 Merge pull request #3604 from ericstj/archiveNoCopy-1.0
Archiver should not keep files Open
2016-06-16 09:00:43 -07:00
Troy Dai
b3f67b5bef Update parameter names 2016-06-15 23:25:06 -07:00
Troy Dai
97da0b0696 Fix dependencies type changes scenario in project model server. 2016-06-15 23:24:03 -07:00
Josh Free
ef9ad4044a Merge pull request #3579 from Priya91/rel/1.0.0-preview2
Remove showing firsttime eula for non verbs.
2016-06-15 17:02:34 -07:00
Eric St. John
0363308fd1 Archiver should not keep files Open
Previously I attempted to save the cost of reading/decompressing files
by keeping a copy in memory.  That resulted in too much memory pressure
so I later swapped in temporary files.  This defeated the initial goal
of keeping the streams  alive to some extent since the files would
be flushed to disk.

In practice since all the nupkgs we are packing also have raw files so
we weren't even saving much CPU by avoiding a second decompression.

Switch the archiver to just first index all files and save the source
information to read at a later point.  After this when building the
archive we'll reopen the files/zips and copy from there.

My measurements show that this actually improve the archiving perf and
the lack of temp files means we don't hit the ulimit restriction on OSX.
2016-06-15 16:12:10 -07:00
Troy Dai
8c67ac9272 Add comments for refresh dependency trigger 2016-06-15 16:07:47 -07:00
Troy Dai
64c49d972a Add test to ensure refresh dependencies' consistency 2016-06-15 16:07:47 -07:00
Troy Dai
4c475002ec Enable project model server to clear cache forcefully 2016-06-15 16:07:47 -07:00
Lakshmi Priya Sekar
db7f68716b Use NugetCache Sentinel for Telemetry setting. 2016-06-15 15:55:28 -07:00
Bryan Thornbury
f0380cfd9c replicate https://github.com/dotnet/cli/pull/3492 2016-06-15 12:29:09 -07:00
Eric Erhardt
15a5c34149 Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.
Fix #3345
2016-06-15 14:14:25 -05:00
Bryan Thornbury
d717b84ec8 merge rel/1.0.0-preview2 into rel/1.0.0 2016-06-15 10:20:50 -07:00
Pavel Krymets
7ec2a0e767 Merge pull request #3574 from dotnet/pakrym/t
Trim platfrom libraries from deps file
2016-06-15 10:03:17 -07:00
Pavel Krymets
6b54ae0bcc Trim platfrom libraries from deps fiels 2016-06-15 09:09:38 -07:00
Lakshmi Priya Sekar
eab2494ed5 Remove showing firsttime eula for non verbs. 2016-06-14 17:55:10 -07:00
Eric StJohn
0589496b98 Merge pull request #3562 from ericstj/lzmaNoticesCopyright
Add LZMA to THIRD-PARTY-NOTICES + (c) header
2016-06-14 16:21:01 -07:00
Bryan Thornbury
e72d82c2cb Merge pull request #3567 from brthor/brthor/stable
mark InternalAbstractions and DependencyModel Stable
2016-06-14 16:00:31 -07:00
Eric Erhardt
b2dadfa81c Merge pull request #3566 from dotnet/DiaSymReader
Update Microsoft.DiaSymReader reference to 1.0.8
2016-06-14 17:29:33 -05:00
Eric Erhardt
0cd5afb87c Updating DiaSymReader to 1.0.8 2016-06-14 15:48:35 -05:00
Lakshmi Priya
8dd2479965 Check if project.json exists before creating new project in the same dir (#3543)
* Check if project.json exists before creating new project in the same dir.

* Change error message.
2016-06-14 13:20:29 -07:00
Bryan Thornbury
b37ddf7350 mark InternalAbstractions and DependencyModel Stable 2016-06-14 12:51:04 -07:00
Eric St. John
871d25a8a5 Add LZMA to THIRD-PARTY-NOTICES + (c) header
This adds LZMA to the THIRD-PARTY-NOTICES list for CLI.  Since we've
modified the SDK in porting it to .NET Core and minor bugfixes we've
also been advised to add the .NET Foundation copyright header.
2016-06-14 10:29:23 -07:00
Eric Erhardt
b93388cde2 Merge pull request #3555 from dotnet/FinalSharedFX
Final shared framework versions
2016-06-14 11:39:11 -05:00
Zlatko Knezevic
4da4f95e21 Update documentation (#3549)
* Updating README.md files as well as man pages

This aligns with the latest changes in the official documentation. It also aligns dotnet test readme.md to official docs and introduces a new doc in the "Documentation" directory that deals with dotnet test protocols.
2016-06-14 06:42:21 -07:00
Bryan Thornbury
9e97d0400c dotnet-compile-fsc bump to latest 2016-06-14 03:31:22 -07:00
jacalvar
635c3331df Update to Json.NET 9.0.1 2016-06-14 03:21:56 -05:00
Eric Erhardt
a4cef6d367 Updating NuGet to beta2-1484 2016-06-14 03:19:04 -05:00
Eric Erhardt
f25f047376 Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions. 2016-06-14 03:14:53 -05:00
Eric St. John
5790182727 Remove File.Copy optimization during expansion
Previously we'd keep track of any file that we extracted once and try
to reuse that file (by copying it) if we needed the same file later at a
different destination.  The reason was that it's theoretically faster to
a file copy than a createfile and write, since the copy can happen
entirely in the kernel.  In practice we were foiled by AV scanners.

This happens to be the only time during extraction where we let a file
close after writing it and then try and use it again.  Sure enough on
fast machines we were seeing that as soon as we closed it MsMpEng would
map the file for exclusive access causing our copy to fail with a
sharing violation.

To fix this, I've removed the copy optimization and will just copy the
file from the in-memory archive every time.
2016-06-13 14:06:05 -07:00
Livar
9f2bb66198 Merge pull request #3485 from livarcocc/offline
Offline feature work
2016-06-12 00:58:26 -07:00
Eric Erhardt
c1c7ca06c2 Update NuGet to 3.5.0-beta2-1480 2016-06-11 12:23:24 -05:00
Eric Erhardt
8e83ccb659 Merge pull request #3518 from eerhardt/UpdateDependencies20160611042958
Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
2016-06-11 11:33:21 -05:00
Zlatko Knezevic
79bbfafc51 Fix the project.json for C# library and add tests (#3507)
* Fix the project.json for C# library and add tests

This commit fixes the bug introduced in project.json for the C# Library
template. It also adds two simple tests for the library template that
drop the class library and then restore and another that also builds.

Fixes #3496
2016-06-11 06:43:56 -07:00
Eric Erhardt
99c32422b8 Update Microsoft.DiaSymReader to 1.0.8-rc2-60610-01 2016-06-10 23:33:34 -05:00
eerhardt
2aa3dd0843 Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively 2016-06-11 04:29:58 +00:00
Livar Cunha
d8c590e4ce When creating the handle to the in progress sentinel, it was failing because the nuget cache folder did not exist yet. Which translated to us understanding that a first time experience was already running. Now, before creating the handle, we check if the nuget folder exists, if it doesn't, we create it, instead of waiting for nuget to do that during restore. 2016-06-10 18:17:32 -07:00
Andrew Stanton-Nurse
762a259e9f fix #3469 by correcting overflow and enabling tests (#3471)
* fix #3469 by correcting overflow and enabling tests

* pr feedback
2016-06-10 17:28:23 -07:00
Eric St. John
2b427bf7db Add copyright headers and cleanup
Added copyright headers to all the 'dotnet' code and cleaned up to match
repo style guidelines.
2016-06-10 17:07:25 -07:00
Livar Cunha
105e5ab051 Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores. 2016-06-10 16:54:39 -07:00
Livar Cunha
ed7e583ab6 Addressing code review comments and adding a DOTNET_SKIP_FIRST_TIME_EXPERIENCE env variable to have a way to turn off the feature. 2016-06-10 16:54:37 -07:00
Eric St. John
4d631cc1b1 Update dest path & fix race reporting progress
Renaming destinationPath to destinationRelativePath for clarity.  This
string represents the path relative to the extract directory to which
files will be written.

We were missing an Interlocked.Increment during a parallel operation.
2016-06-10 16:54:34 -07:00
Livar Cunha
bcadd6ff01 Fixing identation and spaces in a few files. 2016-06-10 16:54:31 -07:00
Bryan Thornbury
f27330a09b Revert "move all version suffixes to preview3 and rc4"
This reverts commit 35432bcb4a32ddd6b672f86b206e2b1933eff035.
2016-06-10 16:54:19 -07:00
Livar Cunha
69f43beccd Adding the code to extract the archive in the first use of dotnet an
d added the first time use welcome text as well as some E2E tests.
2016-06-10 16:54:16 -07:00
Livar Cunha
5f220a1677 Generating the archive in the sdk folder of stage2. 2016-06-10 16:54:14 -07:00
Livar Cunha
4c5f097d67 Adding the configurer to dotnet. 2016-06-10 16:54:11 -07:00
Livar Cunha
461c26b78d Adding a create method to the sentinel and invoking it from the Primer when appropriate. 2016-06-10 16:54:09 -07:00
Livar Cunha
ac2e21452f Adding a separate abstraction for the NuGet sentinel. 2016-06-10 16:54:06 -07:00
Eric St. John
8db7c1c4fb Add dotnet-archive application 2016-06-10 16:54:05 -07:00
Eric St. John
4949cedcc2 Fix progress for decompression 2016-06-10 16:54:04 -07:00
Eric St. John
e34d988f54 Clean up usings 2016-06-10 16:54:01 -07:00
Eric St. John
40bf17900a Add IndexedArchive
This type will archive multiple files de-duplicated in a zip with a
central manifest that describes how to recreate the actual layout.
In addition, any other zip file will be expanded and deduplicated
so that we can further reduce the size of those zips/nupkgs.
All of these are placed in a zip with no-compression, essentially
using the zip as only a container.  We then LZMA compress that
container to achieve maximum compression.
2016-06-10 16:54:00 -07:00
Eric St. John
e8a65dd546 Port LZMA SDK to .NETStandard1.0 as library
We're builiding a library and don't need the application-related source
so I've removed this in addition to fixing the source to compile as
NETStandard1.0.
2016-06-10 16:53:59 -07:00
Eric St. John
1cfdb41cef Initial commit of LZMA SDK
This is a direct copy of the CS folder from the 16.02 SDK package.

I've added a README to indicate where this code came from.
2016-06-10 16:53:58 -07:00
Bryan Thornbury
32962a14e2 move all version suffixes to preview3 and rc4 2016-06-10 16:53:57 -07:00
Livar Cunha
84f63029fe Almost all of the code to prime the NuGet cache from the archive.
- Created a Configurer class that is responsible for deciding when to run the dotnet first time use
experience and invoke the NuGetCachePrimer.
- Added the NuGetCachePrimer which extract the archive and primes the cache.
-- This is just missing creating the sentinel once restore succeeds.
- Added a shell for the NugetPackagesArchiver, which will be responsible for expanding the archive (likely
replaced in the future by an abstraction from Eric's code or its implementation will simply call Eric's code).
- Added a TemporaryFolder abstration to Internal Abstractions that handles deleting the temporary folder once
we are done with it.
2016-06-10 16:53:55 -07:00
Eric Erhardt
4293d05571 Porting @svick's fix to change a hard-coded URL to a redirect link. 2016-06-10 17:51:50 -05:00
Rob Relyea
c39fbd37d3 Merge pull request #3492 from dotnet/toddmosc/serviceable-p2
Removing the nuspec schema change used for adding the serviceable tag.
2016-06-10 10:04:16 -07:00
eerhardt
7b51f28c7f Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively 2016-06-10 15:05:30 +00:00
Todd Moscinski
013fa1b8c0 Removing the nuspec schema change used for adding the serviceable tag. 2016-06-10 07:51:10 -07:00
Eric Erhardt
ef4a8e85ef Updating CoreSetup to rc3-004443-00. 2016-06-10 01:09:46 -05:00
eerhardt
cd9bcd40b3 Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively 2016-06-09 21:14:15 -05:00
Ajay Bhargav Baaskaran
1d44105b4b [Fixes #3421] Made dotnet new templates generate portable pdbs 2016-06-09 12:05:54 -07:00
Lee Coward
cbf5f1ef65 Merge pull request #3458 from blackdwarf/prev2templates
Add new templates for C# to dotnet new
2016-06-09 10:17:26 -07:00
Zlatko Knezevic
4b1735bdaf Fixing F# template project.json
Two changes:
1. Moving from netstandard1.5 to netcoreapp1.0
2. Fixing the version of F# netcore package
2016-06-09 08:17:45 -07:00
Zlatko Knezevic
85e4ed2b74 Responding to PR feedback 2016-06-09 08:06:38 -07:00
Zlatko Knezevic
c066ef1540 Add C# Lib and xunittest templates
Adding the C# lib and xunittest templates to `dotnet new`. These need
to be invoked with the `dotnet new -t lib` and `dotnet new -t
xunittest` keywords respectively.
2016-06-09 08:06:03 -07:00
Zhi Li
9a9864bf68 Update NuGet Version to 3.5.0-beta2-1451 2016-06-09 07:52:00 -05:00
Eric Erhardt
f43aad780c Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively 2016-06-08 22:56:25 -05:00
Pranav K
a2d4f6fed0 Remove use of Microsoft.Extensions.PlatformAbstractions 2016-06-08 16:28:52 -07:00
Ajay Bhargav Baaskaran
3c9f8dd99b Merge pull request #3426 from dotnet/ajbaaska/dotnet-new-web2
Added a web template to dotnet new
2016-06-08 12:45:49 -07:00
Ajay Bhargav Baaskaran
4a88cff185 [Fixes #3255] Added a web template to dotnet new 2016-06-08 11:31:08 -07:00
Eric Erhardt
71d39a4a19 Update Microsoft.DiaSymReader.Native to 1.4.0-rc2 2016-06-08 12:01:35 -05:00
Eric Erhardt
d2f1fa0300 Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively. 2016-06-07 18:24:30 -05:00
Jonathan Miller
cff4f37456 Merge pull request #3411 from sokket/json
Bumping JSON.NET to 9.0.1
2016-06-07 16:17:00 -07:00
Jonathan Miller
30ba1a1a61 Merge pull request #3413 from sokket/cycle
Adding check for self-referencing projects
2016-06-07 16:16:54 -07:00
Jonathan Miller
cdf4407419 Bumping JSON.NET to 9.0.1 2016-06-07 15:04:17 -07:00
Eric Erhardt
2e7c467aad Merge pull request #3407 from dotnet/dev-ragrawal-updatenuget
update nuget to 3.5.0-beta2-1392
2016-06-07 15:50:13 -05:00
Jonathan Miller
dc5fbc1a91 Adding basic cycle detection in the dependency walker 2016-06-07 13:21:13 -07:00
Eric Erhardt
0b30b148f3 Merge pull request #3376 from eerhardt/MergePreview2
Merge rel/1.0.0-preview2 into rel/1.0.0
2016-06-06 19:03:01 -05:00
Eric Erhardt
334b079995 Updating CoreSetup, Roslyn, DiaSymReader to rc3-004408, beta1-20160606-02, 1.0.8-rc2-60606-01 respectively. 2016-06-06 18:56:24 -05:00
Andrew Stanton-Nurse
dd51836aac fix #2289 by integrating EF's version of project load context (#3402) 2016-06-06 15:08:46 -07:00
Rohit Agrawal
5378f5a697 update nuget to 3.5.0-beta2-1392 2016-06-06 14:14:20 -07:00
Todd Moscinski
d3b935489f Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable. 2016-06-06 11:00:47 -07:00
Todd Moscinski
391675c5b9 Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option. 2016-06-06 11:00:33 -07:00
Todd Moscinski
8099e6b9f7 Adding support for --serviceable option to pack command which puts <serviceable>true</serviceable> into the output nuspec 2016-06-06 11:00:05 -07:00
Eric Erhardt
90fbc3bb53 Merge pull request #3399 from eerhardt/UpdateSharedFX
Updating CoreSetup to rc3-004406
2016-06-06 12:13:53 -05:00
Eric Erhardt
ea1b688527 Merge pull request #3394 from eerhardt/Fix1650
Change 'got' to 'received' for dep conflicts
2016-06-06 11:59:30 -05:00
Eric Erhardt
42938f180f Updating CoreSetup to rc3-004406 2016-06-06 11:15:07 -05:00
Luke Latham
d76807d22a Change 'got' to 'received' for dep conflicts 2016-06-06 09:35:24 -05:00
eerhardt
354b1d38d5 Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively 2016-06-06 14:24:51 +00:00
Todd Moscinski
72ad34b566 Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable. 2016-06-05 11:52:41 -07:00
eerhardt
ea8ae8d1c7 Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively 2016-06-04 18:32:34 +00:00
Eric Erhardt
4f95bc0010 Update CoreSetup to rc3-004397 2016-06-04 00:00:28 -05:00
Todd Moscinski
e45259c6fa Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option. 2016-06-03 15:46:16 -07:00
Eric Erhardt
1791d8ddb4 Merge branch 'preview2' 2016-06-03 17:28:29 -05:00
Todd Moscinski
b596122d5c Adding support for --serviceable option to pack command which puts <serviceable>true</serviceable> into the output nuspec 2016-06-03 14:53:58 -07:00
Bryan Thornbury
4f14a3c33e Merge pull request #3353 from brthor/brthor/3079
update help message
2016-06-03 13:16:27 -07:00
Eric Erhardt
f16f2e64eb Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01 2016-06-03 07:27:42 -05:00
Bryan Thornbury
4557f2a42f update help message 2016-06-02 15:21:29 -07:00
Eric Erhardt
0577337cdc Merge pull request #3351 from dotnet/preview2
Updating CoreSetup to rc3-004373
2016-06-02 15:47:00 -05:00
Eric Erhardt
351255dda1 Updating CoreSetup to rc3-004373 2016-06-02 14:45:00 -05:00
Bryan Thornbury
37bf9ee993 Merge pull request #3346 from brthor/brthor/2408
fixes #2408 stop using corehost to activate projectdependencycommands
2016-06-02 12:41:21 -07:00
Bryan Thornbury
64508f08ab fixes #2408 stop using corehost to activate projectdependencycommands 2016-06-02 10:50:38 -07:00
Bryan Thornbury
30b9c89bd7 fixes #3119 2016-06-01 17:35:20 -07:00
Bryan Thornbury
edac9e4219 move all version suffixes to preview3 and rc4 2016-05-31 21:19:26 -07:00
Matt Ellis
45dc82eb82 Remove some dead code 2016-05-31 15:15:57 -07:00
Livar Cunha
84d1b60ffe Adding docker files, modifying scripts and code to handle ubuntu 16.04 2016-05-31 15:15:08 -07:00
eerhardt
657c03b625 Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively 2016-05-31 20:27:46 +00:00
Eric Erhardt
d50068a5e4 Updating CoreFx, CoreSetup to rc3-24128-00, rc3-004338 respectively 2016-05-31 12:55:36 -05:00
Eric Erhardt
33b22d1638 Merge pull request #3277 from eerhardt/UpdateDependencies20160528124849
Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively
2016-05-31 10:45:58 -05:00
Eric Erhardt
e83b0b374a Merge pull request #3287 from jtkech/patch-1
minor change to a comment in IncrementalManager.cs
2016-05-31 09:58:44 -05:00
Eric Erhardt
fad7477ea5 Microsoft.NETCore.App no longer supports netstandard
Any project that references Microsoft.NETCore.App must target netcoreapp1.0.

Moving app projects to netcoreapp1.0; moving library projects to reference NETStandard.Library.
2016-05-31 09:54:28 -05:00
martincostello
8c7e478c3f Fix typo in help for dotnet build
Fix typo in the argument description shown for "dotnet build --help".
2016-05-30 21:55:00 +01:00
jtkech
4a8501eec1 Update IncrementalManager.cs 2016-05-30 05:57:17 +02:00
eerhardt
a087de2f87 Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively 2016-05-28 00:48:49 +00:00
Pavel Krymets
0f573ed04b Merge pull request #3256 from dotnet/pakrym/filter-fullcrl-deps
Filter build dependencies from fullclr embedded deps file
2016-05-27 14:53:17 -07:00
eerhardt
80820a638b Updating CoreFx, CoreSetup to rc3-24127-00, rc3-004324 respectively 2016-05-27 18:12:45 +00:00
Eric Erhardt
3fd06948fb Merge pull request #3264 from eerhardt/UpdateDependencies20160527080508
Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively
2016-05-27 13:04:01 -05:00
Andrew Stanton-Nurse
d5b1ee138f Add version suffix to build cache to ensure incremental builds are reset when it changes (#3246)
* add test for #2687
* fix #2687 by writing version suffix to build cache
2016-05-27 10:49:50 -07:00
eerhardt
ef76efa02c Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively 2016-05-27 08:05:08 +00:00
Zlatko Knezevic
18e3892529 Move the Microsoft.NETCore.App dependency under the Framework
As per #2970, this PR moves the main metapackage dependency under the
framework. In the F# project.json, it moves *just this* under the
framework, while the F# Core package remains under general
dependencies. The rationale is that since this is an F# project, this
packages is needed for all TFMs in the project.

Fixes #2970
2016-05-26 19:03:00 -07:00
Pavel Krymets
928283d531 Filter build dependencies from fullclr embedded deps file 2016-05-26 14:27:51 -07:00
Eric Erhardt
08a3ffe3aa Move to netstandard1.6
This is needed because DependencyModel uses the AppContext.GetData API, which is only available in netstandard1.6 as of CoreFX build rc3-24126.
2016-05-26 15:42:30 -05:00
Eric Erhardt
369ec935c7 Update Roslyn to beta1-20160525-03. 2016-05-26 13:13:24 -05:00
Eric Erhardt
cc178d425f Update CoreFx, SharedFx to rc3-24126-00, rc3-004312 2016-05-26 13:11:22 -05:00
Eric Erhardt
70ed305171 Update dotnet-new project.json templates
Now that Microsoft.NETCore.App is built in a separate repo, we don't need the project.json.pretemplate files.
2016-05-26 09:44:21 -05:00
Mark Junker
14e90f47b2 Fix mono/net403 framework assembly references (#3129)
* Add support for IncludeFramework for net403 and MonoAndroid (dotnet/cli#3128)

* Fallback mechanism for FrameworkList.xml from Mono/Xamarin that don't contain File elements (dotnet/cli#3128)

* Just using a foreach, as suggested by David Fowler (davidfowl)
2016-05-26 01:02:09 -07:00
Piotr Puszkiewicz
b303afb9bb Remove optimizationdata subdirectory from optimizationdata path (#3242)
PR #3208 moved optimizationdata to a new root directory called optimizationdata. The leaf-node directory optimizationdata is therefore redundant.
2016-05-25 20:41:10 -07:00
Eric Erhardt
e27ef0f18c Merge pull request #3230 from dotnet/brthor/host-out
Remove host + sharedfx build from CLI Repo
2016-05-25 20:02:44 -05:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -07:00
Bill Wert
785cab3072 Reduce nuget output
This addresses part of #1623. Unfortunately, because the CLI takes Nuget
as a binary, it is hard to get to where I think we should really be.
This change makes default verbosity "minimal", which is the first level
where you get any status output. Unfortunately, things like package
downgrade warnings and the like still appear there. This does hide all
the "info" and "trace" messages by default.

I also removed the now useless (and previously undocumented)
--quiet.
2016-05-24 21:34:11 -07:00
Livar
fe7b519722 Merge pull request #3215 from eerhardt/netcore-rc3
Upgrade to CoreFX rc3
2016-05-24 10:33:59 -07:00
Bryan Thornbury
2feda51952 Merge pull request #3208 from dotnet/brthor/3083
change optimization data path
2016-05-24 10:26:24 -07:00
schellap
05e1d95b14 Fix resources break 2016-05-23 19:05:03 -07:00
schellap
c037cf321e Revert "Merge pull request #3191 from schellap/deps-clean"
This reverts commit b2c7140b2a, reversing
changes made to d307537eb8.
2016-05-23 19:05:03 -07:00
Livar Cunha
a9e12e0336 Updating core packages to rc3-24123-01 2016-05-23 17:19:11 -07:00
Livar Cunha
f1d781a675 Fixing a couple of dependency versions for the update-tool and dotnet 2016-05-23 17:04:36 -07:00
Sridhar Periyasamy
3abae8b5ef Revert "HACK: Make the TestAssetsManager create shorter paths for test assets."
This reverts commit 196937c2f80129b2b224764cdb3fadca24204408.
2016-05-23 17:04:35 -07:00
Sridhar Periyasamy
0d555afc59 HACK: Make the TestAssetsManager create shorter paths for test assets.
This is a workaround for https://github.com/dotnet/coreclr/issues/5046
Remove this hack once the above issue is fixed.
2016-05-23 17:04:34 -07:00
Sridhar Periyasamy
73b2c3158d Add explicit reference to 'System.Text.RegularExpressions' to 'dotnet' project.json
Crossgen is failing in the CI machines with the below error. So trying to add an explicit reference to see if this issue goes away.

17:53:44 Error: Could not load file or assembly 'System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
17:53:44 Error compiling /mnt/resource/j/workspace/dotnet_cli/rel_1.0.0/debug_debian8.2_x64_prtest/artifacts/debian.8-x64/stage1/sdk/1.0.0-preview2-002767/dotnet.dll: Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
2016-05-23 17:04:30 -07:00
Sridhar Periyasamy
baf28233f4 Address PR feedback. 2016-05-23 17:04:29 -07:00
Sridhar Periyasamy
d2188cd95a Move the CLI corefx dependencies from RC2 to RC3 - rc3-24113-00.
- Disable crossgen for windows.Tracked by - https://github.com/dotnet/cli/issues/3059
- And also fix #2974
2016-05-23 17:04:29 -07:00
Bryan Thornbury
cbc4f58249 change optimization data path 2016-05-23 16:13:30 -07:00
Pavel Krymets
79a07266c9 Fix dependency context merge and msbuildproject resolution 2016-05-23 12:26:53 -07:00
schellap
dafda03832 Revert "Merge pull request #3020 from schellap/deps-clean"
This reverts commit d307537eb8, reversing
changes made to 54ab5b8385.
2016-05-22 13:35:44 -07:00
Senthil
dd07f0f1ed Strict deps resolution else fail fast 2016-05-22 00:50:11 -07:00
Senthil
d61e982011 Merge pull request #3106 from schellap/fx-version
Add --fx-version option to the muxer
2016-05-20 20:43:45 -07:00
Eric Erhardt
ed7c79bb48 Merge pull request #3132 from vcsjones/fix-3084
Move command line parsing into try/catch for test.
2016-05-20 19:03:32 -05:00
Eric Erhardt
354149dfce Merge pull request #3140 from tmat/UpdateDSRN140
Update Microsoft.DiaSymReader.Native to 1.4.0-rc
2016-05-20 15:48:13 -05:00
Kevin Jones
99d8853ef0 Move command line parsing into try/catch for test.
If invalid parameters are specified in `dotnet test`, the CLI does not
catch exceptions that can be thrown such as when specifying `-r` without
a runtime.

Fixes 3084.
2016-05-20 10:00:41 -04:00
Erik Schierboom
81e9b2fe10 Add 'dotnet restore' instruction when lock file is missing 2016-05-20 09:19:05 +02:00
Tomas Matousek
f1bd261109 Update Microsoft.DiaSymReader.Native to 1.4.0-rc 2016-05-19 12:59:02 -07:00
Bill Wert
ed3bd312cf Fix warnings in project.json
PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.

This change can't go in until PR #2864 does - it relies on those bug
fixes.
2016-05-19 11:51:49 -07:00
Eric Erhardt
2837db914c Merge pull request #2864 from dotnet/ajbaaska/fix-mappings
Maintain folder structure in mappings
2016-05-19 07:40:23 -05:00
Senthil
aa578bc08e Merge pull request #3104 from schellap/sccs
Fix build minor and add sccsid
2016-05-19 00:12:52 -07:00
Ajay Bhargav Baaskaran
b6e3224387 [Fixes #2829 #2861] Maintain folder structure in mappings 2016-05-18 17:25:23 -07:00
Senthil
e9f0b07596 Merge pull request #3068 from schellap/crt
Eliminate vcredist dependency
2016-05-18 12:00:20 -07:00
Senthil
2d852b02c3 Remove printf debugging 2016-05-18 09:27:30 -07:00
schellap
c9d0b29d9e Add --fx-version option to the muxer 2016-05-18 08:17:33 -07:00
Senthil
9b17ca75d7 Fix build minor and add sccsid 2016-05-17 21:18:02 -07:00
Pavel Krymets
670dbca45b Fix bug preventing MakeRunnable on dependent project when using globbing build 2016-05-17 08:22:43 -07:00
Senthil
52f977dc9f Eliminate vcredist dependency 2016-05-17 01:58:00 -07:00
Pavel Krymets
07b785c183 Merge pull request #2264 from dotnet/pakrym/dc-memory
Optimize dependency context memory usage
2016-05-16 10:50:41 -07:00
Pavel Krymets
c3aa0a5d5a Merge pull request #3033 from dotnet/pakrym/csproj-ref
Copy csproj reference assemblies to build output
2016-05-16 10:30:11 -07:00
Eric Erhardt
864145af6c Merge pull request #3032 from blackdwarf/removecompiledocs
Remove mentions of dotnet-compile
2016-05-16 12:10:52 -05:00
Pavel Krymets
8831e93ddd Copy csproj reference assemblies to build output 2016-05-16 08:41:33 -07:00
Senthil
93233fd496 Merge pull request #3018 from schellap/mxr-hlp
Help message for dotnet
2016-05-14 21:40:47 -07:00
Senthil
547b97a195 Help message for dotnet 2016-05-14 03:35:56 -07:00
Eric Erhardt
eb7054c90d Merge pull request #3013 from eerhardt/StreamForwarder
Console.Write() doesn't show output until a newline
2016-05-13 22:09:55 -05:00
Zlatko Knezevic
2161ab54e1 Remove mentions of dotnet-compile
There were still README.md files in the dotnet-compile and dotnet-compile-csc folders.
There was also a reference to it in dotnet-publish README.md doc. Removed that.

Fix #2622
2016-05-13 14:51:38 -07:00
Eric Erhardt
ecdb10591c Project.json schema warnings don't get displayed
When building a project.json that has schema warnings (and other warnings), we are not writing the warnings to the console. This is a regression.

The fix is to add all diagnostic messages to the LibraryManager, which is responsible to hold all the diagnostic messages.

Fix 3021
2016-05-13 13:10:39 -05:00
Eric Erhardt
6bf59ffde6 Console.Write() doesn't show output until a newline
When running an app with `dotnet run`, we are redirecting the standard out and error just to print it out to our standard out and error. However, we are batching the output until we hit a newline, which isn't ideal for console apps.

To fix this, `dotnet run` no longer redirects the standard out and error.

Fix #2777
2016-05-13 09:03:35 -05:00
Sridhar Periyasamy
a6cc2b07dd Update nuget version to 3.5.0-rc-1285
This is required to update the corefx dependencies from RC2 to RC3. Some
of the corefx libs have 'netstandard1.6' as TFM and this version of Nuget
supports that TFM.

Also the 'VersionRange.IncludePrerelease' has been removed from nuget and by
default 'VersionRange.Satisfies' returns true for any prerelease version.
2016-05-12 21:56:56 -07:00
Eric Erhardt
876a67348d Merge pull request #2946 from schellap/rtm-fixes
Make error message better
2016-05-12 13:47:56 -05:00
Eric Erhardt
f515e80029 Merge pull request #2998 from bkoelman/equals-fix
Fixed broken Equals (2)
2016-05-12 12:40:34 -05:00
Senthil
a9a4e04a08 Make error message better 2016-05-11 20:01:13 -07:00
Pavel Krymets
43c638e46d Optimize dependency context memory usage 2016-05-11 16:14:25 -07:00
Eric Erhardt
17175864cf dotnet crashes with an unresolved 'platform' dependency.
Fixed by calling TryGetValue instead of a dictionary indexer when looking up platform dependencies in ProjectContextBuilder.

Fix #2693
2016-05-11 17:32:42 -05:00
Bart Koelman
811dfc9bf9 Fixed broken Equals (2) 2016-05-11 23:26:54 +02:00