A few days ago, I set up a Windows 10 by clean installation and then installed Visual Studio 2019 Community on it.
Now, I want to customize Microsoft.Cpp.Win32.user.props
and Microsoft.Cpp.x64.user.props
files to add additional include paths for all my VC++ projects.
But I can't find these files on my brand-new machine.
They should be located at %localappdata%\Microsoft\MSBuild\v4.0
, but there is no MSBuild
directory.
Does it mean that the installation of Visual Studio failed, or do I need some additional procedures to create default *.user.props files? I've confirmed that the VC++ can build a simple hello-world project.
Edit: Attached a screenshot of the Property Manager. There is no user property sheet.
According to Microsoft, VS 2019 no longer creates the .props
files by default.
From Cannot see Microsoft.Cpp.Win32.user in Property Manager:
The behavior is intended. Visual Studio 2019 will not create .user files anymore. But if .user files already exist, projects will automatically import them.