Reputation: 193
I need add <CustomItem>
in <ItemGroup>
with mandatory metadata. Visual Studio autocomplete works with standard elements of files with header:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
How can I write local file with schema and include in MSBuild file?
Upvotes: 1
Views: 399
Reputation: 100741
The schema is only used for VS' xml editor completion logic. Since VS 2017 / MSBuild 15, it isn't even necessary to include any XML namespace to get the "default" completion logic for common properties and items.
You can create any property, item or task without adding a schema file.
Upvotes: 1