Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Armitage 485 posts 2042 karma points
    Jun 17, 2021 @ 07:07
    David Armitage
    0

    Umbraco 9 USync Beta

    Hi All,

    Has anyone manage to get up and running with uSync Beta on Umbraco 9?

    I installed the Nuget package from here. https://blog.jumoo.co.uk/2021/uSync-9-beta/

    But it doesn't seem to be working.

    TypeLoadException: Could not load type 'Umbraco.Cms.Core.Events.INotification' from assembly 'Umbraco.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null'.
    
  • Kevin Jump 2148 posts 13605 karma points MVP 6x c-trib
    Jun 17, 2021 @ 07:38
    Kevin Jump
    0

    Hi,

    Yeah you will need to install beta-003. Some namespace stuff changed in Umbraco between beta releases.

  • David Armitage 485 posts 2042 karma points
    Jun 17, 2021 @ 08:31
    David Armitage
    0

    Hi Kevin,

    I think I have got beta 3 installed.

    This is what I used anyway. dotnet new -i Umbraco.Templates::9.0.0-beta003

  • Kevin Jump 2148 posts 13605 karma points MVP 6x c-trib
    Jun 17, 2021 @ 08:34
    Kevin Jump
    102

    are you also on beta003 of uSync ?

    the beta release have to match (things are changing between betas - so there is a beta001, beta002 and beta003 of uSync too)

    Install-Package uSync -Version 9.0.0-beta003
    
  • David Armitage 485 posts 2042 karma points
    Jun 17, 2021 @ 09:13
    David Armitage
    1

    Hi Kevin,

    You was right. Sorry I didn't realise there were different versions of uSync too.

    I got on the Beta 3 version and everything seems to run ok.

    I will give everything else a test.

    Thanks for getting me up and running.

  • David Armitage 485 posts 2042 karma points
    Jun 18, 2021 @ 09:24
    David Armitage
    0

    Hey Kevin,

    I did notice one other issue which I am not sure if it should be something I should be worrying about.

    When I build my project all is fine.

    But if I click re-build I get this error. enter image description here

    Is there a work around. Its not causing issues but I would like the get rid of the error.

    Severity Code Description Project File Line Suppression State Error MSB3030 Could not copy the file "D:\Git\Umbraco9StarterSite\Website\AppPlugins\usync\addons.json" because it was not found. UmbracoProject C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 4846

  • Kevin Jump 2148 posts 13605 karma points MVP 6x c-trib
    Jun 18, 2021 @ 09:50
    Kevin Jump
    0

    yeah - not sure the internal copy process likes that its a json file 🙁

    not sure if there is a work around - we will update the file type for the next release.

  • David Armitage 485 posts 2042 karma points
    Jun 18, 2021 @ 10:07
    David Armitage
    0

    Ok. I will be following the updates anyway so I will grab it in the next release.

    Thanks.

  • David Armitage 485 posts 2042 karma points
    Jun 17, 2021 @ 08:33
    David Armitage
    0

    Yes I am on Beta 3

    enter image description here

  • Lee Kelleher 3995 posts 15625 karma points MVP 12x admin c-trib
    Jun 17, 2021 @ 08:54
    Lee Kelleher
    0

    Hi David,

    Kevin means that you'll also need to upgrade uSync to v9.0.0-beta003.

    So far, each beta release of Umbraco v9 has had a breaking-change in the APIs, meaning that packages need to re-compile their code against it, (and release new NuGet packages).

    Cheers,
    - Lee

  • David Armitage 485 posts 2042 karma points
    Jun 17, 2021 @ 09:09
    David Armitage
    0

    I am not 100% so I will try and install from your link.

    Thanks for jumping on this so quick. Especially when we are still in beta etc.

  • Andrew 44 posts 216 karma points
    Jun 17, 2021 @ 20:23
    Andrew
    0

    I had issues launching in debug after I added uSync, eventual found this suggestion to enable "Enable Just My Code"

    https://github.com/KevinJump/uSync8/issues/233

Please Sign in or register to post replies

Write your reply to:

Draft