On Thu, Aug 15, 2013 at 9:42 AM, David Lechner <[email protected]> wrote:
> Could it have to do with the fact that you are targeting .NET 2.0 (using > gmcs). It seems to work correctly with my project targeting .NET 4.0 (using > dmcs). I get the correct /debug- flag when I have > <DebugType>none</DebugType> in my .csproj file. Or maybe you have a > mismatched <DebugSymbols>true</**DebugSymbols> in your .csproj? > Hmm. I don't see any mismatched DebugSymbols, and the xbuild spec in Microsoft.CSharp.targets looks like it should be impervious to this mistake anyhow.. <PropertyGroup> <DebugSymbols Condition=" '$(DebugType)' == 'none' ">false</DebugSymbols> <DebugType Condition=" '$(DebugType)' == 'none' "></DebugType> </PropertyGroup> It looks to me like this same Microsoft.CSharp.targets file is being used for targeting 2.0. I was able to workaround the problem by removing references to DebugType=none, and instead using DebugSymbols=false. However, other people seem to be having this problem as well. I think it's an issue in xbuild, I just can't find it. https://jira.codehaus.org/browse/SONARDOTNT-281
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
