From 1f0d405dcbffdc995d8cf932323a50c5c8a838a6 Mon Sep 17 00:00:00 2001 From: "j-h.choi" Date: Mon, 19 Oct 2020 17:18:52 +0900 Subject: [PATCH] Enable generation of .pdb file in release mode Change-Id: If76917e66fd15cad0c6b9478c7814538b0a62a42 --- Managed/Tizen.Runtime/Tizen.Runtime.csproj | 4 ++++ packaging/dotnet-launcher.spec | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Managed/Tizen.Runtime/Tizen.Runtime.csproj b/Managed/Tizen.Runtime/Tizen.Runtime.csproj index 447dcb6..9dfd602 100644 --- a/Managed/Tizen.Runtime/Tizen.Runtime.csproj +++ b/Managed/Tizen.Runtime/Tizen.Runtime.csproj @@ -5,4 +5,8 @@ True Release + + pdbonly + true + diff --git a/packaging/dotnet-launcher.spec b/packaging/dotnet-launcher.spec index 2a403d7..7d1ee19 100644 --- a/packaging/dotnet-launcher.spec +++ b/packaging/dotnet-launcher.spec @@ -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 -- 2.7.4