How can i see the assembly version of a .NET assembly in Windows Vista and newer (WIndows 7, 2008)?

No. Not from explorer. It is an intentional move by Microsoft (although I dislike it). You can from powershell though: [Reflection.AssemblyName]::GetAssemblyName(‘full-path-to\xxxx.dll’).Version Also if file version is not explicitly set it will default to assembly version. Here is some info: http://all-things-pure.blogspot.com/2009/09/assembly-version-file-version-product.html

VS Code extension – get full path

If you need the File use uri.fsPath If you need the Workspace Folder use uri.path if(vscode.workspace.workspaceFolders !== undefined) { let wf = vscode.workspace.workspaceFolders[0].uri.path ; let f = vscode.workspace.workspaceFolders[0].uri.fsPath ; message = `YOUR-EXTENSION: folder: ${wf} – ${f}` ; vscode.window.showInformationMessage(message); } else { message = “YOUR-EXTENSION: Working folder not found, open a folder an try again” ; … Read more

How to access a file’s properties on Windows?

Here is a function which reads all file attributes as a dictionary: import win32api #============================================================================== def getFileProperties(fname): #============================================================================== “”” Read all properties of the given file return them as a dictionary. “”” propNames = (‘Comments’, ‘InternalName’, ‘ProductName’, ‘CompanyName’, ‘LegalCopyright’, ‘ProductVersion’, ‘FileDescription’, ‘LegalTrademarks’, ‘PrivateBuild’, ‘FileVersion’, ‘OriginalFilename’, ‘SpecialBuild’) props = {‘FixedFileInfo’: None, ‘StringFileInfo’: None, ‘FileVersion’: None} try: … Read more

How can I get the assembly last modified date?

I’ll second pYrania’s answer: System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.FileInfo fileInfo = new System.IO.FileInfo(assembly.Location); DateTime lastModified = fileInfo.LastWriteTime; But add this: You mention you don’t want to access the file system since it’s in your master page and you don’t want to make that extra file system hit for every page. So don’t, just access it … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)