Suggestion by @mmitche:
It looks like MsBuildProject, MsBuildProjectFilePerLibAsset, and BuildScript, and BuildScriptPerLibAsset would be mutually exclusive, but it’s not obvious. I wonder whether you could combine them into a single object that makes it more obvious how to construct it. Maybe something like:
{
"PackageName": "Package03",
"Build": [
"*": {
"BuildScript": "foo.cmd"
}
],
}
// With per-lib projects.
{
"PackageName": "Package03",
"Build": [
"net6/Package03.dll": {
"ProjectFile": "src/package03/net6/package03.vbproj"
},
"net7/Package03.dll": {
"ProjectFile": "src/package03/net7/package03.csproj"
},
]
}
Suggestion by @mmitche: