A collection of small tips and tricks inspired by this post in Simon Willison’s Weblog
-
Turn Off visible whitespace characters in Visual Studio - 2020-05-17
-
Add New Class (Keyboard Shortcut) - 2020-08-23
-
Exclude tests from Live Unit Testing - 2020-12-09
-
Analyzer Project Reference - 2020-05-02
-
Create a MSBuild binary log - 2020-05-02
-
Do not append TargetFramework to output path - 2020-05-04
-
Use a common output directory for multiple projects - 2020-05-08
-
Don’t use
System.IO.Path.GetTempFileName()
- 2020-05-11 -
.NET Core Installation - 2020-05-24
-
.NET Core Release Index - 2020-05-24
-
Specify the command name for a .NET Core tool - 2020-06-09
-
dotnet test
settings in project files - 2020-07-16 -
NuGet Restore Techniques - 2020-09-04
-
Version comparisons in MSBuild conditions - 2020-10-17
-
Styling Console Output - 2020-10-24
-
How is nullability of reference types saved to assemblies - 2020-11-02
-
MSBuild Change Waves - 2020-11-11
-
Enable TAB completion for the .NET CLI - 2020-11-11
-
MSBuild MSBuild TargetFramework and TargetPlatform property functions - 2020-11-11
-
.NET CLI environment variables to set on CI systems - 2020-11-20
-
Customize Name of Embedded Resource - 2020-12-03
-
Assembly.Location and Assembly.CodeBase are problematic for .NET 5’s single file publishing - 2020-12-09
-
C# Predefined Constants - 2020-12-09
-
Customize Output path when copying items - 2020-12-11
-
Define Feature Flags as compiler constants for conditional compilation - 2020-12-11
-
Include Content Files in NuGet packages - 2020-12-11
-
Windows Forms in .NET 5 includes enhancements to the ListView control - 2020-12-11
-
Windows Forms in .NET 5 includes a Task Dialog control - 2020-12-11
-
dotnet test output formats - 2020-12-23
-
Casting
string
tobool
checks if string is empty - 2020-05-13 -
Powershell Classes - 2020-05-24
-
Default Parameter Values - 2020-05-24
-
Get the name of the currently running script - 2020-05-24
-
Powershell Cmdlets for GitHub - 2020-05-24
-
Validation Attributes - 2020-11-17
-
Powershell Location History - 2020-12-09
-
Use the Markdown-Include extension with MkDocs - 2020-05-30
-
Always paste as plain text - 2020-11-12
-
Share Renovate configuration between repositories - 2020-06-19
-
Print to PDF in headless mode - 2020-12-04
-
Include a hyperlink in a quote’s citation - 2020-10-17
-
Define nested blocks - 2020-10-24
-
Use code blocks in lists - 2020-10-24
-
Configure editor used by GitHub CLI - 2020-10-04
-
Use Custom Color Schemes - 2020-10-24
-
Get value or default from a Map - 2020-10-28
-
Get change date - 2020-05-02
-
Check for uncommitted changes - 2020-05-21
-
Remove a submodule from a repository - 2020-05-30
-
Useful git aliases - 2020-06-02
-
Clone a git repository with submodules - 2020-06-04
-
Delete a git tag - 2020-06-10
-
git log Options - 2020-09-30
-
Partially Commit Files - 2020-10-24
-
Get pretty command line diff using diff-so-fancy - 2020-10-24
-
Use 3-way merge - 2020-10-24
-
Reduce risk of force-push by using
--force-with-lease
- 2020-11-11 -
git instaweb provides a web inteface for viewing a local repository - 2020-12-09
-
ohshitgit.com provides help on how to undo common git mistakes - 2020-12-11