Skip to content

Commit

Permalink
TEST-0011 Fix location of assembly attribute to match the class location
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed Nov 13, 2024
1 parent 2d92d39 commit b07b282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/backend/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="WebApi.Attributes.DefineConstantsAttribute">
<_Parameter1>"$(DefineConstants)"</_Parameter1>
</AssemblyAttribute>

<NuGetAuditSuppress
Include="https://github.com/advisories/GHSA-5f2m-466j-3848;https://github.com/advisories/GHSA-x5qj-9vmx-7g6g;https://github.com/advisories/GHSA-xhfc-gr8f-ffwc" />

Expand Down
3 changes: 3 additions & 0 deletions src/backend/WebApi/WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

<ItemGroup>
<InternalsVisibleTo Include="WebApi.Tests" />
<AssemblyAttribute Include="WebApi.Attributes.DefineConstantsAttribute">
<_Parameter1>"$(DefineConstants)"</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

<Target Name="RestoreDotnetTools" BeforeTargets="CollectPackageReferences">
Expand Down

0 comments on commit b07b282

Please sign in to comment.