--- src/NLog.Extended/NLog.Extended.monodevelop.csproj.old 2011-07-15 21:13:45.981007644 +0200 +++ src/NLog.Extended/NLog.Extended.monodevelop.csproj 2011-07-15 21:14:03.452000732 +0200 @@ -84,8 +84,10 @@ </ProjectReference> </ItemGroup> <Target Name="BeforeBuild"> - <ItemGroup Condition="Exists('$(BuildInfoFile)')"> - <Compile Include="$(BuildInfoFile)" /> + <ItemGroup Condition="'$(BuildInfoFile)' != '' "> + <ItemGroup Condition="Exists('$(BuildInfoFile)')"> + <Compile Include="$(BuildInfoFile)" /> + </ItemGroup> </ItemGroup> </Target> </Project>