-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NuGet.Commands embedded copy of FileSystemGlobbing is now public #2345
Comments
We can probably move to consume the official FileSystemGlobbing |
The FileSystemGlobbing package does not support net45, only net451. NuGet still needs net45 for Visual Studio. |
@anurse is it possible to get a version of FileSystemGlobbing with support for net45 on nuget.org? |
What is the context that requires .NET 4.5? Both .NET 4.5 and 4.5.1 are outside the extended support date according to the support lifecycle (https://support.microsoft.com/en-us/lifecycle/search?sort=PN&alpha=.net%20framework%204). So even on older (supported) versions of Visual Studio we'd be expecting users to have updated from 4.5 to 4.5.2 (at least) |
nuget.exe is net45 and changing it could break some users |
Is there anything requiring it to be 4.5.1? |
Technically, I don't think so, but .NET 4.5 is not supported by Microsoft so it's not really my decision :) |
True, but they're already on an unsupported framework. |
@anurse I'd prefer to minimize the engineering work here to use this package, and we still have a business need to not require people to have to update their .NET Framework versions just to continue to use the latest version of NuGet.exe. |
@rrelyea As I said, there's no technical issue that I'm aware of, so if it gets approval from our PMs we can do it. |
Filed request on aspnet team: aspnet/FileSystem#212 |
Can NuGet just change all their types to be internal? Does NuGet still take drops of new FileSystemGlobbing source code? Or is it just using some particular version that can essentially be forked? |
The types could be changed to internal to work around this, but ideally we want to stop maintaining a fork and just use the official package. Currently NuGet has a submodule which references the NuGet/SubModuleIntegration branch of FileSystemGlobbing. |
If we change it in the official package, the next official build won't be until a few months from now. Will you use nightly builds or wait for 1.1.0 RTM? |
We need a stable version, but NuGet can work around this as needed until 1.1.0 is out. |
Ok. We will try to get this updated for 1.1.0, barring any issues we run into. |
Should be ready for us to fix in 3.6beta. |
This is done on our side |
I just bumped into this exact problem.
And I think going forward this could possibly cause more problems if not fixed, compared to the potential backward compatibly problems with dropping support for legacy .NET 4.5 users. |
@jeffkl the checklist confused GH :D |
Reverted the merge NuGet/NuGet.Client#4595, so I'm reopening the issue. |
Because
preprocess
code is not available in RC2, the code that "internalizes" the copy of FileSystemGlobbing that NuGet.Commands embeds isn't in effect. As a result, the classes are public and conflict with the real FileSystemGlobbing. I've worked around it in CLI, but it should be fixed./cc @emgarten @yishaigalatzer @davidfowl
The text was updated successfully, but these errors were encountered: