Enable generation of .pdb file in release mode
authorj-h.choi <j-h.choi@samsung.com>
Mon, 19 Oct 2020 08:18:52 +0000 (17:18 +0900)
committer조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Fri, 18 Dec 2020 00:53:37 +0000 (09:53 +0900)
Change-Id: If76917e66fd15cad0c6b9478c7814538b0a62a42

Managed/Tizen.Runtime/Tizen.Runtime.csproj
packaging/dotnet-launcher.spec

index 447dcb6..9dfd602 100644 (file)
@@ -5,4 +5,8 @@
            <NoWin32Manifest>True</NoWin32Manifest>
            <Configuration>Release</Configuration>
     </PropertyGroup>
+    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+        <DebugType>pdbonly</DebugType>
+        <DebugSymbols>true</DebugSymbols>
+    </PropertyGroup>
 </Project>
index 2a403d7..7d1ee19 100644 (file)
@@ -146,6 +146,7 @@ rm -rf %{buildroot}
 %make_install
 mkdir -p %{buildroot}%{_framework_dir}
 mv Managed/Tizen.Runtime/bin/Release/Tizen.Runtime.dll %{buildroot}%{_framework_dir}
+mv Managed/Tizen.Runtime/bin/Release/Tizen.Runtime.pdb %{buildroot}%{_framework_dir}
 
 mkdir -p %{buildroot}%{_dotnet_dir}
 mkdir -p %{buildroot}%{_native_lib_dir}
@@ -214,6 +215,7 @@ chsmack -a User /usr/bin/dotnet-nui-loader
 %{_libdir}/libni_common.so
 %{_libdir}/libtac_common.so
 %{_libdir}/pkgconfig/dotnet-launcher.pc
+%{_framework_dir}/Tizen.Runtime.pdb
 
 %files gbs-support
 %{_bindir}/dotnet-corerun