Common MSBuild item metadata
The following table describes optional item metadata that have meaning for some MSBuild SDKs or targets, but that are not set by default for every item. You can set these to influence build behavior, but only if the SDK or target files you are using recognize it.
Item metadata | SDKs | Description |
---|---|---|
%(Link) | All | The Visual Studio project system uses Link metadata (if present) to alter what shows up in the project tree; you can put a file in a different logical folder structure in Solution Explorer.In addition, the AssignTargetPath task looks at Link to determine where in the output directory to copy a file to, if it’s one of the items that gets copied. |
%(LinkBase) | .NET Core SDK | Used to set the folder to be used for Link metadata for groups of items. |
See also
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про