Commit Graph

128 Commits

Author SHA1 Message Date
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 cc84b8402d Fix help text for dotnet-user-secrets-set to show the correct Windows example 2017-01-03 11:16:34 -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 08e3e0b77f Cleanup dotnet-watch testing 2016-12-13 09:59:11 -08:00
Nate McMaster 44c8920412 Add RepositoryUrl and RepositoryType properties 2016-12-12 17:40:07 -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 67c540051b Update README.md 2016-12-12 16:24:15 -08:00
Nate McMaster d4313dae3b Use props from Korebuild 2016-12-12 16:21:18 -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 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 e0f85971a3
Add --version options to dotnet-watch and dotnet-sql-cache 2016-11-22 17:15:21 -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 40d4670463
Abstract the console 2016-11-21 11:08:56 -08:00
Nate McMaster 33597c7011
Merge branch 'rel/1.0.0-msbuild2' into feature/msbuild 2016-11-17 15:44:32 -08:00
Nate McMaster c8870a80a7
Remove Microsoft.DotNet.Cli.Utils from nuspec 2016-11-17 15:43:52 -08:00
Nate McMaster a0e07744c0
Pin versions 2016-11-17 14:13:21 -08:00
Nate McMaster b6b4523993
Remove dependency on Microsoft.DotNet.Cli.Utils 2016-11-17 13:37:58 -08:00
Nate McMaster 2a0e827f9b Update dependency version and explicitly require files in nuspec 2016-11-16 15:36:47 -08:00
Nate McMaster 15a877e7fb Merge branch 'rel/1.0.0-msbuild1-update1' into feature/msbuild 2016-11-16 15:33:50 -08:00
Nate McMaster ac5a9b7b73 Pin versions 2016-11-16 15:27:33 -08:00
Nate McMaster e2c4e36d78 Ensure .targets files are included in dotnet-watch 2016-11-16 15:25:31 -08:00
Nate McMaster 363ddf73a6
Pin versions 2016-11-07 09:57:56 -08:00
Nate McMaster 349980c89e
Add DOTNET_USE_POLLING_FILE_WATCHER to help output 2016-11-07 09:46:39 -08:00
Nate McMaster c84bdb35d3
dotnet-watch: add extended help to clarify usage (#218) 2016-11-07 09:46:31 -08:00
Nate McMaster 5de082e687 Upgrade Microsoft.DotNet.Cli.Utils from preview2 to preview3 2016-11-04 10:18:46 -07:00
Nate McMaster ca70ef0b34
Change version to msbuild1 2016-11-03 12:09:19 -07:00
Nate McMaster 3b0947b4af
Add workaround for bug in Configuration 1.0.1 2016-11-02 13:46:23 -07:00
Nate McMaster 54031fb399
Downgrade to 1.0.1 2016-11-02 13:41:59 -07:00
Nate McMaster b4027529a7 Bundle deps.json files in tools packages 2016-11-02 10:38:39 -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 7afad9102f Update dotnet-watch README.md 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
Scott Hanselman 9744f94b39 Update README for dotnet-watch to specify which version to install (#210) 2016-11-01 18:39:14 -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 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
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 1ae83eff70 Handle compilerOptions in project.json 2016-10-12 09:58:11 -07:00
Prafull Bhosale 329b65fc69 Add AssemblyName to ProjectContext 2016-10-12 09:10:35 -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 c20b9ae894 Add PackageLockFile to IProjectContext (#187) 2016-10-10 11:30:12 -07:00
Nate McMaster f9412e7707
Remove unnecessary workaround. Resolves #165. 2016-10-06 13:37:33 -07:00