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
1>Build: | |
Creating directory "out". | |
C:\Code\Personal\OpenCoverVsixTests\build\packages\OpenCover\tools\OpenCover.Console.exe -output:out\test.coverage.xml -register:path32 -returntargetcode -filter:"+[MyE | |
xtension]* +[MyExtension.IntegrationTests]* -[Microsoft.*]*" -excludebyattribute:*.ExcludeFromCodeCoverage*^ -skipautoprops -hideskipped:All -threshold:1 -mergebyhash -t | |
arget:C:\Code\Personal\OpenCoverVsixTests\build\packages\xunit.runner.console\tools\xunit.console.x86.exe -targetargs:"C:\Code\Personal\OpenCoverVsixTests\src\MyExtensio | |
n.IntegrationTests\bin\Debug\MyExtension.IntegrationTests.dll -html out\test.html -xml out\test.xml -parallel all -noshadow" | |
?Executing: C:\Code\Personal\OpenCoverVsixTests\build\packages\xunit.runner.console\tools\xunit.console.x86.exe | |
xUnit.net Console Runner (32-bit .NET 4.0.30319.42000) | |
Discovering: MyExtension.IntegrationTests | |
Discovered: MyExtension.IntegrationTests |
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
1>Build: | |
C:\Code\Personal\OpenCoverVsixTests\build\packages\OpenCover\tools\OpenCover.Console.exe -output:out\test.coverage.xml -register:user -returntargetcode -filter:+[MyExtension]* -skipautoprops -hideskipped:All -mergebyhash -target:C:\Code\Personal\OpenCoverVsixTests\build\packages\xunit.runner.console\tools\xunit.console.x86.exe -targetargs:"C:\Code\Personal\OpenCoverVsixTests\src\MyExtension.IntegrationTests\bin\Debug\MyExtension.IntegrationTests.dll -html out\test.html -xml out\test.xml -parallel all -noshadow" | |
?Executing: C:\Code\Personal\OpenCoverVsixTests\build\packages\xunit.runner.console\tools\xunit.console.x86.exe | |
xUnit.net Console Runner (32-bit .NET 4.0.30319.42000) | |
Discovering: MyExtension.IntegrationTests | |
Discovered: MyExtension.IntegrationTests | |
Starting: MyExtension.IntegrationTests | |
Environment variables in remote Visual Studio process running from: | |
ALLUSERSPROFILE=C:\ProgramData | |
APP |
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
Welcome to StackEdit! {#welcome} | |
===================== | |
Some change here. | |
What if changed again? | |
Hello, I am your first Markdown document within **StackEdit**[^stackedit]. Don't delete me, I can be helpful. I can be recovered anyway in the `Utils` tab of the <i class="icon-cog"></i> `Settings` dialog. | |
---------- |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<Content>Hello \ Bye</Content> | |
</PropertyGroup> | |
<Target Name="Build"> | |
<Message Text="$(Content)" /> | |
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
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<XmlNamespace><Namespace Prefix='vs' Uri='http://schemas.microsoft.com/developer/vstemplate/2005'/></XmlNamespace> | |
</PropertyGroup> | |
<Target Name="ExtractPublicKey" | |
Inputs="$(AssemblyOriginatorKeyFile)" | |
Outputs="$(IntermediateOutputPath)key.pub"> | |
<Exec Command='"$(TargetFrameworkSDKToolsDirectory)sn.exe" -p "$(AssemblyOriginatorKeyFile)" "$(IntermediateOutputPath)key.pub"' /> |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<!-- Download to %userprofile%\Documents\Visual Studio [2010|2012|2013|vNext]\Code Snippets\Visual C#\My Code Snippets --> | |
<!-- | |
Template for xunit test methods | |
Press fact[tab][tab] to get it. | |
--> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>XUnit test</Title> |
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
var xmlns = new XmlNamespaceManager(new NameTable()); | |
xmlns.AddNamespace("vsx10", "http://schemas.microsoft.com/developer/vsx-schema/2010"); | |
xmlns.AddNamespace("vsx11", "http://schemas.microsoft.com/developer/vsx-schema/2011"); | |
var vsix = from file in Directory.EnumerateFiles(@"C:\Program Files (x86)\Microsoft Visual Studio 14.0", "extension.vsixmanifest", SearchOption.AllDirectories) | |
where File.ReadAllLines(file)[0].StartsWith("<") | |
select file; | |
var mef = vsix | |
.Select(x => XDocument.Load(x)) |
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
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\JavaScript\Microsoft.VisualStudio.JavaScript.Common.targets | |
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.targets | |
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\JavaScript\Microsoft.VisualStudio.WJProject.targets | |
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\JavaScript\Microsoft.CodeSharing.JavaScript.targets | |
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.DesignTime.targets | |
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.targets | |
AllTargetOutputGroups => C:\Program Files (x86)\MSBuild\1 |
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
<VSDIR>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7@%(Dev.Identity).0)</VSDIR> | |
<VSDIR Condition="'$(VSDIR)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VS7@%(Dev.Identity).0)</VSDIR> |
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
public static class ObservableExtensions | |
{ | |
static readonly Action<Exception> rethrow = e => ExceptionDispatchInfo.Capture(e).Throw(); | |
static readonly Action nop = () => { }; | |
public static IDisposable Subscribe<T>(this IObservable<T> source, Action<T> onNext) | |
=> Subscribe(source, onNext, rethrow, nop); | |
public static IDisposable Subscribe<T>(this IObservable<T> source, Action<T> onNext, Action<Exception> onError) | |
=> Subscribe(source, onNext, onError, nop); |