Hi,
currently, X# projects do not support using PackageReference for NuGet, right? Are there plans to add that?
Regards,
Mathias
Support for PackageReference
Support for PackageReference
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
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
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Support for PackageReference
Thank you, Robert.
Support for PackageReference
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
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
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
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
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Support for PackageReference
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
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
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
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
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Support for PackageReference
Thank you, Robert!
Support for PackageReference
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
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
Volkmar,
2021 Q1 sounds doable.
Robert
2021 Q1 sounds doable.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu