Skip to content

Commit

Permalink
Set DependentUpon to absolute rather than relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Oct 18, 2023
1 parent b50dda0 commit 3f436e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/CKAN-GUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<DependentUpon>%(Filename).cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Update="Localization\**\*.resx">
<DependentUpon>..\..\..\$([System.IO.Directory]::GetFiles('GUI', '$([System.Text.RegularExpressions.Regex]::Replace(%(Filename), '\..*', '')).cs', System.IO.SearchOption.AllDirectories)[0])</DependentUpon>
<DependentUpon>$([System.IO.Directory]::GetFiles($(MSBuildProjectDirectory), '$([System.Text.RegularExpressions.Regex]::Replace(%(Filename), '\..*', '')).cs', System.IO.SearchOption.AllDirectories)[0])</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Target Name="BeforeBuild">
Expand Down

0 comments on commit 3f436e7

Please sign in to comment.