question

Arun Kr avatar image
2 Likes"
Arun Kr asked Mischa Spelt commented

DLL Maker Error

Hi,

Building DLL on the FlexSim DLL maker in visual studio 2017 brings down the following error attached(I didn't write any new functions, only default ones). It notifies to install v120_xp toolset or retargeting the solution. Even after doing this, the same message appears.

Any idea ? Or Is it better to use visual studio express 2013 or 2015? Or Am I missing something?

Regards,

Arun KR

FlexSim 19.1.1
dll
error-disp.png (98.0 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Mischa Spelt avatar image
3 Likes"
Mischa Spelt answered Mischa Spelt commented

It should be enough to change the project toolset to one that you do have installed. For Visual Studio 2017 this is the v141. You can set it in the project properties:

Be aware that this change is saved in the .vcxproj so if you check this in to version control the next user to open it in Visual Studio 2013 will have the same issue in reverse.


toolset.png (41.2 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.