Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rich Code Navigation Indexing #5790

Merged
merged 9 commits into from Oct 13, 2020
5 changes: 5 additions & 0 deletions .vsts-dotnet-ci.yml
Expand Up @@ -58,6 +58,11 @@ jobs:
inputs:
filename: 'eng/cibuild_bootstrapped_msbuild.cmd'
arguments: '-msbuildEngine dotnet'
- task: RichCodeNavIndexer@0
Copy link
Member

@Forgind Forgind Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intentional to only add this to the Core on Windows build? (As opposed to any of the others)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, mostly just picked a build :) We have a requirement to run on Windows, but otherwise no reason to do "Windows Core" over "Windows Full"

displayName: RichCodeNav Upload
inputs:
languages: 'csharp'
continueOnError: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to add a condition?

- task: PublishTestResults@2
displayName: Publish .NET Framework Test Results
inputs:
Expand Down
21 changes: 21 additions & 0 deletions .vsts-dotnet-richnav.yml
@@ -0,0 +1,21 @@
trigger:
- master
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to also trigger for exp/* and vs*


jobs:
- job: BootstrapMSBuildOnFullFrameworkWindows
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this name reference rich navigation? And not bootstrap?

displayName: "Rich Navigation Indexing"
pool:
vmImage: 'windows-2019'
variables:
EnableRichCodeNavigation: true
steps:
- task: Powershell@2
displayName: build
inputs:
filePath: eng/common/build.ps1
arguments: '-restore -build -ci /p:CreateBootstrap=false /nr:false'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
arguments: '-restore -build -ci /p:CreateBootstrap=false /nr:false'
arguments: '-restore -build -ci /nr:false'

(It's the default.)

- task: RichCodeNavIndexer@0
displayName: RichCodeNav Upload
inputs:
languages: 'csharp'
continueOnError: true