Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modify Condition in csprojs
  • Loading branch information
JRahnama committed Jul 9, 2024
commit 382f1713d774d0276e1da0fdc671b717f69f06ab
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ steps:
msBuildVersion: 17.0
msBuildArchitecture: x64
setupCommandlinePicker: vs2022
msBuildCommandline: 'msbuild ${{parameters.sourceRoot}}\build.proj -p:configuration=Release -p:GenerateNuget=false -p:BuildTools=false'
msBuildCommandline: 'msbuild ${{parameters.sourceRoot}}\build.proj -p:configuration=Release -p:GenerateNuget=false -p:BuildTools=false -p:SigningKeyPath=$(Agent.TempDirectory)\netfxKeypair.snk'
- ${{ if eq(parameters.product, 'AKV') }}:
- task: securedevelopmentteam.vss-secure-development-tools.build-task-roslynanalyzers.RoslynAnalyzers@3
displayName: 'Guardian Dotnet Analyzers '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<RootNamespace />
</PropertyGroup>
<!--Generating Strong Name in official pipelines -->
<PropertyGroup Condition="$(CDP_BUILD_TYPE)==Official AND $(SigningKeyPath) != ''">
<PropertyGroup Condition="$(SigningKeyPath) != ''">
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
<KeyFile>$(SigningKeyPath)</KeyFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<DefineConstants>$(DefineConstants);NETFRAMEWORK;</DefineConstants>
</PropertyGroup>
<!--Generating Strong Name in official pipelines -->
<PropertyGroup Condition="$(CDP_BUILD_TYPE)==Official AND $(SigningKeyPath) != ''">
<PropertyGroup Condition="$(SigningKeyPath) != ''">
<SignAssembly>true</SignAssembly>
<DelaySign>true</DelaySign>
<KeyFile>$(SigningKeyPath)</KeyFile>
Expand Down