1 write to _tmpDir
Microsoft.DotNet.SignTool.Tests (1)
SignToolTests.cs (1)
247
_tmpDir
= Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
96 references to _tmpDir
Microsoft.DotNet.SignTool.Tests (96)
SignToolTests.cs (96)
248
Directory.CreateDirectory(
_tmpDir
);
263
var dstDir =
_tmpDir
;
283
var dstPath = Path.Combine(
_tmpDir
, name);
294
Directory.Delete(
_tmpDir
, recursive: true);
317
var signToolArgs = new SignToolArgs(
_tmpDir
, microBuildCorePath: "MicroBuildCorePath", testSign: true, msBuildPath: null,
_tmpDir
, enclosingDir: "", "", wixToolsPath: wixToolsPath, tarToolPath: s_tarToolPath);
366
var signingInput = new Configuration(
_tmpDir
, itemsToSign, strongNameSignInfo, fileSignInfo, extensionsSignInfo, dualCertificates, tarToolPath: s_tarToolPath, task.Log).GenerateListOfFiles();
384
var signingInput = new Configuration(
_tmpDir
, itemsToSign, strongNameSignInfo, fileSignInfo, s_fileExtensionSignInfo, null, tarToolPath: s_tarToolPath, task.Log).GenerateListOfFiles();
533
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, fileToTest))}"">
575
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "3", "lib/net461/ProjectOne.dll")}' with Microsoft certificate 'OverriddenCertificate'. The library is considered 3rd party library due to its copyright: ''.",
576
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "5", "lib/netcoreapp2.0/ProjectOne.dll")}' with Microsoft certificate 'OverriddenCertificate'. The library is considered 3rd party library due to its copyright: ''.",
577
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "6", "lib/netcoreapp2.1/ProjectOne.dll")}' with Microsoft certificate 'OverriddenCertificate'. The library is considered 3rd party library due to its copyright: ''.",
578
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "7", "lib/netstandard2.0/ProjectOne.dll")}' with Microsoft certificate 'OverriddenCertificate'. The library is considered 3rd party library due to its copyright: ''."
621
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "4", "lib/netcoreapp2.0/ContainerOne.dll")}' with Microsoft certificate 'ArcadeCertTest'. The library is considered 3rd party library due to its copyright: ''."
689
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "CoreLibCrossARM.dll"))}"">
692
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "AspNetCoreCrossLib.dll"))}"">
769
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "EmptyPKT.dll")}' with Microsoft certificate 'Microsoft400'. The library is considered 3rd party library due to its copyright: ''."
814
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "4", "ABCDEFG/MsiSetup.msi"))}"">
817
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "engines\\0\\MsiBootstrapper.exe-engine.exe"))}"">
820
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "4", "MsiBootstrapper.exe"))}"">
823
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "PackageWithWix.nupkg"))}"">
872
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "lib/native/NativeLibrary.dll"))}"">
875
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "3", "lib/net461/ProjectOne.dll"))}"">
879
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "4", "lib/netcoreapp2.0/ContainerTwo.dll"))}"">
883
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "5", "lib/netcoreapp2.0/ProjectOne.dll"))}"">
887
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "6", "lib/netcoreapp2.1/ProjectOne.dll"))}"">
891
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "7", "lib/netstandard2.0/ProjectOne.dll"))}"">
895
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "9", "lib/netcoreapp2.0/ContainerOne.dll"))}"">
901
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "8", "ContainerOne.1.0.0.nupkg"))}"">
958
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "lib/native/NativeLibrary.dll"))}"">
961
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "3", "lib/net461/ProjectOne.dll"))}"">
965
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "4", "lib/netcoreapp2.0/ContainerTwo.dll"))}"">
969
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "5", "lib/netcoreapp2.0/ProjectOne.dll"))}"">
973
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "6", "lib/netcoreapp2.1/ProjectOne.dll"))}"">
977
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "7", "lib/netstandard2.0/ProjectOne.dll"))}"">
981
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "9", "lib/netcoreapp2.0/ContainerOne.dll"))}"">
987
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "8", "ContainerOne.1.0.0.nupkg"))}"">
1034
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "0", "NativeLibrary.dll"))}"">
1037
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "1", "SOS.NETCore.dll"))}"">
1040
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.NativeLibrary.dll"))}"">
1043
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "3", "this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.SOS.NETCore.dll"))}"">
1086
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "0", "test/NativeLibrary.dll"))}"">
1089
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "1", "test/SOS.NETCore.dll"))}"">
1092
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "test/this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.NativeLibrary.dll"))}"">
1095
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "3", "test/this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.SOS.NETCore.dll"))}"">
1138
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "0", "NativeLibrary.dll"))}"">
1141
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "1", "SOS.NETCore.dll"))}"">
1144
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.NativeLibrary.dll"))}"">
1147
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "3", "this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.SOS.NETCore.dll"))}"">
1191
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "0", "NativeLibrary.dll"))}"">
1194
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "1", "SOS.NETCore.dll"))}"">
1197
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.NativeLibrary.dll"))}"">
1200
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "3", "this_is_a_big_folder_name_look/this_is_an_even_more_longer_folder_name/but_this_one_is_ever_longer_than_the_previous_other_two/Nested.SOS.NETCore.dll"))}"">
1307
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "0", "ABCDEFG/MsiSetup.msi"))}"">
1310
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "engines", "0", "MsiBootstrapper.exe-engine.exe"))}"">
1313
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "MsiBootstrapper.exe"))}"">
1355
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "0", "ABCDEFG/MsiApplication.exe"))}"">
1358
$@"<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "MsiSetup.msi"))}"">
1421
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "1", "VisualStudio.Mac.Banana.dll"))}"">
1463
$"{Path.Combine(
_tmpDir
, "ContainerSigning", "6", "PackageWithRelationships.vsix")} -> {Path.Combine(
_tmpDir
, "PackageWithRelationships.vsix")}"
1469
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "1", "lib/net461/ProjectOne.dll"))}"">
1473
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "lib/netstandard2.0/ProjectOne.dll"))}"">
1477
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "8", "Contents/Common7/IDE/PrivateAssemblies/ProjectOne.dll"))}"">
1483
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "6", "PackageWithRelationships.vsix"))}"">
1488
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "test.vsix"))}"">
1530
$"{Path.Combine(
_tmpDir
, "ContainerSigning", "4", "PackageWithRelationships.vsix")} -> {Path.Combine(
_tmpDir
, "PackageWithRelationships.vsix")}"
1536
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "6", "Contents/Common7/IDE/PrivateAssemblies/ProjectOne.dll"))}"">
1540
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "10", "Team%20Tools/Dynamic Code Coverage/net461/ProjectOne.dll"))}"">
1544
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "11", "Team%20Tools/Dynamic Code Coverage/netstandard2.0/ProjectOne.dll"))}"">
1550
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "4", "PackageWithRelationships.vsix"))}"">
1555
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "TestSpaces.vsix"))}"">
1593
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "Contents/Common7/IDE/PrivateAssemblies/ProjectOne.dll"))}"">
1597
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "7", "lib/net461/ProjectOne.dll"))}"">
1601
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "8", "lib/netstandard2.0/ProjectOne.dll"))}"">
1607
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "PackageWithRelationships.vsix"))}"">
1612
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "test.vsix"))}"">
1658
$"{Path.Combine(
_tmpDir
, "A", "PackageWithRelationships.vsix")} -> {Path.Combine(
_tmpDir
, "B", "PackageWithRelationships.vsix")}"
1664
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "Contents/Common7/IDE/PrivateAssemblies/ProjectOne.dll"))}"">
1668
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "7", "lib/net461/ProjectOne.dll"))}"">
1672
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "8", "lib/netstandard2.0/ProjectOne.dll"))}"">
1678
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "A", "PackageWithRelationships.vsix"))}"">
1683
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "test.vsix"))}"">
1717
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "ContainerSigning", "2", "Contents/Common7/IDE/PrivateAssemblies/ProjectOne.dll"))}"">
1723
<FilesToSign Include=""{Uri.EscapeDataString(Path.Combine(
_tmpDir
, "PackageWithRelationships.vsix"))}"">
1871
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "0", "Simple1.exe")}' with Microsoft certificate 'Microsoft400'. The library is considered 3rd party library due to its copyright: ''.",
1872
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "1", "Simple2.exe")}' with Microsoft certificate 'Microsoft400'. The library is considered 3rd party library due to its copyright: ''."
2189
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "EmptyPKT.dll")}' with Microsoft certificate 'DLLCertificate'. The library is considered 3rd party library due to its copyright: ''.",
2190
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "9", "lib/net461/ProjectOne.dll")}' with Microsoft certificate 'DLLCertificate3'. The library is considered 3rd party library due to its copyright: ''.",
2191
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "10", "lib/netstandard2.0/ProjectOne.dll")}' with Microsoft certificate 'DLLCertificate4'. The library is considered 3rd party library due to its copyright: ''.",
2192
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "16", "Contents/Common7/IDE/PrivateAssemblies/ProjectOne.dll")}' with Microsoft certificate 'DLLCertificate5'. The library is considered 3rd party library due to its copyright: ''.",
2193
$@"SIGN004: Signing 3rd party library '{Path.Combine(
_tmpDir
, "ContainerSigning", "23", "Simple.dll")}' with Microsoft certificate 'DLLCertificate2'. The library is considered 3rd party library due to its copyright: ''."
2220
new Configuration(
_tmpDir
,
2256
new Configuration(
_tmpDir
,