From: WonYoung Choi Date: Thu, 20 Jul 2017 21:58:53 +0000 (+0900) Subject: Revert "Make symbol nuget package when use dotnet-cli" X-Git-Tag: submit/tizen/20170720.223242~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8639ad95474f5922828c8f36264fb19062c4ce8c;p=platform%2Fcore%2Fdotnet%2Fbuild-tools.git Revert "Make symbol nuget package when use dotnet-cli" This reverts commit 530fd3cae94780c3a362efc3faf9b18c7b8f1d75. --- diff --git a/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets b/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets index c22e8960..be4fc945 100644 --- a/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets +++ b/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets @@ -1,14 +1,55 @@ + + + false + true + + + + + <_ShortTargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">netstandard + <_ShortTargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == 'Tizen'">tizen + <_TargetFrameworkVersionWithoutV Condition="$(TargetFrameworkVersion.StartsWith('v'))">$(TargetFrameworkVersion.Substring(1)) + $(_ShortTargetFrameworkIdentifier)$(_TargetFrameworkVersionWithoutV) + $(NoWarn);1591 + + + + $(BuildDependsOn); + __AppendNuGetAssemblyFiles; + + + - + $(OutputPath)$(AssemblyName).xml + + + <__NuSpecFile>$(MSBuildProjectDirectory)/$(AssemblyName).nuspec + + + + + + lib/$(TargetFramework) + + + lib/$(TargetFramework) + + + + + + + + diff --git a/Tools/dotnet-build.sh b/Tools/dotnet-build.sh index c8ade713..bd967b4d 100755 --- a/Tools/dotnet-build.sh +++ b/Tools/dotnet-build.sh @@ -121,7 +121,7 @@ cmd_pack() { if $USE_DOTNET_CLI; then [ -n "$CONFIGURATION" ] && OPTS="$OPTS -c $CONFIGURATION" [ -n "$VERSION" ] && OPTS="$OPTS /p:Version=$VERSION" - run_dotnet pack --no-restore --include-symbols $PROJECT $OPTS $@ + run_dotnet pack --no-restore $PROJECT $OPTS $@ else local NUSPEC=($PROJECT) if [ -d $PROJECT ]; then diff --git a/packaging/dotnet-build-tools.spec b/packaging/dotnet-build-tools.spec index 6387c433..b3ce37e7 100644 --- a/packaging/dotnet-build-tools.spec +++ b/packaging/dotnet-build-tools.spec @@ -3,7 +3,7 @@ Name: dotnet-build-tools Summary: Tools for building C# API projects -Version: 1.3.0 +Version: 1.2.8 Release: 1 Group: Development/Libraries License: MIT and Apache-2.0