Manifest.UpdateFileInfo Method (String)


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

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)

public void UpdateFileInfo(
	string targetFrameworkVersion


Type: System.String

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

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.

Return to top