Nick Guerrera
e83ae613d6
Fix build errors and warnings after porting fixes to 2.0.x
2017-09-27 16:52:11 -07:00
Daniel Plaisted
9f3bbc40a2
Use a shorter path for test working directories, get rid of Stage 0 project.json based CLI
...
(cherry picked from commit 4c3b13e4a8
)
2017-09-27 14:40:57 -07:00
Daniel Plaisted
ca34332205
Rename Stage0 build variables to PreviousStage
...
(cherry picked from commit c6e4c8f477
)
2017-09-27 14:37:37 -07:00
Daniel Plaisted
dd4a1b5121
Show path when directory delete fails in test setup
...
(cherry picked from commit 61e68e621a
)
2017-09-27 14:20:08 -07:00
Daniel Plaisted
2b134c91fe
Support new artifacts layout in tests and other build logic
...
(cherry picked from commit 13da213183
)
2017-09-27 14:20:05 -07:00
Daniel Plaisted
8385d37185
Move dir.props to auto-imported Directory.Build.props
...
This is necessary for setting the intermediate output path to work correctly
(cherry picked from commit ae0aa8ed24
)
2017-09-27 14:16:37 -07:00
Nick Guerrera
138b98f65f
Use $(CliTargetFramework), eliminate warnings, treat warnings as errors
...
(cherry picked from commit 656eab7aec
)
2017-09-27 13:28:45 -07:00
William Li
081f208942
Add telemetry data points for .NET Core 2.0
2017-07-27 09:55:40 -07:00
Livar
e5786487ec
Merge pull request #7266 from livarcocc/show_first_run_message
...
Show first run notice even when CLI is installed by native installers.
2017-07-26 19:29:05 -07:00
William Li
aa3b1b67d8
refactor to remove duplication
2017-07-26 16:30:03 -07:00
William Li
c8590354a7
Add block thread constructor
2017-07-26 16:03:59 -07:00
Livar Cunha
6541a16a38
Changing the FirstNoticeSentinel used by the internal-reportinstallsuccess command.
2017-07-26 15:33:48 -07:00
Zbyněk Sailer
d4a9de3778
LOC CHECKIN | cli-release/2.0.0 | 20170726
2017-07-26 09:41:49 +02:00
Livar Cunha
20f0dac6b2
Making a change that will cause the first run notice to always show up in the first run of the CLI, even when it is installed by native installers.
2017-07-25 22:33:54 -07:00
Nick Guerrera
28c51d2eaa
Localize first-run "Expanding" and "Decompressing"
2017-07-19 13:58:06 -07:00
Nick Guerrera
368531715e
Fix VSLANG handling typo
2017-07-19 11:51:38 -07:00
Nick Guerrera
85573db000
Respond to PR feedback: use method names not comments
2017-07-19 11:00:09 -07:00
Nick Guerrera
a1c423c0f6
Honor UI language override in test runs
...
Also fix some incorrect unlocalized test expectations that slipped in.
2017-07-18 22:03:31 -07:00
Nick Guerrera
60e2637143
Allow CLI UI language to be overridden by an environment variable
2017-07-18 21:20:52 -07:00
Zbyněk Sailer
633ec51720
LOC CHECKIN | cli-release/2.0.0 | 20170714
2017-07-14 09:14:59 +02:00
Alexander Köplinger
4d0e8b5892
MSBuildSdkResolver: resolve symlink for 'dotnet' binary
...
On Linux the dotnet installed by the dotnet packages is a
symlink (/usr/bin/dotnet -> ../share/dotnet/dotnet).
We need to resolve the symlink so we're passing the path to
the actual .NET Core installation to libhostfxr.
Fixes https://github.com/dotnet/cli/issues/7125
2017-07-12 21:44:03 +02:00
Mike Lorbetske
ea467db3af
Update test to pass --no-restore to templates
2017-07-10 16:27:54 -07:00
Mike Lorbetske
5aec446657
Update to SetupCrossgen 277 - Coherence 26182
...
Enable loc for dotnet new
2017-07-10 15:20:35 -07:00
William Li
191e3e3019
Installer Success Reporting for Windows
...
Issue https://github.com/dotnet/cli/issues/7091
Add internal command dotnet internal-reportinstallsuccess. Before
Windows installer finishes, run this command instead of dotnet new. It
will trigger the first time experience as well as sending telemetry with
installer exe name.
This command blocks to ensure that the webservice call completes.
2017-07-07 12:56:21 -07:00
Matt Ellis
cde3a8bcb2
MIT License *NIX Builds.
...
Remove non MIT licensed components from the CLI when building on non
windows platforms. The shared framework provides the LICENSE file that is
included with the tarballs, so we just need to ensure we don't pull any
windows specific stuff that is not MIT licensed.
Fixes : dotnet/core-setup#676
2017-07-06 16:47:50 -07:00
Livar Cunha
2b15cb43cf
Adding a Minimum VS Defined SDK version to the resolver. If it set to 1.0.4 if the minimum SDK version file is not found.
2017-07-05 09:54:46 -07:00
Livar
20023717b5
Merge pull request #7048 from livarcocc/fix_help_message
...
Fixing help text for version, info and diagnostics and also removing …
2017-06-30 15:54:40 -07:00
Livar Cunha
3ec572f824
Fixing help text for version, info and diagnostics and also removing runtime options that are only available for dotnet exec.
2017-06-30 13:19:52 -07:00
Livar Cunha
859058ba7b
Changing to use File.OpenRead. This is required because when access readonly files, you must pass FileAccess.Read, otherwise, we get a UnauthorizedFileAccess exception.
2017-06-29 20:24:51 -07:00
Mike Lorbetske
d8087d35d4
Update engine and templates, update to SetupCrossgen 224 - Coherence 25975
2017-06-29 10:16:02 -07:00
Nick Guerrera
9b77dc50f1
Redirect parser to localized validation messages
2017-06-27 15:49:00 -07:00
Nick Guerrera
34d0900a34
Use latest command line parser
2017-06-27 10:03:53 -07:00
Livar
7af62e423e
Merge pull request #6999 from livarcocc/first_run_sentinel_when_no_dotnet_folder_exists
...
Create the Dotnet User Profile folder when running the first experience
2017-06-26 12:53:02 -07:00
Nick Guerrera
b8a2ce4e8c
Merge pull request #6997 from nguerrera/loc-compilers
...
Add F# and Roslyn satellites
2017-06-26 11:10:49 -07:00
Livar Cunha
cd984f5b50
Create the Dotnet User Profile folder when running the first experience, if the folder does not exist, if will fail the first run because it will fail to create the first notice sentinel.
2017-06-24 22:59:35 -07:00
Nick Guerrera
14977b7201
Add F# and Roslyn satellites
2017-06-23 19:48:38 -07:00
Livar Cunha
37f531be4c
Handling an exception that happens when dotnet run is invoked with a file that is not a valid project file. We catch that exception and re-throw it as a GracefulException.
2017-06-23 10:47:09 -07:00
Nick Guerrera
74acc40036
Add msbuild satellite assemblies
2017-06-21 13:34:16 -07:00
Nick Guerrera
1661fd0975
Merge pull request #6961 from nguerrera/loc-tests
...
Make remaining tests pass on localized setup
2017-06-21 10:42:01 -07:00
Nick Guerrera
b922d7e550
Make dotnet-remove-reference tests pass on localized setup
2017-06-20 18:45:36 -07:00
Nick Guerrera
273dea9371
Make dotnet-list-reference tests pass on localized setup
2017-06-20 17:57:32 -07:00
Nick Guerrera
20e0a46e59
Make dotnet-add-reference tests pass on localized setup
2017-06-20 16:16:38 -07:00
Livar Cunha
0e200ace5e
Updating xlf files for the Configurer.
2017-06-20 11:21:43 -07:00
Livar Cunha
a357fd7bca
Removing NuGetConfig from the first run experience and replacing the sentinel with the FirstUseNoticeSentinel when needed.
2017-06-20 10:59:23 -07:00
Livar Cunha
529d7caa79
Moving the expanding fallback folder to the dotnet folder hive. The folder will be expanded at sdk/NuGetFallbackFolder.
2017-06-20 10:59:23 -07:00
Livar Cunha
69e2db5251
Updating xlf and fixing line ending problems with one file.
2017-06-19 21:37:47 -07:00
Livar
f6f96e334b
Merge pull request #6869 from omajid/missing-lzma-repated-first-run-message
...
Avoid repeating the first-run message if lzma archive is missing
2017-06-19 20:50:59 -07:00
Omair Majid
34b44b999b
Avoid repeating the first-run message if lzma archive is missing
...
If the LZMA archive is missing, the first-run message is printed every time.
This commit fixes that.
Split the first-run message into two pieces:
- The first-run (welcome and telemetry) message is printed only once, no matter
whether the cache was primed or not.
- The cache-priming message is printed only if the cache is avaialble.
Otherwise skip the cache introduction and the ccache priming operation.
2017-06-19 18:08:05 -04:00
Nick Guerrera
11967b7d9c
Merge branch 'release/2.0.0' into loc
2017-06-16 18:20:44 -07:00
Mike Lorbetske
1a142953c2
Detect initial bolding for console colors
2017-06-14 23:51:02 -07:00