Note
Highlights information that users should take into account, even when skimming.
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Note
Highlights information that users should take into account, even when skimming.
> [!NOTE]
> Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
If you get the error "The specified certificate ... does not exist in the master database" then you may find the encryption password was set too long; I got this error when I tried to set a 128 character password, but it worked when I dropped down to 64 characters.
If you get the error "Invalid Default File Path" it may be because you need to start your additional attached drives at letter F
, not E
Sometimes, when using Windows WSL to edit projects, Git will report a file permissions change.
You cannot fix, change, remove or do anything with these files and it causes issues when pulling.
Just do this:
git config core.filemode false
Write-Host "Downloading and installing latest WinGet app..."; | |
# Find latest version of WinGet | |
$wingetrooturl = "https://github.com/microsoft/winget-cli/releases/"; | |
$wingetpage = "$($env:TEMP)\WinGet.html"; | |
Invoke-WebRequest -Uri $wingetrooturl -OutFile $wingetpage | |
# Locate first msix bundle link | |
[regex]$regex = "<a href=`".*?(download\/v[0-9]+\.[0-9]+\.[0-9]+\/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle)`" rel=`"nofollow`">"; |
If, like me, you create new DotNet projects using the same layout and options; the following script should help.
Type $profile
in your Powershell Windows Terminal and edit the file at the path given by putting the following code in:
# ---------- dot net new simple alias for project creation
function Show-Menu {
param (
[string]$Title
)
using System; | |
using System.Threading; | |
static class Program { | |
static void Main() { | |
Console.Write("Performing some task... "); | |
using (var progress = new ProgressBar()) { | |
for (int i = 0; i <= 100; i++) { | |
progress.Report((double) i / 100); |
src
folder and rename it to adr-tools
, put it somewhere you can easily get to (c:\projects
for example)cd /usr/local/bin/
sudo mkdir adr-tools
cd adr-tools
Copy the following from your C:\Windows\System32
folder into a new folder "x64" alongside the nuspec file:
Copy the following from your C:\Windows\SysWOW64
folder into a new folder "x86" alongside the nuspec file: