Tizen.GBS.ImportAfter.targets file adds XML documentation to each
project build when using %dotnet_build macro
Change-Id: I7e1c1209bad53d3da8c10126e9c8f43ae903bc1b
--- /dev/null
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup Condition=" '$(UsingRPMMacro)' == 'true' ">
+
+ <!-- DocumentationFile -->
+ <NoWarn>$(NoWarn);1591</NoWarn>
+ <DocumentationFile Condition="'$(DocumentationFile)' == ''">$(OutputPath)$(AssemblyName).xml</DocumentationFile>
+
+ </PropertyGroup>
+
+</Project>
Name: dotnet-build-tools
Summary: Tools for building C# API projects
-Version: 1.3.1
+Version: 1.3.2
Release: 1
Group: Development/Libraries
License: MIT and Apache-2.0
cp -fr ./dotnet/* %{buildroot}%{CLI_PATH}
ln -s %{CLI_PATH}/dotnet %{buildroot}%{_bindir}/dotnet
+# Tizen.GBS.BuildTasks
+install -p -m 644 Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets %{buildroot}%{CLI_PATH}/sdk/*/15.0/Microsoft.Common.targets/ImportAfter
+
# NuGet
mkdir -p %{buildroot}%{NUGET_PATH}
install -p -m 755 NuGet/* %{buildroot}%{NUGET_PATH}
%{nil}
%dotnet_build(s:) \
-dotnet-build -c %{_dotnet_build_conf} -s %{-s:%{-s*}}%{!-s:%{_dotnet_nuget_source}} build %{1} %{?2} %{?3} %{?4} %{?5} %{?6} \
+dotnet-build -c %{_dotnet_build_conf} -s %{-s:%{-s*}}%{!-s:%{_dotnet_nuget_source}} build %{1} /p:UsingRPMMacro=true %{?2} %{?3} %{?4} %{?5} %{?6} \
%{nil}
%dotnet_pack() \
-dotnet-build -c %{_dotnet_build_conf} %{?2:-v %{2}} pack %{1} %{?3} %{?4} %{?5} %{?6} %{?7} \
+dotnet-build -c %{_dotnet_build_conf} %{?2:-v %{2}} pack %{1} /p:UsingRPMMacro=true %{?3} %{?4} %{?5} %{?6} %{?7} \
%{nil}
%dotnet_install_assembly() \