This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/ap0llo/89f968508ccf1d9993393ffa0ce37f88 | |
function Open-GitHub([string]$Path) { | |
if (($null -eq $Path) -or ($Path -eq "")) { | |
$Path = (Get-Location).Path | |
} | |
$Path = (Resolve-Path $Path -ErrorAction Stop).Path | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/ap0llo/9d7cab3a4d05bb3b43720d2997c03d9f | |
function Set-LocationToRepository([Parameter(Mandatory = $false)][string]$Name) { | |
if (-not $RepositoriesDirectory) { | |
$RepositoriesDirectory = Join-Path $env:USERPROFILE "source\repos" | |
} | |
if (-not (Test-Path -Path $RepositoriesDirectory -PathType Container)) { | |
throw "Repositories directory '$RepositoriesDirectory' does not exist." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project> | |
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> | |
<PropertyGroup> | |
<TargetFramework>netstandard2.0</TargetFramework> | |
<RootNamespace>Project_with_manual_Import</RootNamespace> | |
</PropertyGroup> | |
<ItemGroup> |
OlderNewer