[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hackers] Which Visual Studio versions are in active use?
Dave Hart wrote:
Currently the NTP distribution has Visual Studio solution and project files for:
Visual Studio 2005 (earliest supported)
Visual Studio 2008
Visual Studio 2013
Visual Studio 2015
Once upon a time some of the NTP maintainers decided to use VS2008,
because there was an "Express" version available (IIRC). I'm still using
that version today to build the installation package we provide at Meinberg.
I don't like VS very much and try to avoid using it whenever possible.
The main reason is because it is very hard to keep track of the
properties, especially if you change some setting via the GUI, etc.
It would be great when we could simply use something like MSYS2/Mingw to
build the Windows version of the binaries.
I've prototyped the addition of support for Visual Studio 2022 but
some things have been rearranged in the next ntp-stable release that
might make it easier to redo the work rather than merge it.
Incidentally, the Visual Studio 2015 tools and SDK can be used with
VS2022 by adding the right optional components. Those are the last
tools that support targeting Windows XP, VS2019 and later only support
building for Windows Vista and later.
Sorry I have to say that, but that's the typical Microsoft Bullshit.
Currently there's really lot of confusion when you do kernel driver
development for Windows, with different signing requirements, some of
which Microsoft refuses to keep supporting, options for inf files that
are not supported anymore, the way installation directories have to be
specified in inf files for different Windows builds, etc.
What I'm wondering is which of those versions are actually being used
today. If you build the NTP distribution from source, or would like
that retain the capability even if you haven't done it lately, please
speak up about which Visual Studio version you're using, and whether
you'd have a problem installing a newer version. Visual Studio 2022
Community Edition is cost-free and I believe it can be installed
side-by-side with older versions.
Basically I wouldn't have a problem with porting changes from some newer
version like VS2022 back to an older version like VS2008.
However, the big problem that I see in the NTP project is a missing
clean way to access pre-release versions of the NTP code base, which
seem to be distributed across the home directories of several developers.
It would be good if a repo with 4.2.8p15 plus the collected changes
would be available, so that everybody could easily keep track of the
changes, and make commits based on the latest pre-release version, like
it's usual today e.g. with git repos.
For example, I've done some cleanup in the source code of 4.2.8p15, e.g.
added an .editorconfig file and removed trailing spaces from many files.
It doesn't make much sense to commit these changes, though, if some
other folks have changed some files so you had to do a manual merge just
to remove trailing spaces.
If we had a common (accessible) code base with the collected commits
from different people, I could have removed the trailing spaces from the
latest/current pre-release code, which would have been much easier to
integrate into the code base.
I've put the latest release versions of the NTP code base into a local
git repo and have my proposed changes also there, the the way the NTP BK
repo is maintained makes it very hard to keep my changes (that were
intended to be committed to the NTP project) aligned with the official
code base.
I think that this is the *real* problem with current NTP development.
Martin