Coder Social home page Coder Social logo

Comments (4)

annakocheshkova avatar annakocheshkova commented on May 15, 2024

Hi there! The reason we have this class is we have identically-named ones in native SDKs.
With namespaces, it shouldn't be an issue. Is that so with asmdef-s?

from appcenter-sdk-unity.

liszto avatar liszto commented on May 15, 2024

I just create a non asmdef project from scratch.
So I just use AppCenter Editor Extension to download your package.
Then I create this script :

using UnityEngine;
using UnityEngine.iOS;
using Microsoft.AppCenter.Unity;

public class TestDevice : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
		Device test = new Device();
    }
}

and Visual Studio is not happy with this cause he doesn't know which one to use :

Erreur CS0104 'Device' is an ambiguous reference between 'Microsoft.AppCenter.Unity.Device' and 'UnityEngine.iOS.Device' Assembly-CSharp D:\Project\App-asmdef\New Unity Project\Assets\Scenes\TestDevice.cs

Ambiguous reference is still present so as I supposed it was not due to asmdef but just in cased I prefered to test it ;)

from appcenter-sdk-unity.

annakocheshkova avatar annakocheshkova commented on May 15, 2024

Oh I see. So you use the both Device classes in one file and then yeah, it complains. Definitely, we should look for a way to name this better.

from appcenter-sdk-unity.

DmitriyKirakosyan avatar DmitriyKirakosyan commented on May 15, 2024

As we do not have plans to add support for this feature in the next year, I'm closing the issue.

from appcenter-sdk-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.