Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When building a distribution, we get the following error:
+ 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]
Attachments
Issue Links
- is related to
-
AVRO-2961 Support .NET 5.0 and make Avro.codegen to support LTS .Net Core (2.1, 3.1) as well
- Resolved
- links to