local DEST=$1; shift
mkdir -p $DEST
if [[ $TYPE == "assembly" ]]; then
- find $PROJECT/bin -name $PROJECT.dll -exec install -p -m 644 {} $DEST \;
+ find $PROJECT/bin -name $PROJECT.dll -not -path "*/ref/*" -exec install -p -m 644 {} $DEST \;
elif [[ $TYPE == "nupkg" ]]; then
find . -name "$PROJECT.[0-9]*.nupkg" -exec install -p -m 644 {} $DEST \;
fi
--- /dev/null
+#!/bin/bash
+
+DOTNET_CLI_PATH=/usr/share/dotnet-build-tools/cli/dotnet
+
+export DOTNET_CLI_TELEMETRY_OPTOUT=1
+export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
+export MSBUILDDISABLENODEREUSE=true
+
+$DOTNET_CLI_PATH $@ /nodeReuse:false /p:UseRazorBuildServer=false /p:UseSharedCompilation=false
Name: dotnet-build-tools
Summary: Tools for building C# API projects
-Version: 2.1.500
+Version: 2.1.502
Release: 1
Group: Development/Libraries
License: MIT and Apache-2.0
URL: https://www.tizen.org
Source0: %{name}-%{version}.tar.gz
Source1: macros.dotnet-build-tools
-Source21: dotnet-sdk-2.1.500-linux-x64.tar.gz
+Source21: dotnet-sdk-%{version}-linux-x64.tar.gz
Source22: deps.tar.gz
AutoReqProv: no
Build target files (.Targets) and Tools (including NuGet.exe) for building
C# Deivce API with xbuild in GBS environment.
-%define TOOLS_PATH %{_datadir}/dotnet-build-tools
+%define TOOLS_PATH /usr/share/dotnet-build-tools
%define CLI_PATH %{TOOLS_PATH}/cli
%prep
# .NETCore SDK
mkdir -p %{buildroot}%{CLI_PATH}
cp -fr ./dotnet/* %{buildroot}%{CLI_PATH}
-ln -s %{CLI_PATH}/dotnet %{buildroot}%{_bindir}/dotnet
+ln -s %{TOOLS_PATH}/dotnet-wrapper.sh %{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