Skip to content

Conversation

@softworkz
Copy link
Collaborator

Closes #946

Copilot AI review requested due to automatic review settings December 7, 2025 14:13
Copy link

Copilot AI left a comment

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 adds automatic build-time migration validation checks to help users migrating from previous versions of Electron.NET avoid common configuration issues. The checks detect deprecated files and incorrect configurations, providing helpful guidance through MSBuild warnings.

Key Changes

  • Implements 5 migration check targets that validate project configuration (package.json location, manifest files, electron-builder.json placement, parent path references, and publish profiles)
  • Integrates migration checks into the build process via MSBuild targets
  • Adds comprehensive documentation explaining each check and how to resolve issues

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
src/ElectronNET/build/ElectronNET.MigrationChecks.targets New MSBuild targets file implementing 5 validation checks (ELECTRON001-006) that run before build to detect migration issues
src/ElectronNET/build/ElectronNET.Core.targets Imports the migration checks targets file to enable automatic validation
docs/Core/Migration-Checks.md New comprehensive documentation page explaining each migration check, why it matters, and how to fix detected issues
docs/_Sidebar.md Adds link to Migration Checks documentation in the sidebar navigation

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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


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

Copy link
Collaborator

@FlorianRappl FlorianRappl left a comment

Choose a reason for hiding this comment

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

LGTM - thanks!

@FlorianRappl FlorianRappl merged commit 2c82206 into ElectronNET:develop Dec 7, 2025
23 checks passed
@FlorianRappl FlorianRappl added this to the 0.3.0 milestone Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants