dotnet-installer/test/Microsoft.DotNet.Configurer.UnitTests
Peter Huene 19090744cb
Fix failure to add tools path on restricted Windows environments.
On environments where registry access is disabled, the first run experience
fails because it could not add the tools path to the user's environment.

This fix properly handles the security exception by printing a warning and
continuing.  Users will have to manually add the PATH environment variable to
their environments to prevent `dotnet tool install` from printing PATH
instructions.

A new file sentinel is added to track whether or not the PATH has been
modified.  The first run experience also now correctly skips modifying the PATH
if `DOTNET_SKIP_FIRST_TIME_EXPERIENCE` is set.

Fixes #8874.
2018-04-03 16:27:01 -07:00
..
GivenADotnetFirstTimeUseConfigurer.cs Fix failure to add tools path on restricted Windows environments. 2018-04-03 16:27:01 -07:00
GivenAFirstTimeUseNoticeSentinel.cs Implement buildserver shutdown command. 2018-03-30 15:13:52 -07:00
GivenAFunctionReturnStringAndFakeFileSystem.cs Implement buildserver shutdown command. 2018-03-30 15:13:52 -07:00
GivenANuGetCachePrimer.cs Tools shim maker and env path handling (#8085) 2017-11-27 10:45:43 -08:00
GivenANuGetCacheSentinel.cs Implement buildserver shutdown command. 2018-03-30 15:13:52 -07:00
GivenAPathCalculator.cs Separate tool package and shim file location 2018-01-22 16:30:52 -08:00
Microsoft.DotNet.Configurer.UnitTests.csproj Merge remote-tracking branch 'dotnet/release/15.5' into merges/release/15.5-to-master-20171206-080040 2017-12-07 09:55:12 -08:00