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
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
4c5f097d67
Adding the configurer to dotnet.
2016-06-10 16:54:11 -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
4a88cff185
[ Fixes #3255 ] Added a web template to dotnet new
2016-06-08 11:31:08 -07: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
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
42938f180f
Updating CoreSetup to rc3-004406
2016-06-06 11:15:07 -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
351255dda1
Updating CoreSetup to rc3-004373
2016-06-02 14:45:00 -05:00
Bryan Thornbury
edac9e4219
move all version suffixes to preview3 and rc4
2016-05-31 21:19:26 -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
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
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
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
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
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
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
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
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
Ajay Bhargav Baaskaran
b6e3224387
[ Fixes #2829 #2861 ] Maintain folder structure in mappings
2016-05-18 17:25:23 -07:00
Pavel Krymets
670dbca45b
Fix bug preventing MakeRunnable on dependent project when using globbing build
2016-05-17 08:22:43 -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
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
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
Peter Jas
41e9c9e0fc
Fix casing of Sha
...
`Commit Sha: xyz` -> `Commit SHA-1 hash: xyz` for `dotnet --info` output.
2016-05-11 18:22:43 +00:00
Eric Erhardt
8013398def
Merge pull request #2980 from eerhardt/FixTestCommandErrors
...
dotnet test and publish failing badly when the project isn't restored.
2016-05-11 11:27:52 -05:00
Eric Erhardt
652d0541ef
dotnet test and publish failing badly when the project isn't restored.
...
Fixing this by checking for diagnostic errors before continuing.
Fix #2692
Fix #2942
2016-05-11 10:43:58 -05:00
Eric Erhardt
ad3a178849
Merge pull request #2858 from eerhardt/telemetry-perf-improvements
...
Address telemetry PR feedback
2016-05-10 22:19:07 -05:00
Sridhar Periyasamy
1b2b83b6db
Upgrade the RC2 branding to RC3.
...
The following packages are changing:
Microsoft.NetCore.App: 1.0.0-rc2-3002702 -> 1.0.0-rc3-002702
Microsoft.NETCore.DotNetHost: 1.0.1-rc2-002702-00 -> 1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostPolicy: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostResolver: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00
Also publishing the *deb file to teh debian repo feed is disabled -
https://github.com/dotnet/cli/issues/2973
2016-05-10 13:36:20 -07:00
Piotr Puszkiewicz
1033e61d57
preview1 --> preview2
...
Moves CLI version suffix from preview1 to preview2
Sets channel for preview2 to 1.0.0-preview2, abandoning the Beta channel to the 1.0.0-preview1 release. Once @sokket's publishing cleanup work is complete we can re-converge the channels if desired.
2016-05-09 02:41:11 -07:00
Bryan Thornbury
f538c4f19f
Move to P2P references all over the place
2016-05-05 17:21:27 -07:00
Bryan
d1cd3703ac
update rc2-preview1 to preview1
2016-05-05 11:05:58 -07:00
Piotr Puszkiewicz
c3fe0d062f
Fix package versions
2016-05-05 11:05:55 -07:00
Eric Erhardt
c0aeb91d61
Merge pull request #2878 from rrelyea/rrelyea/updateNugetVersions
...
Update version number of Nuget binaries to 3.5.0-beta
2016-05-04 18:04:31 -05:00
Zlatko Knezevic
ca554c9838
Fix the dotnet-new README.md ( #2891 )
...
Remove the `--type` additional options that are not valid.
skip ci please
Fix #2867
2016-05-04 15:43:34 -07:00
Eric Erhardt
ece4ae52b2
Merge pull request #2851 from dasMulli/bugfix/schema-upgrade-new-project-template
...
Update dotnet-new templates to new project.json schema
2016-05-04 15:51:17 -05:00
Rob Relyea
804b0eea97
Update version number of Nuget binaries to 3.5.0-beta (now w/o buildnumbers)
2016-05-04 13:14:02 -07:00
Alex Panov
0d6b3c8482
Update NuGet to 3.5.0-beta-1246
2016-05-03 17:34:46 -07:00
Eric Erhardt
a93ce8c0e8
Address PR feedback
...
- Track telemetry isInitialized by checking for TelemetryClient != null
- Don't store the telemetry profile string
2016-05-03 19:19:10 -05:00
Piotr Puszkiewicz
3e96a05f9c
Merge pull request #2781 from dotnet/brthor/2760
...
fixes #2760
2016-05-03 15:15:42 -07:00
Piotr Puszkiewicz
99193a3a91
Merge pull request #2724 from adamgorMSFT/adamgor/telemetry-perf-improvements
...
Improving Telemetry performance
2016-05-03 15:14:58 -07:00
dasMulli
d39a905a5b
Updated dotnet-new templates to new project.json schema.
2016-05-03 23:19:20 +02:00
Eric Erhardt
6d698181a0
Add Telemetry Profile environment variable.
...
Also removing unnecessary code in Telemetry.cs.
2016-05-03 15:42:09 -05:00
PiotrP
333fbbd167
When profile directory does not exist Then skip MCJ
2016-05-03 12:50:12 -07:00
Piotr Puszkiewicz
9f0dab1a08
PR Feedback
2016-05-03 11:38:55 -07:00
Bryan
a25e92208e
fixes #2760
...
Verify coreclr absence/presence depending on app type during dotnet build.
2016-05-03 11:34:56 -07:00
Adam Gorman
4aa22c3344
Adding copyright header
2016-05-03 11:11:31 -07:00
Adam Gorman
5d548b339a
Misc cleanup
2016-05-03 11:11:31 -07:00
Adam Gorman
42324ab9da
Removing accidental duplicate code
2016-05-03 11:11:31 -07:00
Adam Gorman
702a44efc3
whitespace cleanup
2016-05-03 11:11:31 -07:00
Adam Gorman
2d73e3b535
Fixing inconsistencies that made build impossibe.
2016-05-03 11:11:31 -07:00
Adam Gorman
ba13586b1c
Offloaded more work to Task
...
Removed all unnecesary code if opted out of telemetry.
Shanged sample rate to 1 for testing purposes.
CI to just regular Test
Changed hash helper function to handle a list<string> to optimize unneceary duplicate sha256 creation
Reduced new memory allocations
2016-05-03 11:11:31 -07:00
Adam Gorman
4b905ae2bd
Reducing Telemetry performance delay
...
Added telemetry timeout
Added SHA256 hashed arguments
Added Continous Integration flag
Added variable rate sampling
Removed ExitCode from telemetry
2016-05-03 11:11:31 -07:00
PiotrP
44f6642116
Rebase Conflicts
2016-05-03 10:37:29 -07:00
PiotrP
91bfc022a2
PR Feedback
2016-05-03 10:36:48 -07:00
Piotr Puszkiewicz
304434433b
Feature Complete
...
- Add remaining test scenarios
- Refactor implementation
- Add gitignore entry for optimization profiles
2016-05-03 10:36:48 -07:00
PiotrP
6c1ef959cc
WiP
2016-05-03 10:36:05 -07:00
Andrew Stanton-Nurse
08c4aae6a9
trim build dependencies from output
2016-05-02 19:51:12 -07:00
Eric Erhardt
9a85205781
Merge pull request #2792 from eerhardt/Relative
...
Execute 'csc' with working directory set to the project directory.
2016-05-02 18:53:57 -05:00
Piotr Puszkiewicz
c907d52451
Merge pull request #2809 from eerhardt/UpdateNuGet
...
Updating NuGet references from beta to rc.
2016-05-02 11:40:10 -07:00
Troy Dai
f32683cbab
refactor WorkspaceContext ( #2736 )
...
this removes a regression in ProjectModelServer behavior
also added a test to cover target framework change in DTH
2016-05-02 11:32:24 -07:00
Eric Erhardt
6249829e68
Fix build-base-path to be converted to a full path.
...
This allows commands to run in different working directories and pass around the full path to the build-base-path, instead of a relative path.
2016-05-02 12:21:12 -05:00
Pavel Krymets
dc249cb94b
Move
efs to shared runtime
2016-05-02 09:36:02 -07:00
Eric Erhardt
9d1d937ced
Updating NuGet references from beta to rc.
2016-05-02 09:29:51 -05:00
Eric Erhardt
f2d917ed2e
Execute 'csc' with working directory set to the project directory.
...
When using a ruleset with a relative path in buildOptions, csc can't
find the file because it is not working in the same directory as the
project.
Fix #2710
2016-05-01 22:46:03 -05:00
Pranav K
9e768d9cad
Merge pull request #2767 from dotnet/prkrishn/filesystemglobber
...
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 19:57:47 -07:00
Justin Emgarten
69f1bc9937
Merge pull request #2778 from rohit21agrawal/rel/1.0.0
...
Update nuget version to 3.5.0-beta-1233
2016-04-29 19:53:48 -07:00
Mihai Codoban
57a684c912
Merge pull request #2744 from cdmihai/cdmihai/throwWhenRedirectingBadDlls
...
Add exception handling when makerunable fails
2016-04-29 18:47:35 -07:00
Pranav K
734c9fc43b
Copy FileSystemGlobbing and HashCodeCombiner sources
2016-04-29 17:55:06 -07:00
Pranav K
1e753f7781
Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal
2016-04-29 16:06:23 -07:00
Rohit Agrawal
e0567e976f
Updating NuGet to version 3.5.0-beta-1233
2016-04-29 15:04:54 -07:00
Pranav K
944d4e543a
Merge pull request #2732 from dotnet/prkrishn/remove-cycles
...
Remove references to Microsoft.Extensions.Logging
2016-04-29 10:40:24 -07:00
Pavel Krymets
cf6fdc6dac
Merge pull request #2733 from dotnet/anurse/perf-tracing
...
Add performance tracing to dotnet cli
2016-04-29 09:45:48 -07:00
Andrew Stanton-Nurse
36e56e9d00
Add performance tracing
2016-04-29 08:16:37 -07:00
Mihai Codoban
b480eb9072
Better error messages when makerunnable fails
2016-04-28 17:49:04 -07:00
Pranav K
54cfe01869
Remove references to Microsoft.Extensions.Logging
2016-04-28 13:07:34 -07:00
Andrew Stanton-Nurse
b98bc1289d
abort build when an unresolved dependency is found ( #2696 )
2016-04-28 10:02:05 -07:00
Pavel Krymets
f8300f8747
Merge pull request #2721 from dotnet/pakry/no-deps-yes-deps
...
Fix --no-dependencies incremental check regression
2016-04-28 08:43:59 -07:00
Eric Erhardt
a9621eb469
Merge pull request #2717 from eerhardt/Spaces
...
dotnet build fails with xmlDoc = true and spaces in the path.
2016-04-27 20:36:36 -05:00
Pavel Krymets
9ffa4ad399
Fix --no-dependencies incremental check regression
2016-04-27 15:29:12 -07:00
Eric Erhardt
2ed81240fa
dotnet build fails with xmlDoc = true and spaces in the path.
...
Need to quote the xmlDoc argument to the csc compiler.
Fix #2600
2016-04-27 15:43:12 -05:00
Ajay Bhargav Baaskaran
44fd8bc2de
Updated ProjectModel
...
- Added PackOptions, RuntimeOptions, PublishOptions and updated CompilationOptions
- Added IncludeFilesResolver to parse include, exclude patterns
- Added compile, embed and copyToOutput to compilationOptions
- Renamed compilationOptions to buildOptions
- Moved compilerName into buildOptions
- This change is backwards compatible
- Added warnings to be shown when the old schema is used
- Handled diagnostic messages in ProjectReader
- Added unit and end to end tests
2016-04-27 11:49:44 -07:00
eerhardt
f8a155a4e6
Updating CoreFx to rc2-24027
2016-04-27 05:41:53 +00:00
Eric Erhardt
dd327b52a5
dotnet run doesn't accept '--' arg separator anymore
...
When moving from System.CommandLine to the DNX arg parser, we regressed in parsing arguments that should be passed to the underlying process.
Fix #2643
2016-04-26 19:57:29 -05:00
Krzysztof Wicher
c61368387b
Merge pull request #2694 from dotnet/krwq-patch-4
...
Update dotnet-pack README.md
2016-04-26 14:38:27 -07:00
Krzysztof Wicher
b7b467e5bc
Update dotnet-pack README.md
...
Skip CI please
2016-04-26 12:13:44 -07:00
Eric Erhardt
5c8ef57585
Adding all code pages for dotnet CLI.
...
Since we write to the console and create new processes and read from their stdout and stderr, we need to ensure we have all the code pages in our process. This way we can encode/decode strings correctly when writing to our Console, and when reading from spawned process's output.
Fix #2486
2016-04-26 09:36:24 -05:00
Andrew Stanton-Nurse
a729b97b35
align code in dotnet-run ( #2679 )
...
we used to use different code when --framework was specified than when it was not specified, this synchronizes them to use the same code path which removes a hidden NullRef
also adds tests to cover both cases
2016-04-25 13:53:02 -07:00
Mihai Codoban
91fb67835d
Merge pull request #2619 from cdmihai/cdmihai/globChangeDetectionRelMerge
...
Cache inputs for globbing change detection
2016-04-25 09:32:24 -07:00
Pranav K
4974df41ee
Merge pull request #2527 from dotnet/prkrishn/run-all-the-tests
...
Modify dotnet-test to run testRunner for all tfms
2016-04-24 21:51:57 -07:00
Pranav K
4e496c3523
Modify dotnet-test to run testRunner for all tfms
...
Fixes #2506
2016-04-22 16:40:03 -07:00
Mihai Codoban
a3b7c85451
Add input caching for glob change detection
2016-04-22 16:05:50 -07:00
Rohit Agrawal
7509e4d175
Update nuget version to 3.5.0-beta-1199
2016-04-22 15:27:00 -07:00
Andrew Stanton-Nurse
ef0ca39da1
Memory usage improvements in build ( #2626 )
...
* Use a WorkspaceContext in dotnet-build to cache project data across
multiple compilations in a single build action
* Dramatically reduce string and object duplication by introducing a
"Symbol Table" that shares instances of NuGetVersion, NuGetFramework,
VersionRange and string across multiple lock-file parses
Test Results:
* Testing was done by compiling Microsoft.AspNetCore.Mvc (and it's
dependencies) and taking memory snapshots after each compilation in
dotMemory
* We used to allocate ~3MB and deallocate ~2.5MB on EACH compilation in
a single build action. This has been reduced to ~120KB
allocated/deallocated
* After introducing WorkspaceContext, total memory usage spiked from 6MB
across the whole build action to about 13MB, introducing the symbol
table dropped it back to about 5-6MB.
2016-04-22 15:01:56 -07:00
Eric Erhardt
e420515c2b
Updating CoreFX to rc2-24022
2016-04-22 10:58:43 -05:00
Eric Erhardt
0c64a7ebc9
Merging with latest code.
2016-04-20 18:52:23 -05:00
Eric Erhardt
02194fca67
Fixing compiler command line options bugs.
...
- Ensure the long names start with `--`
- Handle null strings in UnescapeNewlines
- Handle bool options correctly.
- Allow dotnet run, compile-csc, and compile-fsc to handle .rsp files.
2016-04-20 18:47:38 -05:00
Eric Erhardt
6fa3a8132e
Enhance CommandLine
...
- Allow CommandLineApplication to handle .rsp files.
- Allow CommandOption to handle MultilpeValue options that have "..." at the end of their template.
- Allow CommandOption to handle boolean values with explicit or null values.
2016-04-20 18:47:37 -05:00
Eric Erhardt
44483ddc98
Remove System.CommandLine dependency.
...
Also removed the dependency on Microsoft.Extensions.CommandLineUtils.Sources NuGet package and instead just checking the source files into our repo as internal classes.
Fix #2526
2016-04-20 18:47:37 -05:00
Eric Erhardt
d06418509d
Merge pull request #2606 from eerhardt/UpdateAspDeps
...
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
2016-04-20 18:37:16 -05:00
Pavel Krymets
88ffa548ba
Merge pull request #2574 from dotnet/pakrym/graph
...
Add multiple input project support
2016-04-20 16:12:23 -07:00
Pavel Krymets
03e698f0c2
Improve traversing performance
2016-04-20 14:01:32 -07:00
Pavel Krymets
3472aee5c9
Remove native compilation, add multiple project files and globbing
2016-04-20 11:54:16 -07:00
Eric Erhardt
bc619cb9be
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
...
The places where I removed a dependency is because a lower package (InternalAbstrations) was already bringing in that dependency.
Fix #2567
2016-04-20 13:50:34 -05:00
Zlatko Knezevic
f2515235b7
Merge branch 'rel/1.0.0' into blackdwarf-patch-2
2016-04-20 10:30:30 +02:00
Pavel Krymets
3e5b68dc43
Add project to project graph
2016-04-19 21:16:18 -07:00
Piotr Puszkiewicz
bc8b0c065f
Merge pull request #2548 from dotnet/piotrpMSFT/issue2499/importDnxcore50
...
import dnxcore50
2016-04-19 13:09:33 -07:00
Bryan Thornbury
66d6a38185
Merge pull request #2450 from dotnet/brthor/test-switch
...
Convert TestAssets to `Microsoft.NETCore.App`
2016-04-19 12:45:28 -07:00
Piotr Puszkiewicz
496ec6b474
dotnet-new template imports dnxcore50. Tests Green.
2016-04-19 11:22:45 -07:00
Pranav K
8c6c192806
Use runtime directory instead of compile directory when running tests
2016-04-19 11:15:50 -07:00
Bryan Thornbury
83d78129db
t Convert Test Assets to Microsoft.NETCore.App
...
fix dotnet-compile-fsc failures
fix test failures
2016-04-19 11:08:27 -07:00
Jonathan Miller
18ae4d4791
Merge pull request #2538 from sokket/nrefix
...
Fixing #2480 to produce an InvalidProjectException for invalid projects
2016-04-18 13:57:57 -07:00
Eric Erhardt
c9bee8a64f
Merge pull request #2550 from eerhardt/UpdateDependencies20160418052316
...
Updating CoreFx to rc2-24018
2016-04-18 15:12:57 -05:00
Jonathan Miller
a71e4a5128
Fixing #2480 to produce an InvalidProjectException when attempting to publish a
...
project folder that does not contain a project.json file
2016-04-18 11:25:54 -07:00
eerhardt
eb4952df27
Updating CoreFx to rc2-24018
2016-04-18 05:23:16 +00:00
Eric Erhardt
6afc2ca813
Invoke compile-csc in-proc
...
Since processes are expensive, suppress spawning a new process when dotnet-compile is invoking dotnet-compile-csc.
2016-04-16 00:28:57 -05:00
Andrew Stanton-Nurse
852446e859
Improve resource file support ( #2511 )
...
* Add satellite assemblies to deps file with locale data
* Publish satellite assemblies to output during publish
* Copy satellite assemblies from project-to-project dependencies on
build and publish
2016-04-15 14:45:51 -07:00
Joel Verhagen
fbe5a23318
Take the latest NuGet build
2016-04-15 12:37:45 -07:00
Zlatko Knezevic
c83a2fb6f9
Add and modify commands' README files ( #2338 )
...
* Add and modify commands' README files
Update those READMEs that are outdated. Add READMEs for dotnet pack
and dotnet restore as well.
* Removing private info, adding feedback alias
2016-04-15 10:36:31 -07:00
eerhardt
070650ebac
Updating CoreFx to rc2-24015
2016-04-15 05:25:53 +00:00
Eric Erhardt
880dcf2fc8
Merge pull request #2345 from dotnet/anurse/update-nuget
...
update nuget to 1160
2016-04-13 21:47:26 -05:00
Andrew Stanton-Nurse
71d5738fff
re-restore test projects at their destination
...
since NuGet now stores the relative path to dependent projects in the lock file, projects need to be restored when they are moved
2016-04-13 17:56:51 -07:00
Andrew Stanton-Nurse
362397a945
ensure dotnet-build can see projects under packages
2016-04-13 17:56:50 -07:00
Andrew Stanton-Nurse
2956446864
update nuget to 1160
2016-04-13 17:56:50 -07:00
Eric Erhardt
aeaf8f0380
Add back in copying of RuntimeAssets during publish.
...
Any NuGet packages that had contentFiles weren't getting the content files added to the published output directory. This breaks things like debugging in VS Code.
Fix #2459
2016-04-13 16:25:30 -05:00
Krzysztof Wicher
9d71cce383
Merge pull request #2449 from krwq/fix_2404
...
improve error message for unresolved tools
2016-04-13 12:02:00 -07:00
Pavel Krymets
482f36d26b
Merge pull request #2371 from dotnet/pakrym/low-fat
...
Make desktop publishing "half-portable" by default
2016-04-12 19:13:34 -07:00
Krzysztof Wicher
0b746ee559
improve error message for unresolved tools
2016-04-12 16:44:34 -07:00
Troy Dai
065e8352fc
Merge pull request #2441 from dotnet/troy/2420
...
Send DependencyDiagnostics after Dependencies message
2016-04-12 16:30:27 -07:00
Andrew Stanton-Nurse
a48596ff23
make 'platform' flag dependent upon CLI bitness
...
this will make net451 deployment work for x86 apps
2016-04-12 16:11:00 -07:00
Andrew Stanton-Nurse
14770ae5ba
Add tests for "half-portable" scenario
2016-04-12 16:09:53 -07:00
Pavel Krymets
2d3a1fd177
Make desktop publishing "half-portable" by default
2016-04-12 16:09:53 -07:00
Pavel Krymets
6184943910
Merge pull request #2437 from dotnet/pakrym/publish-base-path
...
Fix publish when build was ran using build-base-path
2016-04-12 15:42:58 -07:00
Troy Dai
20c24a0b36
Send DependencyDiagnostics after Dependencies message
2016-04-12 14:32:45 -07:00
Pavel Krymets
cf0673333d
Fix publish when build was ran using build-base-path
2016-04-12 13:30:18 -07:00
Bryan Thornbury
709f7b7d14
Enable Cross Publishing and add tests
...
WIP
WIP
WIP
Test out not publishing runtimeAssets
WIP
WiP x-publish
update cross-publish-test
Update Cross Publish tests
remove --config from restore
fix build
update cross publish tests
fix test compilation error
test failure fix
fix test failure
update tests
tracing
fix desktop publishing
do publish with no build, call build manually
fix
Make host publish optional, fix faux libraries?
update
Cross Publish test working
try changing test to netcore.app
fallback to host from current platform
revert change to project.json to target Microsoft.NETCore.App
fallback to compilation build output
update kestrel standalone app project.json
Make project tools command resolver test more self-contained.
make Kestrel Standalone restore against N-1
2016-04-12 13:00:04 -07:00
Senthil
38be724c3b
Make interface untyped
2016-04-11 19:58:14 -07:00
Piotr Puszkiewicz
a7ae7b0091
Merge pull request #2328 from danquirk/MoveTelemetryToDotNet
...
Move telemetry dependency out of Utils and into dotnet
2016-04-11 15:17:19 -07:00
Zlatko Knezevic
cbf5e241e3
Merge branch 'rel/1.0.0' into blackdwarf-patch-2
2016-04-08 17:53:48 -07:00
Pawel Kadluczka
44be0cb3c0
Merge pull request #2358 from dotnet/pawelka/outname_pack
...
Enabling creating packages with different names than target libraries
2016-04-08 14:24:29 -07:00
Eric Erhardt
99371436f3
Consume NETCore.App
2016-04-08 09:27:23 -05:00
Piotr Puszkiewicz
85608e42cc
Merge branch 'rel/1.0.0' into pawelka/outname_pack
2016-04-08 04:27:58 -07:00
Matt Ellis
d0ac16129d
Update package dependencies to rc2-24008
2016-04-08 04:05:26 -07:00
Pavel Krymets
ddff3a256e
Merge pull request #2342 from dotnet/pakrym/run-core-app
...
Add netcoreapp as default tfm to run
2016-04-07 20:11:08 -07:00
moozzyk
6a571e5b2a
Enabling creating packages with different names than target libraries
...
Addresses #2322
2016-04-07 16:06:59 -07:00
Pavel Krymets
ed05e164fb
Merge pull request #2337 from dotnet/pakrym/hasruntimeoutput
...
Bring `has runtime output` check back
2016-04-07 13:37:09 -07:00
Pavel Krymets
0bc7380bdb
Add netcoreapp as default tfm to run
2016-04-07 11:51:41 -07:00
Pranav K
9efebf8ef9
Merge pull request #2296 from dotnet/prkrishn/update-more-packages
...
Update to the latest AspNet packages
2016-04-07 11:04:45 -07:00
Pavel Krymets
13aee118e9
Bring has runtime output back
2016-04-07 10:22:48 -07:00
Peter Marcu
aa88de1e6c
Merge pull request #2198 from dotnet/Petermarcu-update-netcoreapp
...
Update project.json template to be netcoreapp1.0
2016-04-07 09:07:37 -07:00
Bryan Thornbury
3e903438b3
Merge pull request #2319 from dotnet/brthor/remove-nuget-config
...
Remove NuGet.config from the default dotnet new drop.
2016-04-06 22:35:12 -07:00
Pranav K
e51dd1594c
Update to the latest AspNet packages
2016-04-06 18:11:58 -07:00
Dan Quirk
3045ce37fc
Move telemetry dependency out of Utils and into dotnet
2016-04-06 17:02:27 -07:00
Bryan Thornbury
6ec25e9f30
Merge pull request #2214 from dotnet/brthor/fix-fsc-template
...
Add imports to the fsharp dotnet new template
2016-04-06 15:38:37 -07:00
Bryan Thornbury
939366165f
Remove NuGet.config from the default dotnet new drop. Patch the tests to cover this gap until corefx is on nuget.org
2016-04-06 14:34:39 -07:00
Eric Erhardt
965547bd8a
Merge pull request #2145 from dotnet/lakshanf/issue2066/telemetry
...
Lakshanf/issue2066/telemetry
2016-04-05 19:37:58 -05:00
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