Skip to content

Commit

Permalink
Revert "[Build] Generation of TargetFrameworkAttribute can now be sup…
Browse files Browse the repository at this point in the history
…pressed with property GenerateTargetFrameworkAttribute"

This reverts commit 2033858.
  • Loading branch information
RobertvanderHulst committed Dec 3, 2024
1 parent 2033858 commit 2baa60d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ Copyright (c) XSharp B.V. All Rights Reserved
<SynthesizeLinkMetadata Condition=" '$(SynthesizeLinkMetadata)' == '' and '$(HasSharedItems)' == 'true' ">true</SynthesizeLinkMetadata>
<DefaultProjectTypeGuid Condition=" '$(DefaultProjectTypeGuid)' == '' ">{AA6C8D78-22FF-423A-9C7C-5F2393824E04}</DefaultProjectTypeGuid>
<AppDesignerFolder Condition="'$(AppDesignerFolder)' == ''">Properties</AppDesignerFolder>
<GenerateTargetFrameworkAttribute Condition="$(GenerateTargetFrameworkAttribute)' == ''">true</GenerateTargetFrameworkAttribute>

<!-- Make sure that we have full paths when compiling inside VS -->
<GenerateFullPaths Condition="'$(BuildingInsideVisualStudio)'=='true'">true</GenerateFullPaths>
</PropertyGroup>
Expand Down Expand Up @@ -428,7 +426,7 @@ Copyright (c) XSharp B.V. All Rights Reserved
</Target>

<Target Name="_SetTargetFrameworkMonikerAttribute" BeforeTargets="GenerateTargetFrameworkMonikerAttribute">
<PropertyGroup Condition="$(GenerateTargetFrameworkAttribute)' == 'true'">
<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributeText Condition="'$(TargetFrameworkMoniker)' != '' and '$(TargetingClr2Framework)' != 'true'">
// &lt;autogenerated /&gt;
using System
Expand Down

0 comments on commit 2baa60d

Please sign in to comment.