Skip to content

Warnings(?): "Could not infer the type of parameter.... The value will be treated as a string." #34

@bmcdonnell-fb

Description

@bmcdonnell-fb

When I include MSBuildGitHash (v2.0.2) in my .NET Framework WebApp project, I get warnings as shown below.

2>RunAssemblyMetadataCommand:
2>  git describe --tags --always --dirty=*
2>  0.1-4-g0123abc*
2>RunAssemblyMetadataCommand:
2>  git describe --tag
2>  0.1-4-g0123abc
2>WriteGitHash:
2>  Could not infer the type of parameter "#1" because the attribute type is unknown. The value will be treated as a string.
2>  Could not infer the type of parameter "#2" because the attribute type is unknown. The value will be treated as a string.
2>  Could not infer the type of parameter "#1" because the attribute type is unknown. The value will be treated as a string.
2>  Could not infer the type of parameter "#2" because the attribute type is unknown. The value will be treated as a string.
2>  Could not infer the type of parameter "#1" because the attribute type is unknown. The value will be treated as a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions