-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1318 from microsoft/main
Merge 'main' into 'release_mdd'
- Loading branch information
Showing
60 changed files
with
1,843 additions
and
278 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
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
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,14 @@ | ||
--- | ||
name: $(Date:yyyMMdd).$(Rev:r) | ||
variables: | ||
- name: SignType | ||
value: test | ||
- name: TeamName | ||
value: MDDDebugger | ||
jobs: | ||
- template: ./jobs/VSEngSS-MicroBuild2022-1ES.job.yml | ||
parameters: | ||
DisplayName: DebuggerTesting | ||
JobTemplate: | ||
- template: ../templates/DebuggerTesting-release.template.yml | ||
... |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
parameters: | ||
FolderToScan: '$(Pipeline.Workspace)\Lab.Release' | ||
|
||
steps: | ||
- task: CopyFiles@2 | ||
displayName: 'Copy Files to: $(Pipeline.Workspace)\ApiScanFiles' | ||
inputs: | ||
SourceFolder: ${{ parameters.FolderToScan }} | ||
Contents: | | ||
**\*Microsoft@(*.dll|*.pdb|*.exe) | ||
**\*Newtonsoft@(*.dll|*.pdb|*.exe) | ||
**\*OpenDebugAD7@(*.dll|*.pdb|*.exe) | ||
**\*WindowsDebugLauncher@(*.dll|*.pdb|*.exe) | ||
!**\*.resources.dll | ||
TargetFolder: '$(Pipeline.Workspace)\ApiScanFiles' | ||
CleanTargetFolder: true | ||
OverWrite: true | ||
|
||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-apiscan.APIScan@2 | ||
displayName: 'Run APIScan' | ||
inputs: | ||
softwareFolder: '$(Pipeline.Workspace)\ApiScanFiles' | ||
softwareName: MIEngine | ||
softwareVersionNum: '$(Build.BuildNumber)' | ||
symbolsFolder: 'SRV*http://symweb;$(Pipeline.Workspace)\ApiScanFiles' | ||
isLargeApp: false | ||
continueOnError: true | ||
env: | ||
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(MIEngineApiScan) |
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,9 @@ | ||
steps: | ||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3 | ||
displayName: 'Run BinSkim' | ||
inputs: | ||
InputType: Basic | ||
AnalyzeTarget: '$(Pipeline.Workspace)\**\*.dll;$(Pipeline.Workspace)\**\*.exe' | ||
AnalyzeVerbose: true | ||
AnalyzeHashes: true | ||
AnalyzeEnvironment: true |
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,11 @@ | ||
steps: | ||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-roslynanalyzers.RoslynAnalyzers@3 | ||
displayName: 'Run Roslyn Analyzers' | ||
inputs: | ||
continueOnError: true | ||
msBuildVersion: 17.0 | ||
msBuildArchitecture: amd64 | ||
setupCommandLine: | | ||
"%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsMSBuildCmd.bat" | ||
msBuildCommandline: | | ||
msbuild $(Build.SourcesDirectory)\src\MIDebugEngine.sln /p:Platform="Any CPU" /p:Configuration="Release" |
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
40 changes: 40 additions & 0 deletions
40
eng/pipelines/templates/DebuggerTesting-release.template.yml
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,40 @@ | ||
--- | ||
steps: | ||
- checkout: self | ||
|
||
- template: ../tasks/UseDotNet.yml | ||
|
||
- template: ../tasks/NuGetToolInstaller.yml | ||
|
||
- template: ../tasks/MicroBuildSigningPlugin.yml | ||
|
||
- template: ../tasks/NuGetCommand.yml | ||
parameters: | ||
Command: 'restore' | ||
solution: '$(Build.SourcesDirectory)\src\MIDebugEngine.sln' | ||
FeedsToUse: 'config' | ||
NugetConfigPath: '$(Build.SourcesDirectory)\src\.nuget\NuGet.config' | ||
|
||
- template: ../tasks/MSBuild.yml | ||
parameters: | ||
solution: '$(Build.SourcesDirectory)\test\CppTests\CppTests.csproj' | ||
configuration: 'Release' | ||
msbuildArguments: /p:NuGetPath=$(NuGetExeToolPath) /p:NuGetPrerelease=false | ||
env: { | ||
"SIGN_TYPE": "$(SignType)" | ||
} | ||
|
||
- template: ../tasks/SignVerify.yml | ||
parameters: | ||
TargetFolders: '$(Build.SourcesDirectory)\bin\DebugAdapterProtocolTests\Release\drop' | ||
|
||
- template: ../steps/CopyAndPublishSymbols.yml | ||
|
||
- template: ../tasks/PublishPipelineArtifact.yml | ||
parameters: | ||
displayName: 'Publish Nupkgs' | ||
path: '$(Build.SourcesDirectory)\bin\DebugAdapterProtocolTests\Release\drop' | ||
artifactName: 'nupkgs' | ||
|
||
- template: ../tasks/MicroBuildCleanup.yml | ||
... |
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
24 changes: 24 additions & 0 deletions
24
src/DebugEngineHost.Stub/Shared/Microsoft.VisualStudio.Debugger.Interop.MI.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// // Copyright (c) Microsoft. All rights reserved. | ||
// // Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace Microsoft.VisualStudio.Debugger.Interop.MI | ||
{ | ||
/// <summary> | ||
/// IDebugProperty for MIEngine | ||
/// </summary> | ||
[ComImport()] | ||
[ComVisible(true)] | ||
[Guid("27F5EFAF-9DBA-4AC0-A456-1F97E50F3CDA")] | ||
[InterfaceType(1)] | ||
public interface IDebugMIEngineProperty | ||
{ | ||
/// <summary> | ||
/// Get the expression context for the property | ||
/// </summary> | ||
[PreserveSig] | ||
int GetExpressionContext([Out, MarshalAs(UnmanagedType.Interface)] out IDebugExpressionContext2 ppExpressionContext); | ||
} | ||
} |
Oops, something went wrong.