I have to say there is a lot of snobbery surrounding this subject. VBNET is NOT typically UI event driven any more than C# is inside of the Visual Studio framework. Many people simply won’t accept it but the fact is they are just different syntax’s and therefore it is just a preference. They both compile to the same runtime. Monogame can happily run inside VBNET with the Application Framework switched off.
VBNET has gained an unfair hate because of its legacy with the original Visual Basic despite them being two completely different beasts. C# is no faster than VBNET and really offers nothing more than an alternative programmers syntax. I believe it’s popularity is mainly driven by the fact it can gain you a higher salary!
What questions am I supposed to be answering? I asked for a VB.NET template and I have been bombarded (in typical predicable fashion) by a lot of fan boys telling me to use C#.
I’ve sorted a template now - it works. It’s great. Thank you.
Interesting. I haven’t encountered any “VB.NET” hating, but I probably don’t pay much attention to such things. Languages are tools - you pick the appropriate one for the job.
I had a VB6 and C++ professional background when .NET came along. I went VB.NET first as it was an easy path from VB6 for UI. After a while though I realised what you point out above that they are interchangeable so I switched to C#. This was primarily because my C++ background was much stronger.
It sounds like you are well placed to try my suggestion of taking the C# template and converting.
I didn’t suggest to use C#.
ShaggyTheHiker stated VB.NET is the better language.
Mr. Valentine stated move to C# unless you have a specific reason to use VB.Net.
So yeah that “fan boy” comment isn’t going to encourage people to reply to your future posts @tinblue
I apologise. But when I made my original post I predicted the first reply would be ‘Use C#’ You didn’t let me down.
I didn’t really want to debate the different languages and that I just wanted the template and to be on my way. I find it a bit silly that the Monogame distribution cannot bring itself to include them. I think I read somewhere that the original developer hated VB which is why support for it can be found in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying “Beware of the Leopard”
I think I went a bit over the top for my solution lol
I installed Visual Basic 2010 and XNA 4.0 with the Phone SDK 7.1 (which gives you the XNA VB templates). I then took the various code and rebuilt a Visual Studio 2019 template from scratch.
Someone else is offering me a complete VBNET boiler plate for Monogame. When I find out which of the two is better I’ll share it here for future users who may want it.
Again, apologies for my tone. My frustration is more with Monogame making me jump through hoops. If I want to use VB it should be my choice. The fact is it works flawlessly, was originally supported by Microsoft yet Monogame choose to turn their back on it for reasons I can only see as pure snobbery.
I’m sure you can appreciate the painful route I went to get a solution is probably why I was a bit tetchy. Sorry.
It wouldn’t HAVE to be on Windows 7. I’ve never worked with the Phone SDK 7.1, but I still have VS2010 and XNA4.0 on Windows 10 (using VB.NET, too). I’m moving to VS2019 and wanted to shift to MG 3.8 because XNA4.0 is somewhat inconvenient in VS versions beyond 2010. Not impossible, I understand, but somewhat inconvenient. I don’t want to hand that inconvenience off to anybody else.
I still feel that VS2010 was the most beautiful release of VS. There have been some really nice innovations to the IDE in subsequent releases (except 2012, that one was pretty awful). However, those came at a price. Launching VS could be slow prior to fast SSD drives, and a whole lot of that was because you got ALL the IDE features, need them or not.
Anyways, I’m wandering, at this point…I have opinions.
I found a lot of iso images for stuff on the internet archive.org. Just search google with the word archive after any keyword(s) and you should find what you are looking for.
However, I had to jump through so many hoops with Phone SDK in particular. With many forums searched and ultimately unpacking the install file and manually installing certain components. To the point I have forgotten what I did and didn’t do. But ultimately, although it all did finally install, I couldn’t get it to create a new project properly because of some issue with it not being able to create certain files. Visual Studio 2010 really doesn’t like Windows 10 especially with XNA. You are better off going down the Virtualised Windows 7 route.
Ultimately it was WindowsPhoneExtensions.msi that finally got me the templates I needed. I managed to get this file from the WPSDKv71_en1.iso (Windows Phone SDK 7.1 ISO).
Just for some nostalgia I also installed WindowsXP with Visual Basic 6 SP1.