Skip to content

Instantly share code, notes, and snippets.

View CalvinAllen's full-sized avatar

Calvin A. Allen CalvinAllen

View GitHub Profile
@dotMorten
dotMorten / MSBuildCheatSheet.xml
Last active November 14, 2024 11:47
MSBuild Cheat Sheet
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
How to define a variable.
Just stick a new node in a property group.
-->
<PropertyGroup>
<!-- This node in a property group will define a variable -->
<TestVariable>Test Variable Value</TestVariable>
[Obsolete("Not supported on VS2015, Use INavigationEngine implementation instead")]
internal static class LegacyGoToDefinitionEngine
{
/// <summary>
/// If Visual Studio's recognizes the given member and knows where its source code is, goes to the source code.
/// Otherwise, opens the "Find Symbols" ToolWindow.
/// </summary>
public static void GoToMemberDefinition(string memberName, uint sreachOptions = (uint)_VSOBSEARCHOPTIONS.VSOBSO_LOOKINREFS)
{