Skip to content

Commit

Permalink
Sign assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
anpetroc committed Jan 25, 2024
1 parent 372690a commit f02c657
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ jobs:
version: 6.0.x
installationPath: '$(Agent.ToolsDirectory)/dotnet'

- task: UseDotNet@2
displayName: 'Use dotnet sdk 3.1'
inputs:
version: 3.1.x
installationPath: '$(Agent.ToolsDirectory)/dotnet'

- task: CodeQL3000Init@0

- task: DotNetCoreCLI@2
Expand All @@ -63,11 +57,14 @@ jobs:
failTaskOnFailedTests: true

- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@3
displayName: 'ESRP sign Microsoft.PowerPlatform.Formulas.Tools.dll'
displayName: 'Sign assemblies'
inputs:
ConnectedServiceName: 'ESRPCodeSigningConnection'
FolderPath: '$(Build.SourcesDirectory)/bin/$(BuildConfiguration)/PAModel/'
Pattern: '*.dll'
FolderPath: '$(Build.SourcesDirectory)/bin/$(BuildConfiguration)/'
Pattern: |
**/PAModel/Microsoft.PowerPlatform.PowerApps.Persistence.dll
**/Microsoft.PowerPlatform.PowerApps.Persistence/Microsoft.PowerPlatform.Formulas.Tools.dll
UseMinimatch: true
signConfigType: inlineSignParams
inlineOperation: |
[
Expand Down
2 changes: 1 addition & 1 deletion targets/targets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(IsLabBuild)' == 'true'">
Expand Down

0 comments on commit f02c657

Please sign in to comment.