Skip to content

Commit

Permalink
Make it compatible with mono 3.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
drslump committed Dec 1, 2013
1 parent 0034c40 commit c47c38d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Boo.Microsoft.Build.Tasks/Boo.Microsoft.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@
<TargetFrameworkMonikerAssemblyAttributesPath Condition="'$(InitialTargetFrameworkMonikerAssemblyAttributesPath)' == ''">
$(IntermediateOutputPath)$(TargetFrameworkMoniker).AssemblyAttribute$(DefaultLanguageSourceExtension)
</TargetFrameworkMonikerAssemblyAttributesPath>
<TargetFrameworkMonikerAssemblyAttributeText Condition="'$(TargetFrameworkMoniker)' != '' and '$(TargetingClr2Framework)' != 'true'">
# autogenerated
[assembly: System.Runtime.Versioning.TargetFrameworkAttribute(&quot;$(TargetFrameworkMoniker)&quot;, FrameworkDisplayName : &quot;$(TargetFrameworkMonikerDisplayName)&quot;)]
</TargetFrameworkMonikerAssemblyAttributeText>
</PropertyGroup>

<!-- Some versions of MSBuild expect the TargetFrameworkMoniker in a specific target -->
<Target Name="_SetTargetFrameworkMonikerAttribute" BeforeTargets="GenerateTargetFrameworkMonikerAttribute">
<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributeText Condition="'$(TargetFrameworkMoniker)' != '' and '$(TargetingClr2Framework)' != 'true'">
Expand Down Expand Up @@ -128,4 +134,4 @@
<CallTarget Targets="$(TargetsTriggeredByCompilation)" Condition="'$(TargetsTriggeredByCompilation)' != ''"/>
</Target>

</Project>
</Project>

0 comments on commit c47c38d

Please sign in to comment.