Page 1 of 2
Support for PackageReference
Posted: Thu Jul 23, 2020 5:43 am
by Kromi
Hi,
currently, X# projects do not support using PackageReference for NuGet, right? Are there plans to add that?
Regards,
Mathias
Support for PackageReference
Posted: Thu Jul 23, 2020 8:14 am
by robert
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
Support for PackageReference
Posted: Thu Jul 23, 2020 9:17 am
by Kromi
Thank you, Robert.
Support for PackageReference
Posted: Wed Nov 18, 2020 12:58 pm
by Thomas
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
Support for PackageReference
Posted: Wed Nov 18, 2020 2:35 pm
by robert
Thomas,
We will support package references once we also support the new project file format , the so called SDK-style projects.
See
https://docs.microsoft.com/en-us/nuget/ ... ect-format for more info on that format.
Robert
Support for PackageReference
Posted: Thu Nov 19, 2020 8:15 am
by Thomas
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
Support for PackageReference
Posted: Thu Nov 19, 2020 9:41 am
by robert
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
Support for PackageReference
Posted: Thu Nov 19, 2020 10:42 am
by Thomas
Thank you, Robert!
Support for PackageReference
Posted: Fri Nov 20, 2020 5:30 pm
by VR
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
Support for PackageReference
Posted: Fri Nov 20, 2020 5:59 pm
by robert
Volkmar,
2021 Q1 sounds doable.
Robert