Skip to content
Merged
Show file tree
Hide file tree
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
20 changes: 6 additions & 14 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,17 @@
</PropertyGroup>

<Target Name="SetAuthors">
<RemoveDuplicates
Inputs="@(Author)">
<Output
TaskParameter="Filtered"
ItemName="_Author"/>
<RemoveDuplicates Inputs="@(Author)">
<Output TaskParameter="Filtered" ItemName="_Author" />
</RemoveDuplicates>
<PropertyGroup>
<Authors Condition="'@(_Author)'!=''">@(_Author, ',')</Authors>
</PropertyGroup>
</Target>

<Target Name="SetPackageTags">
<RemoveDuplicates
Inputs="@(PackageTag)">
<Output
TaskParameter="Filtered"
ItemName="_PackageTag"/>
<RemoveDuplicates Inputs="@(PackageTag)">
<Output TaskParameter="Filtered" ItemName="_PackageTag" />
</RemoveDuplicates>
<PropertyGroup>
<PackageTags Condition="'$(PackageTags)'==''">@(_PackageTag, ' ')</PackageTags>
Expand All @@ -54,7 +48,7 @@
</ItemGroup>
<ItemGroup>
<GitProjectDirectory Include="$(MSBuildProjectDirectory)" />
<GitProjectDirectory Include="@(ProjectReference->DirectoryName())" />
<GitProjectDirectory Include="@(ProjectReference-&gt;DirectoryName())" />
</ItemGroup>
<Message Importance="high" Text="Project: $(MSBuildProjectName)" />
<Message Importance="high" Text="Git Commit IDs: %(_Temporary.Identity)" />
Expand All @@ -67,9 +61,7 @@
<Output TaskParameter="ConsoleOutput" ItemName="ProjectCommitID" />
</Exec>
<ItemGroup>
<ProjectCommitID Condition="'%(Identity)' != '' AND
'@(ProjectCommitID)' != '' AND
'@(_Temporary)' != ''">
<ProjectCommitID Condition="'%(Identity)' != '' AND '@(ProjectCommitID)' != '' AND '@(_Temporary)' != ''">
<CommitIDFound>true</CommitIDFound>
</ProjectCommitID>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.20" Condition="'$(TargetFramework)'=='net7.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.17" Condition="'$(TargetFramework)'=='net8.0'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.6" Condition="'$(TargetFramework)'=='net9.0'" />
<PackageReference Include="Microsoft.Playwright" Version="1.52.0" />
<PackageReference Include="Microsoft.Playwright" Version="1.53.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Sample.WebApp.Tests/Sample.WebApp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<ItemGroup Label="Testing">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.2">
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Loading