Skip to content

fix: resolve Visual Studio 2025/18 build issues and circular dependencies - #201

Merged
davecramer merged 2 commits into
postgresql-interfaces:mainfrom
JorgeGBeltre:vs2025-build-fixes
Aug 27, 2026
Merged

fix: resolve Visual Studio 2025/18 build issues and circular dependencies#201
davecramer merged 2 commits into
postgresql-interfaces:mainfrom
JorgeGBeltre:vs2025-build-fixes

Conversation

@JorgeGBeltre

Copy link
Copy Markdown
Contributor

This includes:

  • Upgrading Platform Toolset targets to v145
  • Fixing a typo in the pre-build event library generation (DTCLDLL -> DTCDLL)
  • Fixing early evaluation of srcPath in project files
  • Adding missing transaction management exports (GetTransactionObject and ReleaseTransactionObject) to def files to fix circular build dependencies
  • Resolving compiler errors in psqlsetup.c when PG_BIN is undefined
  • Enhancing MSProgram-Get.psm1 to detect Visual Studio 18 and search VC18 dumpbin.exe

@JorgeGBeltre JorgeGBeltre left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@davecramer

Copy link
Copy Markdown
Contributor

There's no ARM64 configuration in the new .sln, even though the vcxproj files (and CI) now support ARM64. Minor inconsistency — the IDE solution won't expose ARM64 builds that the command-line build can do. Would it be possible to add one ?

@JorgeGBeltre

Copy link
Copy Markdown
Contributor Author

fix: resolve Visual Studio 2025 (v145) build errors and circular dependencies

…cies

This includes:
- Upgrading Platform Toolset targets to v145
- Fixing a typo in the pre-build event library generation (DTCLDLL -> DTCDLL)
- Fixing early evaluation of srcPath in project files
- Adding missing transaction management exports (GetTransactionObject and ReleaseTransactionObject) to def files to fix circular build dependencies
- Resolving compiler errors in psqlsetup.c when PG_BIN is undefined
- Enhancing MSProgram-Get.psm1 to detect Visual Studio 18 and search VC18 dumpbin.exe
@davecramer
davecramer merged commit 82f041e into postgresql-interfaces:main Aug 27, 2026
8 checks passed
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.

2 participants