Skip to content

Copilot/fix build error in application - #98

Merged
porrey merged 3 commits into
mainfrom
copilot/fix-build-error-in-application
Apr 20, 2026
Merged

Copilot/fix build error in application#98
porrey merged 3 commits into
mainfrom
copilot/fix-build-error-in-application

Conversation

@porrey

@porrey porrey commented Apr 20, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 20, 2026 02:45
@porrey
porrey merged commit dedd79b into main Apr 20, 2026
4 checks passed
@porrey
porrey deleted the copilot/fix-build-error-in-application branch April 20, 2026 02:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Virtual ZPL Printer solution/projects to resolve build configuration issues by standardizing the solution to x64-only builds and aligning project platform settings accordingly.

Changes:

  • Removed Any CPU solution/platform configurations and normalized solution metadata (VisualStudioVersion) to a standard format.
  • Updated all project files to declare only the x64 platform.
  • Updated test coverage tooling (coverlet.collector) and adjusted the setup project outputs to avoid problematic localized resource output entries.

Reviewed changes

Copilot reviewed 24 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Src/Virtual Printer Solution/ZPL Printer Solution.sln Normalizes VS version string and removes Any CPU solution/project configuration mappings.
Src/Virtual Printer Solution/VirtualPrinter/Virtual ZPL Printer.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Tests/VirtualPrinter.Tests.csproj Restricts platforms to x64 and updates coverlet.collector version.
Src/Virtual Printer Solution/VirtualPrinter.TemplateManager/VirtualPrinter.TemplateManager.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.TcpClient/VirtualPrinter.TestClient.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Repository.LabelParameters/VirtualPrinter.Repository.LabelParameters.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Repository.HostAddresses/VirtualPrinter.Repository.HostAddresses.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.PublishSubscribe/VirtualPrinter.PublishSubscribe.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.HostedService.TcpSystem/VirtualPrinter.HostedService.TcpSystem.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.HostedService.PrintSystem/VirtualPrinter.HostedService.PrintSystem.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Handler.Zpl/VirtualPrinter.Handler.Zpl.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Handler.Nop/VirtualPrinter.Handler.Nop.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Handler.HostStatus/VirtualPrinter.Handler.HostStatus.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Handler.Abstractions/VirtualPrinter.Handler.Abstractions.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.FontService/VirtualPrinter.FontService.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Db.Ef/VirtualPrinter.Db.Ef.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.Db.Abstractions/VirtualPrinter.Db.Abstractions.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter.ApplicationSettings/VirtualPrinter.ApplicationSettings.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/VirtualPrinter-Setup/VirtualPrinter-Setup.vdproj Removes a localized resource output entry that could interfere with setup project builds.
Src/Virtual Printer Solution/Labelary.Service/Labelary.Service.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/Labelary.Abstractions/Labelary.Abstractions.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/Labelary Example/Labelary Example.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/ImageCache.Repository/ImageCache.Repository.csproj Restricts declared project platforms to x64.
Src/Virtual Printer Solution/ImageCache.Abstractions/ImageCache.Abstractions.csproj Restricts declared project platforms to x64.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 16 to 20
<SignAssembly>False</SignAssembly>
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
<UICulture>en-US</UICulture>
<Platforms>AnyCPU;x64</Platforms>
<Platforms>x64</Platforms>
</PropertyGroup>

Copilot AI Apr 20, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The platform restriction is being repeated across many project files. To reduce duplication and the risk of future projects drifting (e.g., someone adds a new project and forgets to set Platforms), consider moving the <Platforms>x64</Platforms> setting to Directory.Build.props (or a shared Directory.Build.targets) and removing it from individual .csproj files unless a project truly needs a different platform list.

Copilot uses AI. Check for mistakes.
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