Manifest.UpdateFileInfo Method

Definition

Updates file information for each referenced assembly and file.

Overloads

UpdateFileInfo()

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

UpdateFileInfo(String)

Updates file information for each referenced assembly and file, using the specified version of the target framework.

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.

UpdateFileInfo()

Source:
Manifest.cs

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

C#
public void 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.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

UpdateFileInfo(String)

Source:
Manifest.cs

Updates file information for each referenced assembly and file, using the specified version of the target framework.

C#
public void UpdateFileInfo(string targetFrameworkVersion);

Parameters

targetFrameworkVersion
String

The version of the target framework to use. Null if no target framework version. If no target framework version, uses sha256 algorithm.

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.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1