Skip to content

Commit 521ab79

Browse files
authored
Fix framework multitargeting (#688)
1 parent e2da260 commit 521ab79

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/PAModel/Microsoft.PowerPlatform.Formulas.Tools.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
<RootNamespace>Microsoft.PowerPlatform.Formulas.Tools</RootNamespace>
88
</PropertyGroup>
99

10+
<PropertyGroup Label="Override Directory.Build.props Settings">
11+
<!-- Clear the singular TargetFramework set by Directory.Build.props, so that it doesn't take precedence over the plural TargetFrameworks set above. -->
12+
<TargetFramework></TargetFramework>
13+
<!-- Directory.Build.props sets paths assuming a single Target Framework. Add the framework to the path to prevent overwriting one with the other -->
14+
<OutDir>$(OutDir)\$(TargetFramework)</OutDir>
15+
</PropertyGroup>
16+
1017
<!-- Nuget Properties -->
1118
<PropertyGroup>
1219
<PackageId>Microsoft.PowerPlatform.Formulas.Tools</PackageId>

0 commit comments

Comments
 (0)