Skip to content

Commit df41e6d

Browse files
author
Oren Novotny
committed
Move Product to targets so it gets applied
1 parent de0ad8d commit df41e6d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Ix.NET/Source/Directory.build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<Project>
1+
<Project>
22

33
<PropertyGroup>
4-
<Product>$(AssemblyName) ($(TargetFramework))</Product>
54
<Copyright>Copyright (c) .NET Foundation and Contributors.</Copyright>
65
<MinClientVersion>2.12</MinClientVersion>
76
<GenerateDocumentationFile>true</GenerateDocumentationFile>

Ix.NET/Source/Directory.build.targets

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project>
1+
<Project>
22
<!-- This has to be set in targets as the default props will overwrite -->
33
<PropertyGroup>
44
<DebugType Condition="'$(IsTestProject)' != 'true'">embedded</DebugType>
@@ -15,6 +15,9 @@
1515
<DefineConstants>$(DefineConstants);NO_ARRAY_EMPTY</DefineConstants>
1616
</PropertyGroup>
1717

18+
<PropertyGroup>
19+
<Product>$(AssemblyName) ($(TargetFramework))</Product>
20+
</PropertyGroup>
1821

1922
<Target Name="GetRefsForPackage" BeforeTargets="_GetPackageFiles"
2023
Condition=" Exists('$(MSBuildThisFileDirectory)refs\$(MSBuildProjectName)\$(MSBuildProjectName).csproj') ">

0 commit comments

Comments
 (0)