This demo shows a dynamic view.
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="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Target Name="Build"> | |
<Message Condition="$(Message) != ''" Text="Message: $(Message)" /> | |
</Target> | |
<Import Project="$(ProjectFile)" Condition="$(ProjectFile) != ''" /> | |
</Project> |
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="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<UsingTask TaskName="DumpItems" | |
TaskFactory="CodeTaskFactory" | |
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v$(MSBuildToolsVersion).dll"> | |
<ParameterGroup> | |
<Items ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" /> | |
</ParameterGroup> | |
<Task> | |
<Code Type="Fragment" Language="cs"> |
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
// Licensed by Daniel Cazzulino under the MIT License | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Collections.Specialized; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.Dynamic; | |
using System.Linq; | |
using System.Text; |
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
W:\>msbuild xbuild.proj | |
Microsoft (R) Build Engine version 12.0.31101.0 | |
[Microsoft .NET Framework, version 4.0.30319.42000] | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Build started 15/07/2015 12:53:04 p.m.. | |
Project "W:\xbuild.proj" on node 1 (default targets). | |
Build: | |
Value: Foo | |
Done Building Project "W:\xbuild.proj" (default targets). |
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
<?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" ?> | |
<!-- | |
Template for a null check for a parameter. | |
Press notnull[TAB][TAB] to get it. | |
Copy to Documents\Visual Studio 2015\Code Snippets\Visual C#\My Code Snippets\notnull.snippet | |
Restart VS | |
--> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> |
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"' /> |