This assumes you are using AppGameKit v1076, because there are no templates supplied with v108<x>. I haven't tried downloading v1084 and creating a VS2010 template, but attempts to create one in the earlier v108 versions all fail due to missing dependencies. I hope to try making a v1084 one later this week. And, if I do, it will be posted in the AppGameKit Wiki.
Quote: "I get the feeling it's not that simple?"
Yes, you are right, starting from a blank VS2010 project is not very workable. There are lots of things that are needed for AppGameKit to work properly and it is easier to start from a template that works.
Go to
the AppGameKit Wiki Templates page and download one of the Windows MS Visual Studio Express 2010 template zip files (they are both good and working). VS2010 Express projects can be loaded into VS2010 Pro (at least that is what I've seen elsewhere in this forum).
Unzip the file into your AGK\IDE\templates directory and it will create a directory named either template_vs10 or template_vs10_al_tweak, depending on which one you download. If you go with the vanilla template_vs10, go ahead and overwrite the existing template_vs10 directory. Or, rename your old template_vs10 directory before you unzip the zip file.
Then follow the instructions on the page from which you downloaded the template, starting at 'Making Your Project from a Template'. Try NOT put spaces in the new directory name after you copy the template directory, this may cause issues down the road.
If you expect to make multiple projects (and we all do), apply the Windows instructions under 'Fixing Directory Locations' to your downloaded template BEFORE you copy it. It can simplify things later.
Where you see things like '<yourproj>' and '<your AppGameKit dir>', you are supposed to substitute values relevant to you. On my computer, '<your AppGameKit dir>' is 'TGC\AGK', so my templates directory path is 'C:\TGC\AGK\IDE\templates'.
The instructions under 'Change Final Product and Project Name' will help you rename the relevant project bits after you have copied and renamed the template directory.
Once you have the template project set up as described on the AppGameKit Wiki Templates page, you can add all the files and libraries you want in the VS project. (My current project has more than 50 extra .cpp/.h files added to the ones in the bare template.)
Cheers,
Ancient Lady
AGK Community Tester