Visual Studio: 'Value cannot be null. Parameter name: obj' when opening or building a .vcproj project

Aaron Chen 0 Reputation points
2024-10-24T14:30:03.1766667+00:00

I'm trying to build a legacy project (dbgen) from the TPC-H tools suite using Visual Studio 2022 from my assignmentInstallation guide from my assignment, but I keep running into an error: "Value cannot be null. Parameter name: obj". error image

I'm working with a .vcproj project file (from TPC-H Tools v3.0.1) that I downloaded from the TPC website.

I recently installed Visual Studio 2022 Community Edition, and have "Desktop development with C++" installed.

1.Started by clicking on Open a project or solution

2.Navigated to TPC-H V3.0.1\dbgen and opened tpch.vcproj

Has anyone faced a similar "Value cannot be null" error when working with older .vcproj files in Visual Studio 2022?

Visual Studio prompted me to upgrade the project file, which I did, but the error persists.

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.