fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Support for PackageReference 23 Jul 2020 07:43 #15307

  • Kromi's Avatar

  • Kromi

  • Topic Author


  • Posts: 45
  • Hi,

    currently, X# projects do not support using PackageReference for NuGet, right? Are there plans to add that?

    Regards,
    Mathias

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 23 Jul 2020 10:14 #15308

  • robert's Avatar

  • robert


  • Posts: 1980
  • Mathias,
    Until build 2.5 we were still supporting VS 2015.
    Both VS2015 and MsBuild that comes with this version of VS do not understand PackageReference.
    We are dropping support for VS 2015 in the next build.
    So we can now also start adding new stuff like PackageReference.

    I can't promise that it will be included in the next build, but this is certainly on our todo list.
    It is a bit more work than you would expect, because unlike "normal" references, Package References can resolve to one or more assembly files. SO we have to expand the package reference so our editor support knows about all the types in the dependent packages as well.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 23 Jul 2020 11:17 #15309

  • Kromi's Avatar

  • Kromi

  • Topic Author


  • Posts: 45
  • Thank you, Robert.

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 18 Nov 2020 13:58 #16692

  • Thomas's Avatar

  • Thomas


  • Posts: 86
  • Hi Robert,

    are there any news about the support of PackageReference? I haven't seen anything in the "whatsnew" of build 2.6a... so it's still in process, right? Do you have a timelime?

    Thomas

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 18 Nov 2020 15:35 #16694

  • robert's Avatar

  • robert


  • Posts: 1980
  • Thomas,

    We will support package references once we also support the new project file format , the so called SDK-style projects.
    See docs.microsoft.com/en-us/nuget/resources/check-project-format for more info on that format.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 19 Nov 2020 09:15 #16704

  • Thomas's Avatar

  • Thomas


  • Posts: 86
  • Hi Robert,
    thank you for the information!
    Is there an approximate schedule when this will be available? I ask because we are planning an update to a newer X# version (our currently used version is 2.3.1) and we would like to have this feature. If there would be a version with package reference soon, we might wait with our update...

    Thomas

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 19 Nov 2020 10:41 #16705

  • robert's Avatar

  • robert


  • Posts: 1980
  • Thomas,

    This will not be in the next build (2.7) Most likely the builder after that (2.8 ).
    Writing a compiler and runtime are MUCH easier than integrating into Visual Studio.
    We have the basics working (opening a project, listing the items, opening the source code editor, running the build system).
    It should be the other way around, but unfortunately it isn't.

    We are now working on:
    - Support for non source items (windows forms, WPF, VO custom editors, resx files etc)
    - "Appdesigner" support (Project Properties in a tab page), including listing the right frameworks (.net core, .net 5, .net 4 etc)
    - ErrorList and TaskList support

    We are creating this on top of the "Common Project System", just like the C# and VB project systems for SDK style projects. The code for these systems is on Github, but written in such a way that we cannot really "inherit from" this code.
    We can see what they have done and them copy/paste source and adjust it.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Last edit: by robert.

    Support for PackageReference 19 Nov 2020 11:42 #16706

  • Thomas's Avatar

  • Thomas


  • Posts: 86
  • Thank you, Robert!

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 20 Nov 2020 18:30 #16716

  • VR's Avatar

  • VR


  • Posts: 7
  • Hello Robert

    reading your post, I assume, that we probably won't see support for "SDK-style projects" for this year. Can you give an estimate, when version 2.8 will be released? Maybe 2021 Q1?

    Volkmar

    Please Log in or Create an account to join the conversation.

    Support for PackageReference 20 Nov 2020 18:59 #16717

  • robert's Avatar

  • robert


  • Posts: 1980
  • Volkmar,

    2021 Q1 sounds doable.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1