After a lot of research in the forum and struggling for three or four days trying to compile and install the "Internals Plugin" project for VS, I finally got it to work correctly. So, now I have a Visual Studio 2013 Solution with this project that works right out of the box. What it does: - Configurations for Debug and Release for both _Win32, _x64. - Separate and organized directories for each Platform/Configuration. - 64 bit version automatically adds _x64 at the end of the dll name (InternalsPlugin_x64.dll). - Class ExampleInternalsPlugin inherits from InternalsPluginV06 instead of InternalsPluginV01. I've only tried it on my computer. I have Windows 7. If you want to try it download it here: http://abdielja.wix.com/pma-aj#!blog/c3z0 * Remember that this plugin writes info to different files, so you might have to give permissions to all users in the RFactor2 installation directory or run the program as administrator. UPDATE: Noel Hibbard enhanced the VS Solution. Basically, when you rename the solution and project, the generated files are named accordingly. Thanks Noel ! The link is in post #7 of this thread.
Great idea abdielja! I was just thinking about doing this the other day. In the past I have been going through all these steps each time I started a plugin. I wanted to take the default plugin and fix it all up (including switching it to v6) and then put it aside as a template. But you beat me to it. ISI should take this as a base going forward.
The only other thing I like to do is replace all references to InternalsPlugin with $(ProjectName). That way you can copy the whole folder, open up sln file, then rename the solution and project name and then when you compile it builds a bunch of files that match your project name.
I took yours and made those changes. I also deleted the SDF file which isn't really needed for distribution. So the compressed file went from 6MB down to 21kb. Here is a link: https://www.dropbox.com/s/qoywd9i65ako3ll/InternalsPlugin-v6.7z?dl=0