aspire
aspire copied to clipboard
Add support for setting MSBuild Property
Is there an existing issue for this?
- [x] I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
I have a csproj that allows the user to set the TEST property.
<ItemGroup Condition="'$(TEST)' == 'true'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(NetEF)" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite.NetTopologySuite" Version="$(NetEF)" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(NetEF)" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" Version="$(NetEF)" />
</ItemGroup>
My problem is that I want a Docker Compose file. I used the Aspire CLI command as follows:
aspire publish -p:TEST=false -o docker-compose-artifacts
I want to pass the property to all projects.
Describe the solution you'd like
aspire publish -p:TEST=false -o docker-compose-artifacts
I want to pass the property to all projects.
Additional context
No response