Giter VIP home page Giter VIP logo

Comments (7)

clairernovotny avatar clairernovotny commented on May 19, 2024

You can ignore that warning. Libraries don't build on a Mac, only applications do. @kzu, can that warning be removed for libraries?

from msbuildsdkextras.

tranb3r avatar tranb3r commented on May 19, 2024

Understood.
Actually, we have the same warning on a "xamarin.ios class library" when VS is not connected to the mac server.
So this is definitely not specific to multi-targeting, and it's not a big deal since the connection is actually not required for a library.
Thanks !

from msbuildsdkextras.

kzu avatar kzu commented on May 19, 2024

Does passing /nowarn: from MSBuild work? If not, @mauroa we need to look into that and allow to build class libraries without warnings (maybe we should modify the templates? /cc @joj)

from msbuildsdkextras.

tranb3r avatar tranb3r commented on May 19, 2024

When using msbuild (cmd line instead of visual studio), there are actually 2 warnings:

  • (SayHello) : warning VSX1000: No Address and User has been specified in order to establish a connection to a Mac Server
  • (SayGoodbye) : warning : There is no current Build Connection to get. A new connection needs to be created first

When passing /nowarn:VSX1000, the first warning is suppressed. However the second one is still here.

In visual studio, adding "VSX1000" to csproj does not seem to have an effect.

from msbuildsdkextras.

bgavrilMS avatar bgavrilMS commented on May 19, 2024

There is a somewhat unpleasant workaround described here

I was wondering if the real issue is tracked somewhere?

from msbuildsdkextras.

kzu avatar kzu commented on May 19, 2024

If you report it at https://developercommunity.visualstudio.com (or via the "Send Feedback" inside VS), we can track it internally and fix it sooner than later in the Xamarin.iOS side. I already filed a work item internally anyway, but a public feedback item will allow you to track it better.

from msbuildsdkextras.

clairernovotny avatar clairernovotny commented on May 19, 2024

Closing as external

from msbuildsdkextras.

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.