Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to import Azure library in Unity Project

Discussion in 'Windows' started by ariansyah, Sep 1, 2023.

  1. ariansyah

    ariansyah

    Joined:
    Dec 9, 2014
    Posts:
    6
    Hello All,

    I have been trying to use Azure Service n my unity project using REST API and it works. Currently, I am experimenting with Azure SDK.

    I have tried Nuget Gallery in Visual Studio Code to add Azure Library in my unity project. However, I keep getting the following error:


    info : Adding PackageReference for package 'Azure.Core' into project 'c:/Users/[username]/Downloads/[username]/UIPackage/Assembly-CSharp.csproj'.
    error: Error while adding package 'Azure.Core' to project 'c:/Users/[username]/Downloads/[username]/UIPackage/Assembly-CSharp.csproj'. The project does not support adding package references through the add package command.

    error.PNG

    I wonder if someone knows how to sucessfully import Azure SDK into Unity Project?

    Unity Version ( tried both 2020.3.24f1 and 2021.3.16f1)
    Visual Studio Code version 1.81.1
    Nuget Gallery v0.0.24

    Thanks

    D