https://discord.umbraco.com logo
Join Discord
Channels
help-with-umbraco
news
event-news
social
help-with-other
contributing
package-development
codegarden-conference
hacktoberfest
show-and-tell
jobs-and-gigs
meta
Powered by
# package-development
  • c

    CodeSharePaul

    09/17/2021, 5:59 AM
    https://discord.com/channels/869656431308189746/869656431308189749/888299527214338078
  • s

    Sebastiaan

    09/17/2021, 8:37 AM
    It's weird that one.. what is it uninstalling?
  • c

    CodeSharePaul

    09/17/2021, 8:44 AM
    Yeah it's really annoying. I'm gonna try it again on a seperate v9 install and see if it break umbraco or not
  • c

    CodeSharePaul

    09/17/2021, 8:46 AM
    It's trying to uninstall these pacakges:
  • w

    Warren Buckley

    09/17/2021, 9:38 AM
    They look like the the .NETCore SDK bits & bobs looking at names of them. Updated SDK or Visual Studio since you created the project @User ?
  • c

    CodeSharePaul

    09/17/2021, 9:39 AM
    I think i updated it about a week ago
  • w

    Warren Buckley

    09/17/2021, 9:39 AM
    Was that after when you created this project ?
  • c

    CodeSharePaul

    09/17/2021, 9:41 AM
    Yes I think so
  • w

    Warren Buckley

    09/17/2021, 9:55 AM
    Hmm. So what happens when you uninstall them. Does the world implode?
  • w

    Warren Buckley

    09/17/2021, 9:55 AM
    https://tenor.com/view/building-demolition-gif-3629581
  • s

    Sebastiaan

    09/17/2021, 10:07 AM
    Ah good question, maybe it's just trying to do the right thing and install the correct dependencies, after removing the incorrect ones of course.. 🤔
  • w

    Warren Buckley

    09/17/2021, 10:14 AM
    Thats my gut feeling
  • c

    CodeSharePaul

    09/17/2021, 10:57 AM
    I tested it out and umbraco still runs but i then found a new problem. My core project relies on my models because i'm using view components and models builder. I might have to remove them from the project and just stick to views with view models and keep them in the web project. So the only thing in my core project is the contact controller and contact view model
  • w

    Warren Buckley

    09/17/2021, 11:00 AM
    Does it need to be in two projects ?
  • c

    CodeSharePaul

    09/17/2021, 11:02 AM
    How do i give the logic of the controllers and viewmodel to the user otherwise?
  • m

    Matt Wise

    09/17/2021, 11:03 AM
    Does a starter kit want to be a package or more of a dotnet template? As you want to include the source files to them
  • c

    CodeSharePaul

    09/17/2021, 11:08 AM
    I have no clue about templates, don't set me off down a new path 😂 At the minute I am torn between removing models builder or removing view components that rely on the models. I think the simplest approach would be to use partials
  • m

    Matt Wise

    09/17/2021, 11:08 AM
    #100Days 😉 plenty of time to look at templates 😄
  • w

    Warren Buckley

    09/17/2021, 11:39 AM
    Yeh I think Starter Kits or starting point type things should be dotnet new templates
  • w

    Warren Buckley

    09/17/2021, 11:39 AM
    But also cool to be a package as well
  • w

    Warren Buckley

    09/17/2021, 11:40 AM
    In the case you wanting to ship/edit the source files as a consumer of the SK, it makes more sense in that case to be a dotnet new template IMO
  • k

    Kevin Jump

    09/17/2021, 1:50 PM
    where would you expect a licence file to be written on v9 ? - in v8 we put ours in the /config folder i know forms on v8 puts it in bin ? - at the moment i am going for putting it directly in the root of the site, but just wondering what people think?
  • s

    Sebastiaan

    09/17/2021, 1:53 PM
    Convention for our own packages will be
    ~\umbraco\Licenses
  • k

    Kevin Jump

    09/17/2021, 1:54 PM
    humm.. if 3rd party licences went in there would that be a problem ? (or indeed make sense, but i don't want to create a folder just for a single file)
  • s

    Sebastiaan

    09/17/2021, 1:55 PM
    I think we created a convention so everyone else could use it too! So no, I think that's encouraged!
  • k

    Kevin Jump

    09/17/2021, 1:56 PM
    OK , so million dollar [linux] question, upper-case or lowercase "L"
  • m

    Matt Wise

    09/17/2021, 1:56 PM
    Handle both 😄
  • s

    Sebastiaan

    09/17/2021, 1:56 PM
    Currently upper for us!
  • k

    Kevin Jump

    09/17/2021, 1:57 PM
    cool, @User can handle both , but if the folder isn't there we have to create it. so would want to do that right
  • s

    Sebastiaan

    09/17/2021, 1:58 PM
    My OCD is killing me, as all other directories in there are UpperCase except for
    models
    and
    config
    😵‍💫
12345...58Latest