47 references to Copy
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (2)
73File.Copy(srcNuGetConfigPath, targetNuGetConfigPath); 151File.Copy(Path.Combine(BuildEnvironment.TestAssetsPath, "EndPointWriterHook_cs"), Path.Combine(project.AppHostProjectDirectory, "EndPointWriterHook.cs"));
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
170File.Copy(file.SourcePath, sourcePath);
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (2)
73File.Copy(srcNuGetConfigPath, targetNuGetConfigPath); 151File.Copy(Path.Combine(BuildEnvironment.TestAssetsPath, "EndPointWriterHook_cs"), Path.Combine(project.AppHostProjectDirectory, "EndPointWriterHook.cs"));
dotnet-svcutil-lib.Tests (6)
E2ETests.cs (1)
374File.Copy(f, Path.Combine(this_TestCaseProject.DirectoryPath, Path.GetFileName(f)));
ProjectUtils.cs (1)
181File.Copy(srcParamsFile, dstParamsFile);
TestInit.cs (2)
115File.Copy(project.FullPath, projectPath); 116File.Copy(srcProgramPath, programPath);
UnitTest.cs (2)
225File.Copy(Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"), Path.Combine(this_TestGroupOutputDir, "wsdl", "Simple.wsdl")); 331File.Copy(jsonFileSrcPath, jsonFileDstPath);
HelixTestRunner (3)
TestRunner.cs (3)
64File.Copy("default.runner.json", "xunit.runner.json"); 317File.Copy(file, Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, logName)); 331File.Copy(file, Path.Combine(HELIX_WORKITEM_UPLOAD_ROOT, fileName));
Microsoft.AspNetCore.DataProtection (1)
Repositories\FileSystemXmlRepository.cs (1)
170File.Copy(tempFilename, finalFilename);
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
GenerateAdditionalXmlFilesForOpenApiTests.cs (1)
80File.Copy(sourceTargetsPath, targetTargetsPath);
Microsoft.Build.BuildCheck.UnitTests (2)
EndToEndTests.cs (2)
165File.Copy( 948File.Copy(nugetTemplatePath, Path.Combine(workFolder.Path, nugetTemplateName));
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
2790File.Copy(file, Path.Combine(dest, Path.GetFileName(file)));
Microsoft.Build.Engine.UnitTests (5)
TypeLoader_Dependencies_Tests.cs (2)
78File.Copy(originalTaskDllPath, newTaskDllPath); 79File.Copy(originalDependencyDllPath, newDependencyDllPath);
TypeLoader_Tests.cs (3)
109File.Copy(utilities, Path.Combine(folder.Path, utilitiesName)); 110File.Copy(currentAssembly, newAssemblyLocation); 180File.Copy(originalDllPath, newDllPath);
Microsoft.Build.Tasks.UnitTests (4)
AddToWin32Manifest_Tests.cs (1)
109File.Copy(Path.Combine(TestAssetsRootPath, manifestName), Path.Combine(projectFolder.Path, manifestName));
PortableTasks_Tests.cs (1)
59File.Copy(file.FullName, Path.Combine(folder, file.Name));
ResolveAssemblyReference_CustomCultureTests.cs (1)
86File.Copy(sourcePath, Path.Combine(destinationFolder, fileName));
ResourceHandling\GenerateResource_Tests.cs (1)
4143File.Copy(pathToSystemDLL, tempSystemDLL);
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
239File.Copy(originalPath, shadowCopyPath);
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\ArtifactUploadUtil.cs (2)
85File.Copy(filePath, Path.Combine(uploadDir, fileName)); 105File.Copy(filePath, destFilePath);
TempFiles\TempDirectory.cs (1)
81File.Copy(originalPath, filePath);
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
239File.Copy(originalPath, shadowCopyPath);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
NewlyCreatedProjectsFromDotNetNew.cs (1)
208File.Copy(s_globalJsonPath, tempGlobalJsonPath);
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Utilities\TestApp.cs (1)
114File.Copy(srcFileName, destFileName);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
780File.Copy(looseFile, looseFileStagePath.FullName);
Microsoft.DotNet.NuGetRepack.Tasks (2)
src\NuGetVersionUpdater.cs (1)
117File.Copy(packagePath, tempPathOpt);
src\ReplacePackageParts.cs (1)
126File.Copy(SourcePackage, tempPackagePath);
Microsoft.DotNet.RemoteExecutor (1)
RemoteExecutor.cs (1)
535File.Copy(RuntimeConfigPath, configFile);
Microsoft.DotNet.SignTool.Tests (1)
SignToolTests.cs (1)
296File.Copy(srcPath, dstPath);
Microsoft.Extensions.AI.Templates.Tests (2)
Infrastructure\TemplateExecutionTestClassFixtureBase.cs (2)
56File.Copy(WellKnownPaths.TemplateInstallNuGetConfigPath, installNuGetConfigPath); 88File.Copy(WellKnownPaths.TemplateTestNuGetConfigPath, templateNuGetConfigPath);
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
160File.Copy(serverExePath, tempRedisServerFullPath);
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
421File.Copy(f, Path.Combine(archivePath, Path.GetFileName(f)));
RunTests (2)
HelixTestRunner.cs (2)
103File.Copy(helixFilePath, Path.Combine(logsDir, "helix.proj")); 480File.Copy(filePath, destinationPath);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
152File.Copy(dragAcceptRtfSourcePath, dragAcceptRtfDestPath);