Visual Studio Community Edition and the QuickLatin source code

Although I no longer sell the QuickLatin parser, it still exists.  I use it myself, and I still work on it from time to time, adding additional meaning or syntax information.  When I discovered that first declension neuter nouns existed, like “pascha”, I wondered whether these were in the dictionary files.  They were not.  So I started to wonder how to add them.  For it has been a while since I worked on it, and I could not even remember how the dictionary files were generated!  This led me to poke into the code.

Currently QuickLatin exists in a Visual Studio 2010 Ultimate project.  I used this because it gave me code coverage, which I greatly miss otherwise.  Curiously Microsoft never made this elementary tool available unless you bought the “enterprise” version of Visual Studio.  These are hideously expensive, so I made do with a second-hand copy of a long-outdated version.

Yesterday I discovered that Microsoft had added a “Community” edition to recent versions of Visual Studio.  This, designed for one-man developers like myself, has the right licensing, and is free.  But I did not know that today it also includes code coverage, as it does.

So yesterday I downloaded Visual Studio 2026 Community Edition, and started trying to set it up to work with unit tests and code coverage.  I created a “noddy” solution and projects, for I have long experience of how dreadful it can be to get started with Microsoft’s premier development tool.  Nor was I wrong.  It was simply hideous to work with, and I nearly abandoned it.  The main project would not work with the unit test project, giving odd errors of subtly different versions of .Net.

Eventually I deinstalled, and tried again, this time with .Net 8.0.  I found a page showing how to get unit testing working in Visual Studio using C#, and it did work.  Then I redid it in Visual Basic, and that worked too.  The experience was bad enough that I actually documented the whole thing in a .docx file with screenshots and uploaded a noddy project with full details to GitHub here.  This may be useful to others – but with my forgetfulness, one day I might need it!  It is beyond me how any newcomer can start out and expect this to work tho.

Microsoft put other barriers in the way.  When you download the installer, it’s a trivial little thing.  But I don’t want to rely on the existence of Microsoft’s servers if I need to reinstall.  So I need a proper offline installation.  Microsoft don’t make that available.  Instead you have to download a special tool named vs_community.exe and run it at the command line to pull down all the installation packages and create a directory full of what you need, which you can turn into an ISO.  This I did today, and the resulting directory was 80 gigabytes in size.  Talk about bloatware!  But anyway, I have it.

So I haven’t achieved anything, except that it looks as if I can abandon Visual Studio 2010 at long last.  It will be a bit of work to do, but certainly worthwhile.  This will allow me to reorganise the code, and particularly the code that handles the database of dictionary endings etc.  That is, it will if I don’t get distracted!  For I need some clear days of work.  Tomorrow I have something else to do, but soon, I hope.

Leave a Reply

Your email address will not be published. Required fields are marked *