Skip to content

Commit

Permalink
Replace . with _ when generating authored component's targets. (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
j0shuams authored Nov 29, 2022
1 parent b245e57 commit e3f6727
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nuget/Microsoft.Windows.CsWinRT.Authoring.targets
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ Copyright (C) Microsoft Corporation. All rights reserved.

<!-- Transform the fetched xml nodes -->
<PropertyGroup>
<Transformed1>$([System.String]::Copy('$(Flat_Peeked_Depends1)').Replace('CsWinRT','$(AssemblyName)'))</Transformed1>
<Transformed2>$([System.String]::Copy('$(Flat_Peeked_Depends2)').Replace('CsWinRT','$(AssemblyName)'))</Transformed2>
<Transformed3>$([System.String]::Copy('$(Flat_Peeked_Target1)').Replace('CsWinRT','$(AssemblyName)'))</Transformed3>
<Transformed4>$([System.String]::Copy('$(Flat_Peeked_Target2)').Replace('CsWinRT','$(AssemblyName)'))</Transformed4>
<Transformed1>$([System.String]::Copy('$(Flat_Peeked_Depends1)').Replace('CsWinRT','$(AssemblyName)').Replace(".","_"))</Transformed1>
<Transformed2>$([System.String]::Copy('$(Flat_Peeked_Depends2)').Replace('CsWinRT','$(AssemblyName)').Replace(".","_"))</Transformed2>
<Transformed3>$([System.String]::Copy('$(Flat_Peeked_Target1)').Replace('CsWinRT','$(AssemblyName)').Replace(".","_"))</Transformed3>
<Transformed4>$([System.String]::Copy('$(Flat_Peeked_Target2)').Replace('CsWinRT','$(AssemblyName)').Replace(".","_"))</Transformed4>
</PropertyGroup>

<!-- Change the target names -->
Expand Down

0 comments on commit e3f6727

Please sign in to comment.