Commit Graph

99 Commits

Author SHA1 Message Date
Nate McMaster fac6b44bbd Upgrade to RC.3 2017-01-20 11:08:47 -08:00
BrennanConroy 161d101da6 Change Xunit version 2017-01-17 16:24:00 -08:00
Nate McMaster e481df3d49 Add better errors, fix help output text, and add 'dotnet watch --list' to help us diagnose issues
Fixes #252 - help output shown twice in dotnet-watch
Fixes #250 - add dotnet-watch --list. Prints a list of all files discovered
Fixes #249 - better error message when GenerateWatchList fails
2017-01-17 11:43:44 -08:00
Nate McMaster d55948cae3
React to changes in KoreBuild 2016-12-14 19:30:44 -08:00
Nate McMaster fd632ec654 Cleanup msbuild layout
Use one props file for whole repo, avoiding layers of dir.props
2016-12-14 09:13:00 -08:00
Nate McMaster e94def7eca Re-enable tests for file delete detection in dotnet-watch
Microsoft.NET.Sdk fixed the underlying issue causing these tests to fail.

Resolves #224.
2016-12-13 10:04:19 -08:00
Nate McMaster 08e3e0b77f Cleanup dotnet-watch testing 2016-12-13 09:59:11 -08:00
Nate McMaster 346dfe8fe0 Remove dependency on Microsoft.DotNet.Cli.Utils from test project 2016-12-12 16:40:01 -08:00
Nate McMaster 902ff8dce3 Build with MSBuild 2016-12-12 15:55:00 -08:00
Nate McMaster d48f2abc7c Use MSBuild project extensions instead of importing the users project
Implicit imports prevents using <Import> on a project file that has the Sdk attribute. This change instead generates a file in the MSBuildProjectExtensionsPath to inject targets require to find the UserSecretsId property in a project.

Resolves #242
2016-12-08 09:55:22 -08:00
Nate McMaster f277816556
Update packaging for tools
Move targets files in to 'toolassets'. The 'tools' folder has conventions in NuGet that we don't want applied to these packages.

Downgrade to Microsoft.NETCore.App 1.0.0

Add 'prefercliruntime' package.
2016-12-07 09:37:34 -08:00
Nate McMaster fad1d2b645 Merge branch 'rel/1.0.0-msbuild2' into feature/msbuild 2016-12-06 09:35:00 -08:00
Prafull Bhosale 6decb66d8c Upgrade Cli.Utils to preview4-004215 2016-12-05 18:26:48 -08:00
Nate McMaster 17da5242e0
Create console reporter API
The reporter API breaks down complex formatter in to composable compontents. Adds 'ReporterBuilder' and 'FormatterBuilder' as syntax sugar for creating reporters with complex formatting rules

Changes in dotnet-watch
 - Remove dependency on Microsoft.Extensions.Logging and instead use IReporter for console output
 - Only use color output when stdout and stderr are not being redirected
 - Make the default output less noisy

Changes in dotnet-user-secrets
 - Remove dependency on Microsoft.Extensions.Logging to use IReporter

Changes in dotnet-sql-cache
 - Remove dependency on Microsoft.Extensions.Logging to use IReporter
 - Add --verbose option
