TBlog

Tomas Bouda blogging about .NET stuff and more

Using Azure DevOps private nuget feed
Using Azure DevOps private nuget feed

I decided to write this post for anyone struggling to setup and use private nuget feed from Azure DevOps, because in my opinion the microsoft documentation is little bit confusing in this case. Prerequisities nuget – https://www.nuget.org/downloads Creating nuget feed Creating new feed is straigt forward. Open Azure DevOps, and select Artifacts in side menu.... » read more

Editor inside PowerShell/Windows Terminal
Editor inside PowerShell/Windows Terminal

Intro So I was looking for some lightweight editor as alternative to VS Code, because I often need to quickly edit text files right from Windows Terminal. Luckily I knew nano from linux and in this post I’ll show you how to use it in Windows Terminal. Editing inside Windows Terminal In order to use... » read more

vstest.console troubleshooting
vstest.console troubleshooting

Intro In previous post I’ve shown you how to fix VSTest task in Azure DevOps. This post is follow up where I share with you how to overcome problems you might face while running vstest.console.exe. Getting the vstest.console You have to download nuget package https://www.nuget.org/packages/Microsoft.TestPlatform/ which contains vstest.console.exe under \tools\net451\Common7\IDE\Extensions\TestPlatform. Here is a short vstest.console... » read more

Azure pipelines – Agent’s missing capability
Azure pipelines – Agent’s missing capability

Intro Today I would like to share with you how to fix following error occured while running Azure pipelines agent: Unable to deploy to the target 'MACHINE-NAME' as some of the following demands are missing: [vstest, Agent.Version -gtVersion 2.115.0]. Ensure the target meets the specified demands and try again. I was obviously trying to run... » read more

Updating Seq in docker
Updating Seq in docker

Intro Today I want to share quick manual on how to update Seq instance running in doker, to the latest version. What is Seq For those who don’t know, Seq is great server app for collecting log messages. It works well with Serilog which is excelent logging framework from same author. Using these two tools... » read more

Quick Tip: Opening Total Commander from terminal
Quick Tip: Opening Total Commander from terminal

Intro Total Commander provides commandline interface, so in order to open desired folder in Total Commander from Powershell or Windows Terminal you need to run: "C:\totalcmd\TOTALCMD64.EXE" /O /T /L="C:\Directory\To\Open" But who wants to write that long stuff all over again. Solution Solution is, as usual, very simple. You have to add function, to your powershell... » read more

Protecting email address
Protecting email address

Introduction Sharing email address as a plain text is not the best idea as it can be parsed by web crawlers. Unfortunately our email inboxes get bombarded with spam every day, often because we share our email address on so many places. So why would I make it easier for spamers. I will show you... » read more

Opening SQL Server Configuration Manager

Solution To Open SQL Server Configuration Manager, run following Path depending on your SQL Server version. Version Path SQL Server 2019 C:\Windows\SysWOW64\SQLServerManager15.msc SQL Server 2017 C:\Windows\SysWOW64\SQLServerManager14.msc SQL Server 2016 C:\Windows\SysWOW64\SQLServerManager13.msc SQL Server 2014 (12.x) C:\Windows\SysWOW64\SQLServerManager12.msc SQL Server 2012 (11.x) C:\Windows\SysWOW64\SQLServerManager11.msc Taken from microsoft documentation You can execute following T-SQL query, to see which SQL Server... » read more

Collapsable menu for GitHub wiki
Collapsable menu for GitHub wiki

Intro If you ever wanted nice looking collapsible side menu on github wiki pages like this: then keep reading 😉 Solution Solution is very simple, you need to use <details> and <summary> tags. See snipped bellow: <details> <summary>Core</summary> <p> [`New-Logger`](New-Logger) [`Start-Logger`](Start-Logger) [`Set-MinimumLevel`](Set-MinimumLevel) [`Close-Logger`](Close-Logger) </p> </details> You can see it in action in PoShLog wiki –... » read more