Skip to content

Refactor split projects - #6

Merged
drmoisan merged 9 commits into
Developmentfrom
refactor_split_projects
Mar 9, 2023
Merged

Refactor split projects#6
drmoisan merged 9 commits into
Developmentfrom
refactor_split_projects

Conversation

@drmoisan

@drmoisan drmoisan commented Mar 9, 2023

Copy link
Copy Markdown
Owner

Refactored all code to split functionality into distinct projects. Also removed ObjectListView code and connected a reference due to bugs in the migration of dot.net target framework

@drmoisan
drmoisan merged commit 49631f4 into Development Mar 9, 2023
drmoisan added a commit that referenced this pull request Mar 11, 2026
…same process

Root cause of CI #6 failure:
Out-File in PowerShell uses UTF-16 encoding by default. GitHub Actions reads
GITHUB_ENV as UTF-8, so CI_CERT_THUMBPRINT was never parsed correctly. MSBuild
received an empty thumbprint, triggering the 'cannot find certificate' error.

Fix:
- Directory.Build.targets: scope SetTaskMasterManifestCert to non-CI builds
  (added 'and $(CI) != 	rue' to the Target condition). A target-scoped
  PropertyGroup runs at execution time and would override a command-line
  /p:ManifestCertificateThumbprint value, so the target must not run in CI.
  Developer builds are unchanged.

- ci.yml: remove the standalone cert-gen step that relied on GITHUB_ENV.
  Instead, create the ephemeral self-signed certificate and invoke MSBuild in
  the same PowerShell process for both build steps. The thumbprint stays in
  a local variable with no inter-step transfer, eliminating the encoding
  issue entirely. The nullable build step looks up the cert by subject so it
  does not need to create a second certificate.
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.

1 participant