43 references to Copy
Aspire.Cli.EndToEnd.Tests (2)
Helpers\TestDirectoryHelpers.cs (1)
23File.Copy(file, Path.Combine(destination, Path.GetFileName(file)));
JavaScriptPublishTests.cs (1)
330File.Copy(file, Path.Combine(workspace.WorkspaceRoot.FullName, Path.GetFileName(file)));
Aspire.Cli.Tests (2)
Npm\AspireJsLauncherTests.cs (2)
252File.Copy(realLauncherPath, launcherScript); 292File.Copy(GetNodeExecutablePath(), binaryPath);
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (2)
73File.Copy(srcNuGetConfigPath, targetNuGetConfigPath); 153File.Copy(Path.Combine(BuildEnvironment.TestAssetsPath, "EndPointWriterHook_cs"), Path.Combine(project.AppHostProjectDirectory, "EndPointWriterHook.cs"));
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
198File.Copy(file.SourcePath, sourcePath);
Aspire.Hosting.Java.Tests (4)
AddJavaAppPublishTests.cs (4)
1187File.Copy( 1190File.Copy( 1294File.Copy( 1297File.Copy(
Aspire.Hosting.RemoteHost.Tests (1)
CodeGeneration\ApiReferenceExportTests.cs (1)
289File.Copy(assemblyPath, destinationPath);
Aspire.Hosting.Tests (1)
MSBuildTests.cs (1)
786File.Copy(Path.Combine(Environment.SystemDirectory, "where.exe"), dnxPath);
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (2)
73File.Copy(srcNuGetConfigPath, targetNuGetConfigPath); 153File.Copy(Path.Combine(BuildEnvironment.TestAssetsPath, "EndPointWriterHook_cs"), Path.Combine(project.AppHostProjectDirectory, "EndPointWriterHook.cs"));
dotnet (1)
Commands\Project\Convert\ProjectConvertCommand.cs (1)
223File.Copy(source, target);
dotnet-svcutil-lib.Tests (7)
E2ETests.cs (1)
374File.Copy(f, Path.Combine(this_TestCaseProject.DirectoryPath, Path.GetFileName(f)));
ProjectUtils.cs (1)
181File.Copy(srcParamsFile, dstParamsFile);
TestInit.cs (3)
115File.Copy(project.FullPath, projectPath); 116File.Copy(srcProgramPath, programPath); 430File.Copy(generated, expected);
UnitTest.cs (2)
225File.Copy(Path.Combine(g_TestCasesDir, "wsdl", "Simple.wsdl"), Path.Combine(this_TestGroupOutputDir, "wsdl", "Simple.wsdl")); 331File.Copy(jsonFileSrcPath, jsonFileDstPath);
Infrastructure.Tests (1)
Pipelines\NpmCliPackageTests.cs (1)
512File.Copy(
Microsoft.AspNetCore.DataProtection (1)
Repositories\FileSystemXmlRepository.cs (1)
170File.Copy(tempFilename, finalFilename);
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (3)
407File.Copy(originalPath, shadowCopyPath); 411File.Copy(originalPath, shadowCopyPath); 419File.Copy(originalPath, shadowCopyPath);
Microsoft.CodeAnalysis.Workspaces (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (3)
407File.Copy(originalPath, shadowCopyPath); 411File.Copy(originalPath, shadowCopyPath); 419File.Copy(originalPath, shadowCopyPath);
Microsoft.DotNet.InternalAbstractions (1)
FileWrapper.cs (1)
53File.Copy(sourceFileName, destFileName);
Microsoft.DotNet.NuGetRepack.Tasks (2)
src\NuGetVersionUpdater.cs (1)
117File.Copy(packagePath, tempPathOpt);
src\ReplacePackageParts.cs (1)
113File.Copy(SourcePackage, tempPackagePath);
Microsoft.ML.Tests (2)
DatabaseLoaderTests.cs (2)
364File.Copy(Path.Combine(sourceDirectory, $"{databaseName}.mdf"), databaseFile); 368File.Copy(Path.Combine(sourceDirectory, $"{databaseName}_log.ldf"), logFile);
Microsoft.ML.Vision (1)
DnnRetrainTransform.cs (1)
420File.Copy(f, Path.Combine(archivePath, Path.GetFileName(f)));
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\TransformAppSettings.cs (1)
85File.Copy(sourceAppSettingsFilePath, destinationAppSettingsFilePath);
Microsoft.TestPlatform.CoreUtilities (1)
Helpers\FileHelper.cs (1)
75=> File.Copy(sourcePath, destinationPath);
RepoTasks (1)
BatchHelixWorkItems.cs (1)
120File.Copy(file, destPath);
rzc (1)
ShadowCopyManager.cs (1)
95File.Copy(originalPath, shadowCopyPath);
sdk-tasks (1)
CopyPreservingRelativeSymlinks.cs (1)
124File.Copy(sourcePath, destPath);
System.Formats.Tar (1)
System\Formats\Tar\TarEntry.cs (1)
600File.Copy(linkTargetPath, filePath);