Skip to content

strong signed build tools assemblies. Creating a new target for devop…#5076

Merged
shahabhijeet merged 3 commits intoAzure:LTSBuildToolsfrom
shahabhijeet:strongSign
Dec 12, 2018
Merged

strong signed build tools assemblies. Creating a new target for devop…#5076
shahabhijeet merged 3 commits intoAzure:LTSBuildToolsfrom
shahabhijeet:strongSign

Conversation

@shahabhijeet
Copy link
Copy Markdown
Contributor

@shahabhijeet shahabhijeet commented Dec 11, 2018

This is a new PR with all the feedback addressed from #5071

  • Strong signing build tools components
  • Creating a new target for devops sceanario where packaging of nuget pacakges need to be generated without rebuilding.

…s sceanario where packaging of nuget pacakges need to be generated without rebuilding.
<AssemblyOriginatorKeyFile>$(LibraryToolsFolder)\MSSharedLibKey.snk</AssemblyOriginatorKeyFile>
<NoWarn>1591;1701;1573;CS1591</NoWarn>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) $(IgnorePathTokens)</DefaultPathTokenToIgnore>
<DefaultPathTokenToIgnore>$(DefaultPathTokenToIgnore) $(IgnorePathTokens) Microsoft.Azure.KeyVault.Samples</DefaultPathTokenToIgnore>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did you intentionally add KeyVault.Samples back to the list?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was a mistake, my merge was not done right. Thanks for catching this.
Will fix it.

This target is primarily being used by DevOps pipeline scenario for data plan which is using VSO tasks to sign.
So this target assumes build outputs are already generated and would simply like to package the
signed artificats (without rebuilding)
NOTE: This package cannot be used independently, will get an error as build outputs are not generated.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I assume you meant "This package" -> "This target".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@weshaggard @kurtzeborn I have made one minor change and added a new target so that it can be used without affecting existing linked targets.
This new target can be used exactly what you intended for, except the new name.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

My comment was talking about the typo where I think you wanted to say "target" and not "package".

<TaskBinaryOutput>..\..\..\tasks</TaskBinaryOutput>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Where is TargetFramework getting set to net46 now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't quite follow the "where" part.
If you are wondering why are we targeting .NET 46, then all our build tools are targeting net 46 and above.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The where question is because you removed this property from this project so I was curious where it is getting set now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants