Skip to content

Commit d779b5b

Browse files
committed
UnitsNet.Net35.csproj: Add conditional SkipGenerateUnits
1 parent 63350d0 commit d779b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitsNet/UnitsNet.Net35.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
4949
</ItemGroup>
5050
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
51-
<PropertyGroup>
51+
<PropertyGroup Condition="$(SkipGenerateUnits) == '' Or $(SkipGenerateUnits) == '*Undefined*'">
5252
<PreBuildEvent>call $(ProjectDir)..\GenerateUnits.bat</PreBuildEvent>
5353
</PropertyGroup>
5454
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 commit comments

Comments
 (0)