Share via


SecurityUtilities.SignFile Method

Include Protected Members
Include Inherited Members

Signs a ClickOnce manifest or PE file.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member SignFile(X509Certificate2, Uri, String) Signs a ClickOnce manifest or PE file.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public methodStatic member SignFile(String, Uri, String) Signs a ClickOnce manifest or PE file.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public methodStatic member SignFile(String, SecureString, Uri, String) Signs a ClickOnce manifest.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public methodStatic member SignFile(String, Uri, String, String) Signs a ClickOnce manifest or PE file. This overload is new as of Visual Studio 2013 Update 3. This overload allows you to specify the target framework version for the file. You are encouraged to use this overload wherever possible, because the MSBuild process uses SHA256 hashes only when the target framework is .NET 4.5 or higher. If the target framework is .NET 4.0 or below, the SHA256 hash will not be used. MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

See Also

Reference

SecurityUtilities Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace