Share via


Manifest.UpdateFileInfo Method

Updates file information for each referenced assembly and 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.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Sub UpdateFileInfo
public void UpdateFileInfo()
public:
void UpdateFileInfo()
member UpdateFileInfo : unit -> unit
public function UpdateFileInfo()

Remarks

The file information includes a hash computation and a file size for each referenced file and assembly. Also, the assembly identity is obtained for any referenced assemblies with an unspecified assembly identity. Any resulting errors or warnings are reported in the OutputMessageCollection object.

.NET Framework Security

See Also

Reference

Manifest Class

UpdateFileInfo Overload

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace