-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Issue Description
Not sure if this is a bug as such, but had to pick a template all the same. I set my compiler output to Normal and noticed this output:
1>Target GenerateTargetFrameworkMonikerAttribute:
1> Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
1>Target CoreGenerateAssemblyInfo:
1> Could not infer the type of parameter "#1" because the attribute type is unknown. The value will be treated as a string.
1>Target _GenerateSourceLinkFile:
1> Updating Source Link file 'obj\Release\net8.0\MSATools.sourcelink.json'.
Why does it say:
Could not infer the type of parameter "#1" because the attribute type is unknown. The value will be treated as a string.
I have tried to find an explanation, but it is a little over my head. Eg:
This is a C# .NET8.0 Console App build with latest version of Visual Stduio 2022.
Steps to Reproduce
I can't get this to reproduce with an empty C# console project so I am not sure of the steps to reproduce.
Expected Behavior
I don't expect to see this warning.
Actual Behavior
I am getting this warning.
Analysis
Initially I thought it was because my version numbers for n.n.n
and I changed them to n.n.n.n
. It it was not the reason.
Versions & Configurations
MSBuild version 17.9.8+b34f75857 for .NET Framework
17.9.8.16306
Windows 11 x64