Commit Graph

146 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 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
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 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 e0663483ed
Downgrade to 1.0.0 runtime dependencies 2016-09-08 15:47:15 -07:00
Pranav K 484f35691a Don't use DOTNET_BUILD_VERSION in code.
Clean up test projects
2016-09-07 11:19:56 -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
Victor Hurdugaci 9d16d2e9b5 Use the scenario tool tested from testing common 2016-07-05 15:40:37 -07:00
Victor Hurdugaci 21b3525933 Make MultipleTriggers more stable 2016-07-05 09:57:11 -07:00
Pranav K 92c658216f Updating to RTM builds of xunit 2016-06-29 16:43:38 -07:00
Pranav K 67fe579e74 Updating to dev versions 2016-06-16 10:17:46 -07:00
jacalvar a86db45a19 Update Json.NET to 9.0.1 2016-06-15 15:25:29 -07:00
jacalvar 2cf172c66e Update to Json.NET 9.0.1-beta1 2016-06-06 23:18:24 -07:00
Victor Hurdugaci 599a41b380 Improve test stability by disposing correctly 2016-06-03 10:04:38 -07:00
Victor Hurdugaci d7206dee8d Disable a test that hangs 2016-06-02 08:21:51 -07:00
Victor Hurdugaci 188bf58fe8 Remove netstandard.library 2016-06-01 14:52:22 -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 8ab32c44f7 Make RestartProcessThatTerminatesAfterFileChange more reliable 2016-05-26 11:55:43 -07:00
Victor Hurdugaci f154a9ee3e Revert "Disable `Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange`"
This reverts commit dc9feade5a.
2016-05-26 10:23:28 -07:00
Victor Hurdugaci 63bbafdb1d Simplify watcher arguments by passing everything to dotnet 2016-05-24 16:05:43 -07:00
Doug Bunting dc9feade5a Disable `Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange`
- test is not reliable (95% success rate)
- should be restored as part of #98
2016-05-23 11:53:35 -07:00
Doug Bunting cb86ca81b1 Revert "Remove `Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange`"
This reverts commit c68145f44f.
2016-05-20 14:20:38 -07:00
Doug Bunting c68145f44f Remove `Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange`
- test is not reliable (95% success rate)
- should be restored as part of #98
2016-05-20 14:18:56 -07:00
Pranav K 912971120f Update to preview1 version 2016-05-11 08:41:57 -07:00
Pranav K 63a9d64394 Fix build warnings 2016-05-02 11:27:09 -07:00
Victor Hurdugaci 21951d62f3 Fix command line parsing around the -- separator 2016-04-22 14:44:52 -07:00
Pranav K fa2ec5fdcd Use latest build of dotnet-test-xunit 2016-04-19 14:53:55 -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 cf465b2001 Fix tests on unix and make tests more reliable on all platforms 2016-04-13 16:08:10 -07:00
moozzyk e054eac3bd Fixing tests to use the package that was just built
Disabling parallel run to prevent random issues
Adding additional details that should help diagnose failures
2016-04-13 10:57:53 -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
Pranav K 0e69fc2b17 Reacting to CoreCLR package changes 2016-03-19 12:56:35 -07:00
Pranav K f75ce04c4c Reacting to CoreCLR package changes 2016-03-19 12:41:52 -07:00
Pranav K b5e2d43859 Retarget tests to netstandardapp 2016-03-19 12:10:40 -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
Pranav K bef340a2c3 Remove extra dependencies that produce NuGet warnings 2016-03-09 12:52:50 -08:00
Victor Hurdugaci 52244da9e8 Temporary disable the tests that hang while investigating 2016-03-04 10:11:01 -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
Victor Hurdugaci 59cb4fe65a dnx-watch -> dotnet-watch 2016-02-16 15:33:20 -08:00
Victor Hurdugaci f452597452 Add Microsoft.NETCore.Platforms to the projects that have to be built with dnu 2016-02-02 12:44:07 -08:00
Cesar Blum Silveira 74d89b2e32 Strong name everything. 2015-11-02 14:40:58 -08:00
Pavel Krymets 54af2c339f Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions 2015-10-26 13:22:55 -07:00
Victor Hurdugaci 3f40980d02 First version of dnx watch 2015-09-27 13:59:07 -07:00