Manifest.UpdateFileInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void UpdateFileInfo();
public void UpdateFileInfo ();
member this.UpdateFileInfo : unit -> unit
Public Sub 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
UpdateFileInfo(String)
- Source:
- Manifest.cs
Updates file information for each referenced assembly and file, using the specified version of the target framework.
public:
void UpdateFileInfo(System::String ^ targetFrameworkVersion);
public void UpdateFileInfo (string targetFrameworkVersion);
member this.UpdateFileInfo : string -> unit
Public Sub UpdateFileInfo (targetFrameworkVersion As String)
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.