7 references to AlwaysOverwriteReadOnlyFilesEnvVar
Microsoft.Build.Tasks.Core (1)
Copy.cs (1)
419
if (Environment.GetEnvironmentVariable(
AlwaysOverwriteReadOnlyFilesEnvVar
) != null)
Microsoft.Build.Tasks.UnitTests (6)
Copy_Tests.cs (6)
110
_alwaysOverwriteReadOnlyFiles = Environment.GetEnvironmentVariable(Copy.
AlwaysOverwriteReadOnlyFilesEnvVar
);
113
Environment.SetEnvironmentVariable(Copy.
AlwaysOverwriteReadOnlyFilesEnvVar
, null);
124
Environment.SetEnvironmentVariable(Copy.
AlwaysOverwriteReadOnlyFilesEnvVar
, _alwaysOverwriteReadOnlyFiles);
761
string oldAlwaysOverwriteValue = Environment.GetEnvironmentVariable(Copy.
AlwaysOverwriteReadOnlyFilesEnvVar
);
765
Environment.SetEnvironmentVariable(Copy.
AlwaysOverwriteReadOnlyFilesEnvVar
, "1 ");
809
Environment.SetEnvironmentVariable(Copy.
AlwaysOverwriteReadOnlyFilesEnvVar
, oldAlwaysOverwriteValue);