I hereby claim:
- I am bradwilson on github.
- I am bradwilson72 (https://keybase.io/bradwilson72) on keybase.
- I have a public key ASAW1h5cq8YOKoz2uSp0bB8qje8scVkjD5riQgNEnn614Qo
To claim this, I am signing this object:
param( | |
[string]$edition, | |
[switch]$noWeb = $false | |
) | |
# Try and find a version of Visual Studio in the expected location, since the VS150COMNTOOLS environment variable isn't there any more | |
$basePath = join-path (join-path ${env:ProgramFiles(x86)} "Microsoft Visual Studio") "2017" | |
if ((test-path $basePath) -eq $false) { | |
write-warning "Visual Studio 2017 is not installed." |
param( | |
[Parameter(Position=0, Mandatory=$true, ValueFromPipeline=$true)][string] $Script, | |
[Parameter(Position=1, Mandatory=$false)][string] $Parameters | |
) | |
$tempFile = [IO.Path]::GetTempFileName() | |
cmd /c " `"$script`" $parameters && set > `"$tempFile`" " | |
Get-Content $tempFile | %{ |
using System; | |
using Xunit; | |
public class UnitTest1 | |
{ | |
[Fact] | |
public void Passing() | |
{ | |
Assert.True(true); | |
} |
I hereby claim:
To claim this, I am signing this object:
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp1.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170106-08" /> | |
<PackageReference Include="xunit" Version="2.2.0-beta5-build3474" /> |
System.Reflection.AmbiguousMatchException : Ambiguous match found. | |
Stack Trace: | |
at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers) | |
at System.Type.GetMethod(String name) |
The OS X version does not require any custom fonts, because it uses the built-in emoji and symbol support in OS X.
The Linux version requires that you install Font Awesome.
# Background colors | |
$GitPromptSettings.AfterBackgroundColor = "DarkBlue" | |
$GitPromptSettings.AfterStashBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BeforeBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BeforeIndexBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BeforeStashBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BranchAheadStatusBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BranchBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BranchBehindAndAheadStatusBackgroundColor = $GitPromptSettings.AfterBackgroundColor | |
$GitPromptSettings.BranchBehindStatusBackgroundColor = $GitPromptSettings.AfterBackgroundColor |
Look at these lines in this NUSPEC file:
They were added because we observed some very unusal behavior. Specifically, note that the libraries are all platform specific (other than portable-win81+wpa81). Without the highlighted lines, this is the observable behavior when referencing this NuGet package:
We originally had a TF-less group, which we assumed would be used by anybody who wasn't "dotnet" or "dnx46":
<UserSettings> | |
<ApplicationIdentity version="14.0" /> | |
<ToolsOptions> | |
<ToolsOptionsCategory name="Environment" RegisteredName="Environment" /> | |
</ToolsOptions> | |
<Category name="Environment_Group" RegisteredName="Environment_Group"> | |
<Category name="Environment_FontsAndColors" Category="{1EDA5DD4-927A-43a7-810E-7FD247D0DA1D}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_FontsAndColors" PackageName="Visual Studio Environment Package"> | |
<PropertyValue name="Version">2</PropertyValue> | |
<FontsAndColors Version="2.0"> | |
<Theme Id="{1DED0138-47CE-435E-84EF-9EC1F439B749}" /> |