-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating CpsExtension sample to Dev 17, extending existing rule, fixes (
#376) * Updating CpsExtension sample to Dev 17, extending existing rule, various fixes * Adding a few additional diagnostic environment variables and some comments * Documentation improvements, better formatting * Re-introducing VsSDK.targets import as .vsix stopped being produced
- Loading branch information
1 parent
c1bc8c7
commit ceb5f28
Showing
10 changed files
with
78 additions
and
26 deletions.
There are no files selected for viewing
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
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
2 changes: 1 addition & 1 deletion
2
samples/CpsExtension/CpsExtension.Nuget/CpsExtension.Nuget.csproj
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
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
12 changes: 12 additions & 0 deletions
12
samples/CpsExtension/CpsExtension.Vsix/BuildSystem/Rules/Compile.BrowseObject.xaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright, Microsoft Corporation, All rights reserved.--> | ||
<Rule | ||
Name="Compile" | ||
DisplayName="File Properties" | ||
PageTemplate="generic" | ||
Description="File Properties" | ||
OverrideMode="Extend" | ||
xmlns="http://schemas.microsoft.com/build/2009/properties"> | ||
|
||
<StringProperty Name="Foo" DisplayName="Foo Property" Category="Custom" /> | ||
</Rule> |
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
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
26 changes: 19 additions & 7 deletions
26
samples/CpsExtension/CpsExtension.Vsix/Properties/launchSettings.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
{ | ||
"profiles": { | ||
"CpsExtension": { | ||
"commandName": "Executable", | ||
"executablePath": "$(DevenvDir)devenv.exe", | ||
"commandLineArgs": "/rootsuffix exp", | ||
"environmentVariables": { "CpsExtensionDesignTimeTargetsPath": "$(OutputPath)BuildSystem\\CpsExtension.DesignTime.targets" } | ||
"profiles": { | ||
"CpsExtension": { | ||
"commandName": "Executable", | ||
"executablePath": "$(DevenvDir)devenv.exe", | ||
"commandLineArgs": "/rootsuffix exp", | ||
"environmentVariables": { | ||
// Environment variable that overrides where `CpsExtension.Nuget.targets` imports `CpsExtension.DesignTime.targets` from. This way you can develop without affecting the MSBuild directory for your VS install. | ||
"CpsExtensionDesignTimeTargetsPath": "$(OutputPath)BuildSystem\\CpsExtension.DesignTime.targets", | ||
|
||
// When set to 1 it creates a new Output window pane called 'Project' that displays CPS diagnostics. | ||
"CPS_DiagnosticRuntime": "1" | ||
|
||
// Uncomment the following line to increase the verbosity of the CPS diagnostics. | ||
// "CPS_DiagnosticRuntimeLevel": "Verbose" | ||
// Uncomment the following two lines to capture binlogs of all builds, including design-time builds. | ||
// "MSBuildDebugEngine": "1", | ||
// "MSBUILDDEBUGPATH": "c:\\binlogs" | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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