SFML community forums

Bindings - other languages => DotNet => Topic started by: Laurent on July 17, 2013, 03:01:45 pm

Title: SFML add-on for Visual Studio
Post by: Laurent on July 17, 2013, 03:01:45 pm
RadicalEd (from the french forum) has created and put online a template for SFML.Net, directly installable from the gallery.

Follow the link for more information ;)

http://visualstudiogallery.msdn.microsoft.com/856f52bc-b4a7-4a9d-a235-620565ccac32
Title: Re: SFML add-on for Visual Studio
Post by: eyeliner on July 17, 2013, 03:33:47 pm
Nice!
I installed and ran with no issues!
Only thing is that the folder Libraries is spelled "Librairies".  :)
Title: Re: SFML add-on for Visual Studio
Post by: RadicalEd on July 17, 2013, 04:14:44 pm
Only thing is that the folder Libraries is spelled "Librairies".  :)

Oups  ;D
Sorry for that !

I will make an update ASAP ;)

Title: Re: SFML add-on for Visual Studio
Post by: eyeliner on July 17, 2013, 04:19:17 pm
This is actually a great way to start, so my thanks to you!
I managed to make it work, after setting things up by hand, and failing.
Title: Re: SFML add-on for Visual Studio
Post by: RadicalEd on July 17, 2013, 04:32:32 pm
This is actually a great way to start, so my thanks to you!

At your service ;)

There is an other bug with Visual Studio 2012.
The template is define to work with .Net 2.0 to 4.0, with Visual Studio 2012 by default it select .Net 4.5 and with AnyCPU build the game start fail with a BadImageFormatException ... rofl !

I've got an other bug, the name of the game project is'nt correctly set.

This extension need a little more work ;)
Title: Re: SFML add-on for Visual Studio
Post by: eyeliner on July 17, 2013, 04:41:14 pm
Because I immediately changed the build to x86, i didn't even notice it. :D
Either way, it's rockin'!

I finally found my framework. \o/
Title: Re: SFML add-on for Visual Studio
Post by: RadicalEd on July 17, 2013, 05:58:39 pm
I made an update :

- Folder name fix.
- Project Default name work.

Unfortunelty, i disable the Visual Studio 2012 compatibility because it doesn't consider the DefaultProjectName property and it cut a part of the MSBuild process that allow users to be Platform independant.

I don't know why the template not work with Visual Studio 2012. I suspect the Visual Studio 2010 SDK i use to be not really compatible with Visual Studio 2012.

Of course i will do my best to find the solution ;)

Have fun !