microsoft / Power-Fx

Power Fx low-code programming language
MIT License
3.19k stars 322 forks source link

dotnet pack fails with "The icon file 'icon.png' does not exist in the package" #1671

Open ckkashyap opened 1 year ago

ckkashyap commented 1 year ago

Runing dotnet pack fails.

D:\Power-Fx>dotnet pack src\Microsoft.PowerFx.sln --output d:\junk\repo MSBuild version 17.6.3+07e294721 for .NET Determining projects to restore... All projects are up-to-date for restore. Microsoft.PowerFx.Transport.Attributes -> D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Transport.Attributes\bin\Debug\netstandard2.0\Microsoft.PowerFx.Transport.Attributes.d ll C:\Program Files\dotnet\sdk\7.0.304\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5046: The icon file 'icon.png' does not exist in the package. [D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Transport.Attributes\Microsoft.PowerFx.Transport.Attributes.csproj] Microsoft.PowerFx.Core -> D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Core\bin\Debug\netstandard2.0\Microsoft.PowerFx.Core.dll Microsoft.PowerFx.LanguageServerProtocol -> D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.LanguageServerProtocol\bin\Debug\netstandard2.0\Microsoft.PowerFx.LanguageServerProt ocol.dll Microsoft.PowerFx.Json -> D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Json\bin\Debug\netstandard2.0\Microsoft.PowerFx.Json.dll C:\Program Files\dotnet\sdk\7.0.304\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5046: The icon file 'icon.png' does not exist in the package. [D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Json\Microsoft.PowerFx.Json.csproj] C:\Program Files\dotnet\sdk\7.0.304\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5046: The icon file 'icon.png' does not exist in the package. [D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.LanguageServerProtocol\Microsoft.PowerFx.LanguageServerProtocol.csproj] Microsoft.PowerFx.Interpreter -> D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Interpreter\bin\Debug\netstandard2.0\Microsoft.PowerFx.Interpreter.dll C:\Program Files\dotnet\sdk\7.0.304\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5046: The icon file 'icon.png' does not exist in the package. [D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Interpreter\Microsoft.PowerFx.Interpreter.csproj] Microsoft.PowerFx.Connectors -> D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Connectors\bin\Debug\netstandard2.0\Microsoft.PowerFx.Connectors.dll C:\Program Files\dotnet\sdk\7.0.304\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error NU5046: The icon file 'icon.png' does not exist in the package. [D:\junk\Power-Fx\src\libraries\Microsoft.PowerFx.Connectors\Microsoft.PowerFx.Connectors.csproj]

ckkashyap commented 1 year ago

https://github.com/microsoft/Power-Fx/pull/1672