Unable to open Power BI.api NUPKG file from Visual Studio

Kalpana P 0 Reputation points

Hello Support team,

We are trying to open microsoft.powerbi.api.4.16.0 NUPKG file from Visual Studio. It's throwing error - "The file is not displayed in the text editor because it's binary or uses unsupported text encoding". Screenshot attached herewith. Could you please help us resolve this issue.

User's image



Microsoft Technologies based on the .NET software framework.
2,330 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,120 questions
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
258 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 22,576 Reputation points Microsoft Vendor

    Hello @Kalpana P,

    Welcome to Microsoft Q&A forum.

    Like the warning message indicates, the .nupkg file is not displayed in the text editor because it is either binary or uses an unsupported text encoding.

    Normally, it’s a file which is related to NuGet package, no need to directly open it, and cannot be directly opened. Is there any particular reason that you want to open it?

    If you really want to open it, you may try to rename the file extension from .nupkg to .zip. It’s more like a .zip folder/file. It includes some other files and folders, you can then extract and open this .zip folder/file.

    BTW, as it seems that you are using VS Code(different from VS) and VS Code is currently not supported in Microsoft Q&A forum, please kindly post VS Code related questions here: Stack Overflow - Visual Studio Code.

    Have a great day.

    Best Regards,


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.