2016-11-30 14:51:08 -08:00
Nate McMaster 4a64ef857c
Remove dependency on Microsoft.DotNet.Cli.Utils from dotnet-user-secrets 2016-11-21 19:14:36 -08:00
Nate McMaster 46136e91ab
Resolve mysterious runtime errors caused because Microsoft.Extensions.DependencyModel v1.0.1-beta-000933 does not exist on NuGet.org 2016-11-21 17:30:33 -08:00
Nate McMaster 40d4670463
Abstract the console 2016-11-21 11:08:56 -08:00
Nate McMaster b6b4523993
Remove dependency on Microsoft.DotNet.Cli.Utils 2016-11-17 13:37:58 -08:00
Nate McMaster a6f4a38202 Refactor tests to fix false-positive tests passes 2016-11-16 15:34:35 -08:00
Nate McMaster 944e99121c Add nuget feed to restore CLI dependencies 2016-11-04 10:47:13 -07:00
Nate McMaster 5de082e687 Upgrade Microsoft.DotNet.Cli.Utils from preview2 to preview3 2016-11-04 10:18:46 -07:00
Nate McMaster 90f92fabe3 Upgrade Microsoft.NET.Sdk in tests 2016-11-03 09:16:08 -07:00
Nate McMaster 54031fb399
Downgrade to 1.0.1 2016-11-02 13:41:59 -07:00
Nate McMaster 975e22ad06 Drop tools back to Microsoft.NETCore.App 1.0.1 2016-11-02 09:42:17 -07:00
Nate McMaster d5c0c29a0c Remove custom nuget feeds from main project feed config 2016-11-01 18:41:58 -07:00
Nate McMaster 6fd5e2ab52 Install cli preview3 side-by-side for msbuild testing 2016-11-01 18:41:58 -07:00
Nate McMaster 4698985846 Port dotnet-watch to support MSBuild 2016-11-01 18:39:51 -07:00
Nate McMaster 29df59b89c Create initial prototype of dotnet-user-secrets with MSBuild support 2016-11-01 18:39:51 -07:00
Nate McMaster a0e164f379
dotnet-user-secrets: add support for json output and piping json input 2016-10-31 14:15:52 -07:00
Nate McMaster c7ff19c285 Remove Microsoft.Extensions.ProjectModel
Resolves #182
2016-10-18 09:45:09 -07:00
Nate McMaster 70bafa9753 Upgrade to MSBuild 15.1.319-preview5 and fix broken tests. (#201) 2016-10-17 15:09:24 -07:00
Nate McMaster 68533f32f7 Upgrade test project to netcoreapp1.1 2016-10-17 13:38:40 -07:00
Nate McMaster 721cbe3435 Refactor dotnet-watch to isolate project.json dependency 2016-10-17 12:06:19 -07:00
Nate McMaster 4cbd904154 dotnet-watch: add --verbose and --quiet command line flags 2016-10-13 16:22:53 -07:00
Pranav K f8a1a66ab7 Revert "Updating to netcoreapp1.1"
This reverts commit fd6df3c74d.
2016-10-12 16:39:36 -07:00
Nate McMaster 5d998a16d8 dotnet-watch: simplify the end to end testing to not rely on tool installation via restore (#194) 2016-10-12 16:12:52 -07:00
Prafull Bhosale 0627d859af Fix path issue in assertion for DotNetDependencyProviderTests 2016-10-12 14:40:32 -07:00
Pranav K fd6df3c74d Updating to netcoreapp1.1 2016-10-12 13:45:08 -07:00
Prafull Bhosale 8fb38d3637 Add Project References to ProjectContext 2016-10-12 13:40:52 -07:00
Prafull Bhosale 8be3b16756 Fix DotNetDependencyProviderTest for CI 2016-10-10 14:07:08 -07:00
Nate McMaster 78e35d3c6f Split ProjectModel into separate packages (#188) 2016-10-10 13:11:31 -07:00
Prafull Bhosale f7932b57a6 Add Dependency Resolution Apis to ProjectContext Abstractions 2016-10-10 11:33:49 -07:00
Nate McMaster 92a8d6d3bd Add API for multi-tfm projects (#184)
Project builder supports auto-detecting the framework
2016-10-06 13:03:05 -07:00
Nate McMaster 74a067fdc3 React to aspnet/Configuration#525 2016-10-06 12:34:50 -07:00
Nate McMaster a15b73af68 Pin to RTM versions of DotNet packages 2016-10-06 12:10:11 -07:00
Nate McMaster dde022961c
Add MSBuildProjectFinder and update ProjectModel to handle latest MSBuild updates 2016-10-05 15:17:18 -07:00
Nate McMaster 40ff75d536 Create replacement API for Microsoft.DotNet.ProjectModel 2016-10-04 15:49:32 -07:00
Pranav K 4647a8a4bd Updating partner package versions 2016-10-03 12:21:25 -07:00
Nate McMaster 61dc862e4d Merge Microsoft.DotNet.Watcher{.Core} into {.Tools}
History: in the days of DNX, there was a plan to share code between dnx-watch and Visual Studio tooling to watch the system. We split the package into two pieces with this intention. Since then, dotnet-cli has replaced DNX and MSBuild will replace project.json. The shared watch code isn't necessary, nor is it an API we want to support.
2016-09-26 12:04:12 -07:00
Nate McMaster f90594a647
Add support for '--' argument separator
Also refactors command line parsing into a separate class.
2016-09-26 10:19:43 -07:00