How to view the current version number of a specific file from Visual Studio or directly from Explorer using SVN Source? I use AnkhSVN as a client.
In addition, is it possible to find out the version number when the project / solution was last updated from the server and after that make changes to some of its files?
You must install TortoiseSVN to integrate SVN into Explorer (assuming file explorer I assumed?).
use the line $ rev $ in the source file, for example.
string revision = "$Rev$".Replace("$", "");
in the solution explorer, right-click on this source file and select the Subversion / Subversion properties
Add svn: keywords property and enable "Rev".
Voilà: with every commit, "$ Rev $" is replaced by a new version of svn.
Is it possible to find out the version number when the last time the project / solution was updated from the server, and changes in some of its files were made
Since you have TortoiseSVN installed, check the "Root folder properties" checkbox on the "Subversion" tab. “Revision” and “Last Commit” are the answers
I am using AnkhSVN 2.6 and do not plan to switch to anything else.
Found development library for VS2015 and 2.X
The link is added to the AnkhSVN website,
https://sharpsvn.open.collab.net/
"SharpSvn is the Subversion API binding for .Net 2.0-4.0 + applications contained in the xcopy-deployable dll set. Famous users of this api are"
short tutorial
https://sharpsvn.open.collab.net/docs/walkthrough.htm
Binaries can be downloaded using
https://sourceforge.net/projects/sharpcvslib/
Be sure to try this day ... while I open the "Solution History", find the version number of my installation project and attach this number to my main version number manually.