New project refers to older versions of VS Code and VS Pro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'd like to report a minor annoyance for the add-in developers, especially when the add-ins are becoming bigger and more complex. I also would like to emphasize on "minor" here; the following are not critical issues, but it would be great if they could be fixed. At least, it would get rid of the annoyances.
When I create a Python add-in via Utilities -> Add-Ins -> Scripts and AddIns menu, it generates the template perfectly, and it also creates the ".vscode/settings.json" file. Inside this file, there is a variable called "python.pythonPath". It looks like VSCode replaced this variable with "python.defaultInterpreterPath" some time ago. However, Fusion 360 add-in template generator still uses the deprecated variable.
Similarly, when I create a C++ add-in, the template is generated perfectly, but the "{addin_name}.vcproj" file has references to VS Platform Toolset v110, which corresponds to Visual Studio 2012. Also the platform architecture is set to "x64". I downloaded VS Express 2012 from Microsoft Dev Essentials program (unfortunately, that is the only free version I could get for testing purposes after some googling) and installed it. It doesn't include "x64" compilers and linkers. "Win32" mode won't link against "core.lib".
After some research, I saw other developers take "SpurGear" as a starting point for C++ development. I checked SpurGear's ".vcproj" file and the platform toolset is set to v140, which corresponds to Visual Studio 2015. The good thing is that it is possible to install "MSVC C++ Build Tools v140" package from Visual Studio Installer for any supported version of Visual Studio. Therefore, x64 builds and linking work fine on this toolset.
I was wondering if there would be a chance to update variables discussed above to eliminate some annoyances. I am not asking to upgrade everything to the latest VS 2022. I am sure when the time comes, you will make the necessary changes. It would be just enough to change "v110" to "v140" would be a great help. As you all know, software development can get complicated from time to time and making the starting point less complex might be super helpful (and make prospective devs less prone to giving up).