Building a Solution with dotnet cli nuget templates
If we move past the previous post thing I think we end up on a little 's' series for which I walked though some uses of dotnet new
:
With the last post ending up having a reusable solution template but it was living on the . . .
Posted in: .netcorecommandlinedotnet-clivscode
Building a Solution with dotnet cli templates
In a previous post I showed an example of using dotnet cli commands to create a sample web solution with a web project that has dependencies on models and services projects and a test project that also is in the mix. I personally think that is super useful and I can think of scenarios where I will be using that. Another scenario is where you . . .
Sql Server Management Studio Script Encoding
Why are my diffs wrecked?
When you install Sql Server Management Studio (SSMS) 2016 and have it generate script files for you the encoding is set in such a way that git will show them as binary files and your diffs will be useless.
To fix this open SSMS and go to the following menus:
Tools » Options » Environments » International Settings. From . . .
Using VS Code as a git diff tool
As Visual Studio Code continues to evolve there are some command line switches that make it even more interesting to use.
By issuing /path/to/vscode sourcefile destinationfile --diff
you can have VS Code display a visual file diff. On its own that is somewhat useful if you have to files in different locations you want to diff.
Posted in: commandlinegitvscode
Building a Solution with dotnet cli
The latest version of the dotnet cli is offering some nice features for getting a .NET software solution started. This can enable scenarios where you want to start a project off with some guide rails on where you want your team to put things. Instructions for installing are here
The simple example to talk about it dotnet new mvc
. . .
GitTip: Commit Message Lines
The other day I stumbled upon a neat little trick with the git commit message. You would normally git your commit flow starting with just a
git commit
command. This will start your default editor such as vim or another simple text editor. Another little shortcut for this is the -m
switch. You can commit with a message with a git commit -m . . .
Posted in: commandlinegit
A Better Integrated Terminal for VS Code
VS Code has been around for a while now and one of the nice features from this editor is the ability to start an integrated terminal shell within the application and in the context of your working directory. Out of the box Code ships with the default windows command prompt aka COMSPEC. This can be use for some tasks but having Powershell in . . .
Posted in: commandlinepowershellvscode