36 references to CreateEntry
aspire (5)
src\Shared\Export\ExportArchive.cs (5)
83
var entry = archive.
CreateEntry
($"resources/{SanitizeFileName(name)}.json");
91
var entry = archive.
CreateEntry
($"consolelogs/{SanitizeFileName(name)}.txt");
103
var entry = archive.
CreateEntry
($"structuredlogs/{SanitizeFileName(name)}.json");
111
var entry = archive.
CreateEntry
($"traces/{SanitizeFileName(name)}.json");
119
var entry = archive.
CreateEntry
($"metrics/{SanitizeFileName(name)}.json");
Aspire.Cli.Tests (2)
Agents\AspireSkillsBundleTests.cs (1)
612
var entry = archive.
CreateEntry
("bundle/references/file:stream.md");
Packaging\PackageChannelTests.cs (1)
1025
var entry = archive.
CreateEntry
($"{packageId}.nuspec");
Aspire.Dashboard (5)
src\Shared\Export\ExportArchive.cs (5)
83
var entry = archive.
CreateEntry
($"resources/{SanitizeFileName(name)}.json");
91
var entry = archive.
CreateEntry
($"consolelogs/{SanitizeFileName(name)}.txt");
103
var entry = archive.
CreateEntry
($"structuredlogs/{SanitizeFileName(name)}.json");
111
var entry = archive.
CreateEntry
($"traces/{SanitizeFileName(name)}.json");
119
var entry = archive.
CreateEntry
($"metrics/{SanitizeFileName(name)}.json");
Aspire.Dashboard.Tests (4)
Model\TelemetryImportServiceTests.cs (4)
157
var logsEntry = archive.
CreateEntry
("logs.json");
164
var tracesEntry = archive.
CreateEntry
("traces.json");
200
var txtEntry = archive.
CreateEntry
("console.txt");
207
var logsEntry = archive.
CreateEntry
("logs.json");
Aspire.Hosting.Java.Tests (1)
AddJavaAppTests.cs (1)
1529
using var writer = new StreamWriter(archive.
CreateEntry
("META-INF/MANIFEST.MF").Open());
Aspire.Hosting.RemoteHost.Tests (2)
ManifestCommandTests.cs (1)
258
var entry = archive.
CreateEntry
(entryName);
RestoreCommandTests.cs (1)
115
var entry = archive.
CreateEntry
(path);
crossgen2 (3)
parent\parent\Common\CommandLineHelpers.cs (3)
224
ZipArchiveEntry commandEntry = archive.
CreateEntry
("command.txt");
319
ZipArchiveEntry rspEntry = archive.
CreateEntry
("repro.rsp");
341
archive.
CreateEntry
(reproFileDir); // for outputs just create output directory
ilc (3)
parent\parent\Common\CommandLineHelpers.cs (3)
224
ZipArchiveEntry commandEntry = archive.
CreateEntry
("command.txt");
319
ZipArchiveEntry rspEntry = archive.
CreateEntry
("repro.rsp");
341
archive.
CreateEntry
(reproFileDir); // for outputs just create output directory
Infrastructure.Tests (1)
PowerShellScripts\DownloadNativeArchivesTests.cs (1)
478
var entry = archive.
CreateEntry
(path);
Microsoft.Arcade.Common (1)
ZipArchiveManager.cs (1)
55
ZipArchiveEntry entry = archive.
CreateEntry
(targetFilename);
Microsoft.Build (1)
Logging\BinaryLogger\ProjectImportsCollector.cs (1)
242
var archiveEntry = _zipArchive!.
CreateEntry
(archivePath);
Microsoft.ML.Core (1)
Data\Repository.cs (1)
400
var ae = _archive.
CreateEntry
(kvp.Key);
NuGet.Packaging (1)
PackageFileExtractor.cs (1)
112
var entry = zipArchive.
CreateEntry
(Path.GetFileName(source));
System.IO.Compression.ZipFile (4)
System\IO\Compression\ZipFile.Create.Async.cs (1)
545
archive.
CreateEntry
(entryName);
System\IO\Compression\ZipFile.Create.cs (2)
493
archive.
CreateEntry
(entryName);
577
archive.
CreateEntry
(ArchivingUtils.EntryFromPath(di.Name, appendPathSeparator: true));
System\IO\Compression\ZipFileExtensions.ZipArchive.Create.cs (1)
177
: destination.
CreateEntry
(entryName);
System.IO.Packaging (2)
System\IO\Packaging\ZipPackage.cs (1)
905
_contentTypeZipArchiveEntry = _zipArchive.
CreateEntry
(ContentTypesFile);
System\IO\Packaging\ZipPackagePartPiece.cs (1)
146
ZipArchiveEntry newPieceEntry = zipArchive.
CreateEntry
(newPieceFileName);