dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities
Peter Huene 1ade191cb6
Implement Razor server discovery by pid file.
Previously, Razor server discovery for the `build-server shutdown` command was
implemented by invoking MSBuild on a project file in the current directory to
evaluate the path to the Razor server dll.  This was problematic since it would
only discover a single running Razor server instance and required that the user
run the `build-server shutdown` command from a specific location.

Razor's server now writes a "pid file" to a well-known location
(`~/.dotnet/pids/build`) which the command can now enumerate to discover, and
shutdown, the running Razor servers.

This commit changes the Razor server discovery to use the pid files and removes
the requirement that users need to run the command in specific directories to
work.

Fixes #9084.
2018-04-20 10:49:31 -07:00
..
Assertions Make --no-build imply --no-restore for pack command. 2017-11-27 23:53:22 -08:00
Commands Replacing the short form version of implicit msbuild parameters with longform ones. 2018-04-02 22:54:51 -07:00
Extensions Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Mock Implement Razor server discovery by pid file. 2018-04-20 10:49:31 -07:00
NetworkUtils Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Properties Use rich mock to test InstallCommand (#8402) 2018-01-24 10:16:27 -08:00
TempFileSystem Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
BufferedReporter.cs Add verbosity option to install tool command. 2018-01-31 15:19:34 -08:00
DotnetLegacyRuntimeIdentifiers.cs Trailing newlines + standardize tabs -> spaces 2017-03-02 20:35:20 -08:00
DotnetUnderTest.cs Made dotnet-(vs)test.Tests pass on localized setup 2017-06-12 18:32:31 -07:00
EnvironmentInfo.cs Enable Alpine 3.6 CLI build 2017-12-13 12:10:44 +01:00
LinuxOnlyFactAttribute.cs merge master 2017-03-19 17:09:05 -07:00
MacOsOnlyFactAttribute.cs merge master 2017-03-19 17:09:05 -07:00
Microsoft.DotNet.Tools.Tests.Utilities.csproj Move some projects to netstandard2.0 (#8692) 2018-02-27 13:59:59 -08:00
NonWindowsOnlyFactAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
NonWindowsOnlyTheoryAttribute.cs add EOLs in the end of files 2017-02-16 14:22:02 -08:00
NuGetConfig.cs Global tools package obtain (#8035) 2017-11-21 20:10:06 -08:00
NuGetFrameworks.cs Update tool tests to target netcoreapp2.1 2017-08-18 18:07:14 -07:00
PeReaderUtils.cs typo 2017-08-14 21:26:49 -07:00
ProjectUtils.cs Address PR Feedback 2016-02-12 16:57:32 -08:00
RepoDirectoriesProvider.cs Apphost shim (#8893) 2018-04-02 12:37:25 -07:00
RequiresSpecificFrameworkFactAttribute.cs Fix tests on netcoreapp1.1 only platforms 2017-02-22 21:34:21 -06:00
RequiresSpecificFrameworkTheoryAttribute.cs Apply code review feedback 2017-04-27 09:30:40 -07:00
TestBase.cs Use a shorter path for test working directories, get rid of Stage 0 project.json based CLI 2017-08-29 17:59:34 -07:00
UnixOnlyFactAttribute.cs Log Windows product type and installation type, and Linux libc version (#8688) 2018-02-27 18:55:35 -08:00
WindowsOnlyFactAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00
WindowsOnlyTheoryAttribute.cs add tests for checking filename, working dir and validation of presence of environmental variables 2017-02-16 14:22:02 -08:00