Skip to content

Commit 1d01fd3

Browse files
authored
[build] Generate debug symbols in Release configuration (#130)
Debug symbols are needed to get line numbers in stack traces, which is a handy feature even for Release binaries...
1 parent cfa74d3 commit 1d01fd3

File tree

11 files changed

+11
-1
lines changed

11 files changed

+11
-1
lines changed

src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<ConsolePause>false</ConsolePause>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<ErrorReport>prompt</ErrorReport>

src/Java.Interop.Tools.Diagnostics/Java.Interop.Tools.Diagnostics.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<ConsolePause>false</ConsolePause>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<ErrorReport>prompt</ErrorReport>

src/Java.Interop.Tools.JavaCallableWrappers/Java.Interop.Tools.JavaCallableWrappers.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<ConsolePause>false</ConsolePause>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<DefineConstants>JCW_ONLY_TYPE_NAMES;HAVE_CECIL</DefineConstants>

src/Java.Interop/Java.Interop.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<DocumentationFile>..\..\bin\Debug\Java.Interop.xml</DocumentationFile>
3030
</PropertyGroup>
3131
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
32+
<DebugType>full</DebugType>
3233
<Optimize>true</Optimize>
3334
<OutputPath>..\..\bin\Release</OutputPath>
3435
<ErrorReport>prompt</ErrorReport>

src/Xamarin.Android.Cecil/Xamarin.Android.Cecil.Mdb.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<WarningLevel>4</WarningLevel>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<ErrorReport>prompt</ErrorReport>

src/Xamarin.Android.Cecil/Xamarin.Android.Cecil.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<WarningLevel>4</WarningLevel>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<ErrorReport>prompt</ErrorReport>

src/Xamarin.Android.Tools.AnnotationSupport.Cecil/Xamarin.Android.Tools.AnnotationSupport.Cecil.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<ConsolePause>false</ConsolePause>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<ErrorReport>prompt</ErrorReport>

src/Xamarin.Android.Tools.AnnotationSupport/Xamarin.Android.Tools.AnnotationSupport.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<ConsolePause>false</ConsolePause>
2222
</PropertyGroup>
2323
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
24+
<DebugType>full</DebugType>
2425
<Optimize>true</Optimize>
2526
<OutputPath>..\..\bin\Release</OutputPath>
2627
<ErrorReport>prompt</ErrorReport>

src/Xamarin.Android.Tools.ApiXmlAdjuster/Xamarin.Android.Tools.ApiXmlAdjuster.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<ConsolePause>false</ConsolePause>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
2526
<Optimize>true</Optimize>
2627
<OutputPath>..\..\bin\Release</OutputPath>
2728
<ErrorReport>prompt</ErrorReport>

tools/generator/generator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<ConsolePause>false</ConsolePause>
3030
</PropertyGroup>
3131
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
32-
<DebugType>none</DebugType>
32+
<DebugType>full</DebugType>
3333
<Optimize>False</Optimize>
3434
<OutputPath>$(UtilityOutputFullPath)</OutputPath>
3535
<ErrorReport>prompt</ErrorReport>

0 commit comments

Comments
 (0)