-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
v8 PackageReference NuGet style not supported #3635
Comments
Closing this one - since - well the build server is running :) |
Ah... this is the ps1 file as part of the actual nuget package, ok will re-open and see what @nul800sebastiaan says |
yup - basically, |
@zpqrtbnk @Shazwazza I love the idea but there's a few things we do in install.ps1 that can't just be covered with targets files I think. Some stuff we can probably let go of by now but one thing would be a bit of a struggle: making a proper web.config transform instead of overwriting the default one when installing Umbraco. This means we'll need to create a full transform for each and every element we no have in web.Template.config. And then we also need to figure out if an upgrade won't just apply that transform again. 🙈 It might be too early, the NuGet team also don't have a good answer.. NuGet/Home#5963 |
Remember, we're "special" on NuGet since we don't just distribute a class library. So we're definitely abusing the system a little bit.. 🙃 |
I've just looked into this and it could be accomplished the following way:
function Install-Umbraco {}
function Update-Umbraco {}
Export-ModuleMember Install-Umbraco, Update-Umbraco
param($installPath, $toolsPath, $package)
Import-Module (Join-Path $toolsPath Umbraco.psm1) -Force
For |
@ronaldbarendse thats the thing that keeps |
@soreng It would certainly be better to remove any manual steps, I agree, but lets do it one step at a time 😉 The Umbraco projects already use the Umbraco-CMS/build/NuSpecs/UmbracoCms.nuspec Lines 52 to 64 in 0dea835
We can show a |
I know the drill - I went through it this summer on some internal packages. I don’t think it’s worth doing, if it introduces a manual step. |
Well, it's only a manual step if you're using Most of the |
Hello Guys, |
@bielu in short: Rider is not supported by umbraco :-) The Challenge is that some of the dependencies may also use powershell scripts in their install |
@soreng yeah and force people to use Vs great idea ;) |
Hiya @zpqrtbnk, Just wanted to let you know that we noticed that this issue got a bit stale and might not be relevant any more. We will close this issue for now but we're happy to open it up again if you think it's still relevant (for example: it's a feature request that's not yet implemented, or it's a bug that's not yet been fixed). To open it this issue up again, you can write For example:
This will reopen the issue in the next few hours. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
@umbrabot still relevant |
Closing this as this is how v9 works and we have no plans to overhaul v8 to support this. |
Our NuGet packages don't support being used with the new PackageReference style - only package.config - because they rely on
install.ps1
which is deprecated with PackageReference.Need to find a replacement for
install.ps1
or something...The text was updated successfully, but these errors were encountered: