Skip to content

Commit

Permalink
Add resource only when it is not already present (#3842)
Browse files Browse the repository at this point in the history
  • Loading branch information
alekhyareddy28 authored Jun 1, 2020
1 parent 8cc58d0 commit d2dfbff
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,10 @@ internal string ResourceFromPri(string packageFullName, string resourceReference
{
parsed = prefix + "//" + key;
}
else if (key.Contains("resources", StringComparison.OrdinalIgnoreCase))
{
parsed = prefix + key;
}
else
{
parsed = prefix + "///resources/" + key;
Expand Down

0 comments on commit d2dfbff

Please sign in to comment.