mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-09 02:07:47 +00:00
* fix: replace ReadAllLines with ReadAllText in MigrationChecks.targets (fixes #1035) System.IO.File::ReadAllLines is not available as an MSBuild property function on all platforms (e.g. macOS GitHub Actions), causing MSB4185. ReadAllText is universally supported by MSBuild and sufficient for the regex check that detects 'electron' references in a root package.json (ELECTRON008). The intermediate ItemGroup for line accumulation is no longer needed. * test: strengthen migration checks test with exit code assertion and remove reserved MSBuildProjectDirectory override * test: locate MigrationChecks.targets via directory walk for path robustness * test: replace em-dashes with ASCII hyphens to avoid bidi/hidden Unicode warning * test: split build test into clean and electron-containing package.json scenarios