Commit Graph

176 Commits

Author SHA1 Message Date
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
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
N. Taylor Mullen 4214884b3e Fix xml doc warning. 2016-10-06 12:38:30 -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 3b1f650d3b Add custom tool for packaging as "CLI" package types.
Resolves #157
2016-09-30 14:48:02 -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
Nate McMaster 11bbd6df8e
Support relative paths to projects.
Resolve #170
2016-09-20 14:30:37 -07:00
Nate McMaster 7bafb00f05
Improve error message when project file does not exist.
Resolve #171
2016-09-20 14:30:37 -07:00
Nate McMaster fb54566ff5
Add dotnet-sql-cache 2016-09-19 17:09:21 -07:00
Nate McMaster 8f2eccbd36
Move dotnet-user-secrets into current repo 2016-09-19 14:35:41 -07:00
Nate McMaster bbffd97633
⬆️ Bump tool on dev branch to 'preview4' and re-up dependencies to latest dev versions 2016-09-09 10:14:52 -07:00
Nate McMaster bf5d2f5dff
Revert deletion of makefile.shade from e0663483ed 2016-09-09 09:01:36 -07:00
Nate McMaster e0663483ed
Downgrade to 1.0.0 runtime dependencies 2016-09-08 15:47:15 -07:00
Victor Hurdugaci ac2f21514f Add a flag to specify the log level 2016-08-31 11:48:02 -07:00
Victor Hurdugaci ed91ba0c2f - Fix a NullRef exception that was happening when projects have resx files
- Print the changed file name in all cases
2016-07-15 11:53:45 -07:00
Victor Hurdugaci c769d8dee9 Fix null ref exception when referencing csproj 2016-07-15 10:05:30 -07:00
Doug Bunting 9f6a691655 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-06 22:09:57 -07:00
Pranav K 67fe579e74 Updating to dev versions 2016-06-16 10:17:46 -07:00
jacalvar 15454ae254 Remove unncessary imports 2016-06-08 13:02:26 -07:00
Victor Hurdugaci 29bc240044 Fix a timing issue in the polling watcher 2016-06-01 16:15:55 -07:00
Victor Hurdugaci 188bf58fe8 Remove netstandard.library 2016-06-01 14:52:22 -07:00
Pranav K 0d471b827b Update NetStandard.Library version 2016-06-01 14:31:42 -07:00
BrennanConroy 060a1c8f5a Replace PlatformAbstractions with RuntimeInformation 2016-05-31 09:49:59 -07:00
Victor Hurdugaci c5abb2e2eb Revert the fix for notification on folder deletion because it requires a big redesign. The simple fix doesn't work 2016-05-31 09:18:02 -07:00
Pranav K bf5f6b9275 Updating to netstandard1.6
Fixes https://github.com/aspnet/Coherence/issues/101
2016-05-27 07:36:33 -07:00
Victor Hurdugaci 2cf772b575 - Bugfix: Trigger on new project.json file structure
- Bugfix: Trigger on folder deletion
- Add test for folder deletion
2016-05-26 16:06:03 -07:00
Victor Hurdugaci 526f22f072 Rename the environment variable used for polling watcher 2016-05-26 15:13:19 -07:00
Victor Hurdugaci 07d504cf9a Update the project.json metadata 2016-05-26 09:44:15 -07:00
Victor Hurdugaci 63bbafdb1d Simplify watcher arguments by passing everything to dotnet 2016-05-24 16:05:43 -07:00
Pranav K 63a9d64394 Fix build warnings 2016-05-02 11:27:09 -07:00
Ryan Brandenburg d22a638e55 React to TryGetProject changes 2016-04-29 14:31:29 -07:00
Pranav K cb426cb325 Remove references to IRuntimeEnvironment 2016-04-29 14:30:41 -07:00
Victor Hurdugaci 21951d62f3 Fix command line parsing around the -- separator 2016-04-22 14:44:52 -07:00
moozzyk 265c90cbd1 Moving dotnet-watch to netcoreapp1.0 2016-04-19 11:54:44 -07:00
moozzyk c248e539f3 Renaming namespaces and fixing tests 2016-04-19 11:26:40 -07:00
moozzyk afe01eedbf Renaming dotnet-watch folders to Microsoft.DotNet.Watcher.Tools 2016-04-19 10:38:59 -07:00
Victor Hurdugaci 684ee87f20 Fix the prefix comparison 2016-04-18 17:38:41 -07:00
Victor Hurdugaci cf465b2001 Fix tests on unix and make tests more reliable on all platforms 2016-04-13 16:08:10 -07:00
moozzyk 8f1f3c0772 Add a polling watcher 2016-04-13 09:52:55 -07:00
moozzyk 46d4c6edcb Updating dotnet-watch to netstandard 2016-04-12 09:46:12 -07:00
Victor Hurdugaci aa2b726363 Remove unused dependencies 2016-04-06 15:09:59 -07:00
Pranav K d1c52323f2 Revert "Revert "Reacting to CLI breaking change""
This reverts commit e74665e550.
2016-04-02 05:50:03 -07:00
ryanbrandenburg e74665e550 Revert "Reacting to CLI breaking change"
This reverts commit 4788506b57.
2016-04-01 16:05:28 -07:00
BrennanConroy 4ddf7c2cc7 React to Logging changes 2016-04-01 11:11:09 -07:00
Pranav K 4788506b57 Reacting to CLI breaking change 2016-04-01 06:41:43 -07:00
John Luo 73217edba5 Update package name 2016-03-17 16:36:27 -07:00
John Luo 4df44c8501 Use KillTree from Common 2016-03-16 18:02:59 -07:00
Victor Hurdugaci bc382be632 Fix the tests that hang 2016-03-10 11:50:18 -08:00
Ajay Bhargav Baaskaran 467e520b35 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:54:13 -08:00
Victor Hurdugaci c43c37e7f9 - E2E test
- File watcher that takes the globbing patterns into account
- A big rewrite of the core algorithm
2016-03-03 13:46:45 -08:00