You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this plugin support VS2019? I see that the marketplace version is only available for VS2017.
Currently if I wish to use oF in VS2019 I have to first create the project in VS2017 as described here.
What I've tried:
I cloned this repo and tried opening and running the solution in VS2019. Visual Studio had me install the "Visual Studio extension development" toolset. It also warned about the version of .NET used by the extension (v4.5.2) being different than my installed .NET v4.7.2.
I tried running the project but got a lot of compile errors. I also tried retargetting it to .NET v4.7.2, but no luck. Some of the compilation warnings reference the different .NET versions. The compilation errors referenced a potentially password protected key file that couldn't be imported named keyStore_visualStudioWizard2017.pfx .
I've attached the list of errors and warnings: compilation.txt
Help Offered:
I'm not a C# programmer with VS extension development experience, so I don't think I'd be much help on the coding side. But I'd be happy to help out with any testing and documentation that might be needed for a VS2019 version of this plugin. I could also create a new Visual Studio setup guide for the official oF site for VS2019.
A follow-up on "Alternatives": Projects built using the projectGenerator work nicely in VS2019. Retarget platform on first load and then build/run as usual.
Hi @NicTanghe. I've been using openframeworks successfully with VS2019 for the past few months. I generate new project using the included projectGenerator app. When opening the project for the first time Visual Studio 2019 will prompt you to retarget the platform. After that all is good.
@NicTanghe The project generator comes with the oF zip for Visual Studio, currently here. You will need to extract this zip to a known location on your hard drive. You can then run the project generator found in the projectGenerator-vs folder. Be sure to generate your new projects inside of the apps\myApps folder that comes with the oF zip. When you open the project for the first time retarget and then be sure to select "x64" for your "Solutions Platform" beside the "Local Windows Debugger" play button.
These instructions are only for Visual Studio 2019 and will not work with VS Code.
thank you this was unclear to me.
i was downloading the project generator from github and using the mysys version.
The project generator then only alowed me to pick OSX as platform and no templates.
Maybe removing the 2017 from the name whould be usefull.
i also get the error that it uses an earlyer versiion of the Visual C++ platform toolset.
do i upgrade the platform toolset?
do i upgrade the windows SDK version IDK
@NicTanghe Nice. Glad to hear it's working. For the record in VS2019 I had to install "Desktop development with C++" and "Universal Windows Platform Development" Workloads via "Tools -> Get Tools and Features".
Activity
stungeye commentedon Dec 22, 2019
A follow-up on "Alternatives": Projects built using the projectGenerator work nicely in VS2019. Retarget platform on first load and then build/run as usual.
NicTanghe commentedon Feb 25, 2020
Hello it's now 2020 is there anny info from people working on this?
I don't want to learn processing instead of openframeworks.
stungeye commentedon Feb 25, 2020
Hi @NicTanghe. I've been using openframeworks successfully with VS2019 for the past few months. I generate new project using the included projectGenerator app. When opening the project for the first time Visual Studio 2019 will prompt you to retarget the platform. After that all is good.
NicTanghe commentedon Feb 25, 2020
@ stugeye
does this mean the only thing i need to install is the project generator?
ps. if this works with vscode 2 is unclear to me.
stungeye commentedon Feb 25, 2020
@NicTanghe The project generator comes with the oF zip for Visual Studio, currently here. You will need to extract this zip to a known location on your hard drive. You can then run the project generator found in the
projectGenerator-vsfolder. Be sure to generate your new projects inside of theapps\myAppsfolder that comes with the oF zip. When you open the project for the first time retarget and then be sure to select "x64" for your "Solutions Platform" beside the "Local Windows Debugger" play button.These instructions are only for Visual Studio 2019 and will not work with VS Code.
NicTanghe commentedon Feb 25, 2020
thank you this was unclear to me.
i was downloading the project generator from github and using the mysys version.
The project generator then only alowed me to pick OSX as platform and no templates.
Maybe removing the 2017 from the name whould be usefull.
NicTanghe commentedon Feb 25, 2020
i also get the error that it uses an earlyer versiion of the Visual C++ platform toolset.
do i upgrade the platform toolset?
do i upgrade the windows SDK version IDK
NicTanghe commentedon Feb 25, 2020
Building does not work terminal throws.
error list lists.

NicTanghe commentedon Feb 25, 2020
do i need to install visual studio 2017 build tools?
after installing" MSVC v141 –vs 2017 C++ x64/x86 build tools "
i simply get new errors and the build stil doesn't complete.
i retarget the Windows 10 sdk version.
i stil get errors but much less.
the errors i get now are.

NicTanghe commentedon Feb 25, 2020
I try to make a new project.
this time i select.
upgrade to 1.42 in the first popup.
it seems to work now.
stungeye commentedon Feb 25, 2020
@NicTanghe Nice. Glad to hear it's working. For the record in VS2019 I had to install "Desktop development with C++" and "Universal Windows Platform Development" Workloads via "Tools -> Get Tools and Features".