You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/11/18 09:49:00 UTC

[jira] [Commented] (AVRO-2980) C# build breaks with PackageIconUrl

    [ https://issues.apache.org/jira/browse/AVRO-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17234428#comment-17234428 ] 

ASF subversion and git services commented on AVRO-2980:
-------------------------------------------------------

Commit baa676566eaaa81c5249d03edcf58b6a690a4c11 in avro's branch refs/heads/master from RyanSkraba
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=baa6765 ]

AVRO-2980: Use PackageIcon in C# dist (#1006)

* AVRO-2980: Use PackageIcon in C# dist

* Revert "AVRO-2980: Use PackageIcon in C# dist"

This reverts commit 861ec616a018c5b8ce82bc76d9d24b6f990246e0.

* AVRO-2961: Use PackageIcon isntead of PackageIconUrl. PackageIconUrl is deprecated and some package repos do not support it

* AVRO-2961: Use already existing avro-logo.png for package icon

* AVRO-2961: Hide avro-logo.png

Co-authored-by: Zoltan Csizmadia <Cs...@valassis.com>

> C# build breaks with PackageIconUrl
> -----------------------------------
>
>                 Key: AVRO-2980
>                 URL: https://issues.apache.org/jira/browse/AVRO-2980
>             Project: Apache Avro
>          Issue Type: Task
>            Reporter: Ryan Skraba
>            Assignee: Ryan Skraba
>            Priority: Major
>             Fix For: 1.10.1
>
>
> When building a distribution, we get the following error:
> {code}
> + dotnet pack --configuration Release Avro.sln
> Welcome to .NET Core 3.1!
> ---------------------
> SDK Version: 3.1.404
> Telemetry
> ---------
> The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
> Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
> ----------------
> Explore documentation: https://aka.ms/dotnet-docs
> Report issues and find source on GitHub: https://github.com/dotnet/core
> Find out what's new: https://aka.ms/dotnet-whats-new
> Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
> Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
> Write your first app: https://aka.ms/first-net-core-app
> --------------------------------------------------------------------------------------
> Microsoft (R) Build Engine version 16.7.1+52cd83677 for .NET
> Copyright (C) Microsoft Corporation. All rights reserved.
>   Determining projects to restore...
>   Restored /home/rskraba/avro/lang/csharp/src/apache/perf/Avro.perf.csproj (in 8.47 sec).
>   Restored /home/rskraba/avro/lang/csharp/src/apache/msbuild/Avro.msbuild.csproj (in 8.47 sec).
>   Restored /home/rskraba/avro/lang/csharp/src/apache/codegen/Avro.codegen.csproj (in 8.47 sec).
>   Restored /home/rskraba/avro/lang/csharp/src/apache/test/Avro.test.csproj (in 8.47 sec).
>   Restored /home/rskraba/avro/lang/csharp/src/apache/main/Avro.main.csproj (in 8.53 sec).
>   Avro.main -> /home/rskraba/avro/lang/csharp/src/apache/main/bin/Release/netstandard2.1/Avro.dll
>   Avro.main -> /home/rskraba/avro/lang/csharp/src/apache/main/bin/Release/netstandard2.0/Avro.dll
>   Avro.msbuild -> /home/rskraba/avro/lang/csharp/src/apache/msbuild/bin/Release/netstandard2.0/Avro.msbuild.dll
>   Avro.main -> /home/rskraba/avro/lang/csharp/src/apache/main/bin/Release/netcoreapp2.1/Avro.dll
>   Successfully created package '/home/rskraba/avro/lang/csharp/src/apache/msbuild/bin/Release/Avro.msbuild.1.0.0.nupkg'.
>   Avro.perf -> /home/rskraba/avro/lang/csharp/src/apache/perf/bin/Release/netcoreapp3.1/Avro.perf.dll
>   Avro.codegen -> /home/rskraba/avro/lang/csharp/src/apache/codegen/bin/Release/netcoreapp3.1/avrogen.dll
>   Avro.codegen -> /home/rskraba/avro/lang/csharp/src/apache/codegen/bin/Release/netcoreapp3.1/avrogen.dll
>   Successfully created package '/home/rskraba/avro/lang/csharp/src/apache/perf/bin/Release/Avro.perf.1.0.0.nupkg'.
> /usr/share/dotnet/sdk/3.1.404/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(198,5): error NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl [/home/rskraba/avro/lang/csharp/src/apache/main/Avro.main.csproj]
> /usr/share/dotnet/sdk/3.1.404/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(198,5): error NU5048: The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl [/home/rskraba/avro/lang/csharp/src/apache/codegen/Avro.codegen.csproj]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)