Commit Graph

157 Commits

Author SHA1 Message Date
Nate McMaster d058fe5a39 Fix StackOverflowException caused when creating the watcher on directories from a network share 2017-07-26 17:23:06 -07:00
Nate McMaster 76aa9b26fc Use async main in dotnet-watch 2017-07-13 11:55:07 -07:00
Mike Harder 5618fa52d8 Update MSBuild to 15.3.0-* (#320)
- Matches version shipping with Visual Studio 15.3
2017-07-11 17:47:28 -07:00
Jass Bagga 61505b88a5 Remove use of GetTempFileName (#313) 2017-06-28 12:11:17 -07:00
Nate McMaster 0dfb8e474a Remove named constraint from SqlCache tool (#310) 2017-06-19 15:10:21 -07:00
Nate McMaster 0742f56dbd Fix minor formatting error in help text for user-secrets 2017-06-17 13:45:20 -07:00
Nate McMaster 902783e202 Remove redundant property in dependencies.props 2017-06-13 11:29:31 -07:00
Nate McMaster 34ea52068a Add --msbuildprojectextensionspath option to dotnet-watch
In the event someone wants to move the obj/ folder, MSBuild will not be able to locate dotnet-watch's generated targets. dotnet-watch cannot automatically find the obj folder (#244), so this command line switch allows users to point dotnet-watch to the right location.
2017-06-02 15:12:33 -07:00
Javier Calvarro Nelson 7ac72dd7d8 Add task for generating ssl certificates with MSBuild 2017-05-24 15:55:43 -07:00
Mike Harder cfc41d3845 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-05-03 11:42:10 -07:00
Mike Harder db517803c8 Move System.Data.SqlClient version from csproj to dependencies.props (#293) 2017-05-03 11:30:51 -07:00
Nate McMaster 88f43ffc1a Fix race conditions between CTRL+C and RunAsync in dotnet-watch
Increase timeouts in testing dotnet-run and improve verbosity of test logging
2017-04-28 10:34:18 -07:00
Mike Harder 3a248e22c8 Upgrade System.Data.SqlClient to 4.4.0-* (#287)
- Addresses "SqlClient fails with netcoreapp2.0 on Win7/Server2008" (https://github.com/dotnet/corefx/issues/18406)
- Revert if and when $(CoreFxVersion) is upgraded to 4.4.0-*
2017-04-27 13:37:20 -07:00
Nate McMaster 1e61428f8e Lift packages to target .NET Core 2.0 2017-04-24 10:39:27 -07:00
Nate McMaster f246dd3502 Upgrade test projects to .NET Core 2.0 2017-03-22 11:56:27 -07:00
Nate McMaster 13219fafa9 Remove code that moved into CommandLineUtils 2017-03-22 10:19:19 -07:00
Nate McMaster 849319bcff
React to changes in command line utils 2017-03-21 16:31:29 -07:00
Nate McMaster 1f8e8fae5d
React to aspnet/Common#205 2017-03-21 15:48:04 -07:00
Nate McMaster d1d656d5b8 Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
Nate McMaster 8c32731282 Update dependencies and build version to 1.2.0
Unify dependencies
Remove duplcated code from CommandLineUtils
Update appveyor image
2017-03-14 12:22:25 -07:00
Nate McMaster 1bfa9c4b4b
Make it possible to detect that a process is running inside dotnet-watch by setting 'DOTNET_WATCH=1' 2017-03-13 13:00:22 -07:00
Nate McMaster c97dd446eb
Simplify console output and fix color output on CMD 2017-03-10 09:18:38 -08:00
Nate McMaster beb53221c3
Merge branch 'rel/1.0.0' into dev 2017-03-07 12:52:07 -08:00
Nate McMaster ec7df544ed Use latest LTS packages 2017-02-16 13:46:11 -08:00
Nate McMaster 60a06b2e07 Update README.md
[ci skip]
2017-02-14 12:11:39 -08:00
Nate McMaster 5a444fa75c Cleanup project files and workaround, run tests on .NET Core 1.1 2017-02-10 08:26:17 -08:00
Nate McMaster 7019c55219 Fix package path issues 2017-02-03 10:15:28 -08:00
Nate McMaster fac6b44bbd Upgrade to RC.3 2017-01-20 11:08:47 -08:00
Nate McMaster 6e246fa583
Prepare for 1.0.0 release. Pin versions of tools and SDK 2017-01-17 12:06:38 -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 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