-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi it is possible to add ability to specify projects groups based on trait|category|group?
This could replace slnf, so instead of having several slnf files in repository we could have only one slnx file where could be projects annotated with props. i.e Category|Group...
Example
<Solution>
<Configurations>
<BuildType Name="Debug" />
<BuildType Name="Release" />
</Configurations>
<Folder Name="/Solution Items/">
<File Path=".editorconfig" />
<File Path="README.md" />
<File Path="NuGet.Config" />
<File Path="Directory.Build.props" />
</Folder>
<Folder Name="/test/">
<Project Path="test\FunctionalTests\FunctionalTests.csproj" />
<Project Path="test\UnitTests\UnitTests.csproj" Category="UnitTests"/>
<Project Path="test\UnitTests1\UnitTests1.csproj" Category="UnitTests"/>
</Folder>
<Folder Name="/src/">
<Project Path="src\My.API\My.API.csproj" Category="Group1"/>
<Project Path="src\My.API1\My.API1.csproj" Category="Group2"/>
<Project Path="src\My.API2\My.API2.csproj" Category="Group1"/>
<Project Path="src\My.API3\My.API3.csproj" Category="Group1"/>
<Project Path="src\My.API4\My.API4.csproj" Category="Group2"/>
<Project Path="src\My.API5\My.API5.csproj" Category="Group1"/>
</Folder>
</Solution>
Usage
dotnet test --filter Category=UnitTests
this should build&testtest\UnitTests\UnitTests.csprojandtest\UnitTests1\UnitTests1.csprojdotnet build --filter Category=Group2
this should buildsrc\My.API1\My.API1.csprojandsrc\My.API4\My.API4.csproj
304NotModified, Frulfump and prvykdan0sh, Mrxx99, kaylumah, edvilme and Nirmal4G
Metadata
Metadata
Assignees
Labels
No labels