Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Danfun64

The Visual Studio 2019 Dillema

Recommended Posts

So, starting with Visual Studio 2019, Microsoft.Cpp.Win32.user and Microsoft.Cpp.x64.user are no longer generated by default. An alternative is necessary for the "environmental variable macro" bit in the compilation guide.

https://developercommunity.visualstudio.com/content/problem/531570/setting-environmental-variable-macros-without-micr.html

I'd like a solution that isn't "Download Visual Studio 2017"

Share this post


Link to post

The trouble is that the props file is in a location something like this: C:\Users\Max\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props. I could create a props file and add that to the project, but then you won't be able to enjoy other projects with the same macros already working.

 

I'll probaly make a temporary solution, at least.

Share this post


Link to post

The C:\Users\%username%\AppData\Local\Microsoft\MSBuild folder doesn't exist on my setup, let alone the v4.0 subfolder after it. Obviously C:\Users\%username%\AppData\Local\Microsoft exists for me, but no MSBuild.

 

edit: One option is to remove premade Visual Studio project files in favor of putting all the information necessary to build them in the cmake files, and the ability to choose the SDL directories in cmake.

Edited by Danfun64

Share this post


Link to post

OK I sorted it out go pull and look at the documentation for building with VS 2019.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×