Skip to content

Commit 0231bee

Browse files
authored
Merge pull request #1469 from microsoft/main
Move UnixPortSupplierInterop NuGet Sign (#1468)
2 parents 4de0727 + 1c0b682 commit 0231bee

4 files changed

Lines changed: 19 additions & 7 deletions

File tree

MIEngine.UnixPortSupplier.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<tags></tags>
1313
</metadata>
1414
<files>
15-
<file src="ReferenceAssemblies\Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.xml" target="ref\dotnet" />
16-
<file src="ReferenceAssemblies\Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.dll" target="ref\dotnet" />
15+
<file src="Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.xml" target="ref\dotnet" />
16+
<file src="Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.dll" target="ref\dotnet" />
1717
</files>
1818
</package>

eng/pipelines/steps/PublishVSPackages.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ parameters:
77
BasePath: $(Build.StagingDirectory)
88

99
steps:
10+
- script: |
11+
for /f "delims=" %%f in ($(Build.SourcesDirectory)\obj\Lab.Release\NugetPackageVersion.txt) do set NugetPackageVersion=%%f
12+
echo ##vso[task.setvariable variable=NugetPackageVersion;]%NugetPackageVersion%
13+
displayName: 'Get NuGet Version'
14+
15+
- template: ../tasks/1ES/PublishPipelineArtifact.yml
16+
parameters:
17+
displayName: 'Publish File Version'
18+
targetPath: '$(Build.SourcesDirectory)\obj\Lab.Release\NugetPackageVersion.txt'
19+
artifactName: 'PackageVersion'
20+
OneESPT: true
21+
1022
- task: 1ES.PublishNuget@1
1123
displayName: Publish Nuget package
1224
condition: and(succeeded(), eq(variables['SignType'], 'real'))

src/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier/Microsoft.VisualStudio.Debugger.Interop.UnixPortSupplier.DesignTime.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
<ItemGroup>
3636
<DropSignedFile Include="$(OutDir)\$(AssemblyName).dll" />
3737
</ItemGroup>
38+
39+
<ItemGroup>
40+
<PackageNuspec Include="$(MIEngineRoot)\MIEngine.UnixPortSupplier.nuspec" />
41+
<NugetPackages Include="VS.Redist.Debugger.MDD.UnixPortSupplier" />
42+
</ItemGroup>
3843

3944
<Import Project="..\..\build\miengine.targets" />
4045
<Import Project="..\..\build\DropFiles.targets" />

src/SSHDebugPS/SSHDebugPS.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@
9090
</ProjectReference>
9191
</ItemGroup>
9292

93-
<ItemGroup>
94-
<PackageNuspec Include="$(MIEngineRoot)\MIEngine.UnixPortSupplier.nuspec" />
95-
<NugetPackages Include="VS.Redist.Debugger.MDD.UnixPortSupplier" />
96-
</ItemGroup>
97-
9893
<ItemGroup>
9994
<Compile Update="StringResources.Designer.cs">
10095
<DesignTime>True</DesignTime>

0 commit comments

Comments
 (0)