Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@
<TargetsForPack>$(TargetsForPack);_BuildGeneratorOnce;_AddAnalyzer</TargetsForPack>
</PropertyGroup>

<!-- Fail fast if TargetFrameworks from src/Directory.Build.props is not applied -->
<Target Name="_EnsureTargetFrameworks" BeforeTargets="Pack">
<PropertyGroup>
<_ExpectedDirectoryBuildProps>$(MSBuildProjectDirectory)\..\Directory.Build.props</_ExpectedDirectoryBuildProps>
</PropertyGroup>
<Error Condition="'$(TargetFrameworks)' == ''"
Text="TargetFrameworks is empty. This project relies on $(_ExpectedDirectoryBuildProps) for its TFM list. Ensure ImportDirectoryBuildProps is enabled and the file is imported." />
</Target>

<ItemGroup>
<!-- Build children but do NOT turn them into NuGet dependencies -->
<ProjectReference Include="..\Dapr.Workflow.Versioning.Abstractions\Dapr.Workflow.Versioning.Abstractions.csproj"
Expand Down
Loading