Skip to content

Replace Internal ZIP API with System.IO.Compression#2

Merged
AleksandrKorytovDevExpress merged 5 commits into25.1.3+from
Update-E2704-Code-Example
Apr 22, 2026
Merged

Replace Internal ZIP API with System.IO.Compression#2
AleksandrKorytovDevExpress merged 5 commits into25.1.3+from
Update-E2704-Code-Example

Conversation

@RobertRibayaDx
Copy link
Copy Markdown
Contributor

Updated ZipReportStorage.cs
Updated ZipReportStorage.vb
Used SaveLayoutToXml method instead of SaveLayout

Tested both projects. Works in v26.1.

@DevExpressExampleBot
Copy link
Copy Markdown
Contributor

Please correct the project and update this pull request by pushing a new commit.

[BUILDING ERROR]
	OUTPUT: C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(36,38): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(36,61): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(58,42): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(58,65): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(62,49): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(62,71): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(165,38): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(165,61): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]

https://codecentralfarm.devexpress.devx/job/reporting-winforms-custom-report-storage_25.1.3+/24/console

@AleksandrKorytovDevExpress
Copy link
Copy Markdown

@RobertRibayaDx please fix the error:

[BUILDING ERROR]
	OUTPUT: C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(36,38): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(36,61): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(58,42): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(58,65): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(62,49): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(62,71): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(165,38): error CS0246: The type or namespace name 'ZipArchive' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]
C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ZipReportStorage.cs(165,61): error CS0103: The name 'ZipArchiveMode' does not exist in the current context [C:\Temp\9f8aee84-c3f8-470c-a3ad-1cd4c4ed6a31\tempTestingCS\ReportStorageSample.csproj]

It occurs because csproj/vbproj files are outdated and do not reference System.IO.Compression assembly

@AleksandrKorytovDevExpress AleksandrKorytovDevExpress changed the title Update e2704 code example Replace Internal ZIP API with System.IO.Compression Apr 22, 2026
@AleksandrKorytovDevExpress AleksandrKorytovDevExpress merged commit 0661565 into 25.1.3+ Apr 22, 2026
@AleksandrKorytovDevExpress AleksandrKorytovDevExpress deleted the Update-E2704-Code-Example branch April 22, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants