Copied to clipboard

Flag this post as spam?

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


  • wolulcmit 357 posts 693 karma points
    Aug 01, 2010 @ 23:19
    wolulcmit
    0

    any chance this could be tweaked to run with .net 3.5 libraries?

    I think this is only working if you're running 4.5 with .net 4 libraries.... I tried to install on a site running umbraco 4.5 (3.5 libraries) as I'm forced to at the moment because of shared hosting.
    ran into the runtime is newer than current runtime error:

    'TheOutfield.UmbExt.DesktopMediaUploader' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime


    is it a huge hassle to also build a .net 3.5 compatible version?

    no worries if not, stuck between a rock and a hard palce at the moment as all other uploaders are broken in 4.5 (that I know of) and this was my one diamond in the rough.

    that'll teach me to upgrade too quickly.

    - Tim


  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 01, 2010 @ 23:31
    Matt Brailsford
    0

    Hey Tim,

    It shouldn't be a problem to build it against .NET 3.5 as I don't think I'm doing anything special. When I get a free moment, I'll set one up and send it over to you if you want to test, but I could also do with figuring out whether I can target multiple in one install, as it'll be a bit of a pain targeting them seperately.

    I'll keep you posted.

    Matt

  • wolulcmit 357 posts 693 karma points
    Aug 02, 2010 @ 08:48
    wolulcmit
    0

    Hey Matt, thanks... no hurry on this one, I expect a 3.5 version would work for both.... but then I guess it would be better to have native versions for each.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 02, 2010 @ 09:24
    Matt Brailsford
    1

    Hey Tim,

    Yea, I was thinking the same. As I say, I'll give it some tests and keep you posted.

    Matt

  • javier 59 posts 79 karma points
    Aug 03, 2010 @ 00:32
    javier
    0

    Hi Matt, I'm looking forward for the net 3.5 version also.

    Thanks

     

    Javier

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 03, 2010 @ 09:21
    Matt Brailsford
    0

    Hi Tim / Javier

    Would you guys mind doing me a favour? I've uploaded another zip to the project page TheOutfield.UmbExt.DesktopMediaUploader.zip, which just contains a new DLL. Would you mind downloading it, and just dropping the DLL in your bin folder and make sure everything works ok? (This is not a package, so please don't install it via the package installer)

    I'm just doing some tests on my .NET 4.0 version, and it seems to be running ok, so if it works in both, I may just swap it over to use .NET 3.5

    Let me know how you get on.

    Cheers

    Matt

  • wolulcmit 357 posts 693 karma points
    Aug 03, 2010 @ 10:32
    wolulcmit
    0

    Hey Matt,

    thanks, the new dll doesn't break anything anymore, but I suspect everything didn't get installed (as I installed from your original packagage then just replaced the dll)

    i.e when I click on the top level media folder I don't get anything (I hope I'm doing this right)

    here are the list of files, do I have them all? my guess is that it crapped out when it got to the .net4 dll and didn't complete installation

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 03, 2010 @ 10:41
    Matt Brailsford
    1

    Ahhhh, right, I didn't realise it failed on install, I thought it installed, but failed when you tried to use it.

    It looks like you have everything installed, but I'm guessing it didn't do the package actions which installs the dasboard control, and sets up the mime type.

    If you want to do it manualy, you can add the following to your Dashboard.config (inside the dashBoard tag)

      <section alias="DesktopMediaUploader">
        <areas>
          <area>media</area>
        </areas>
        <tab caption="Desktop Media Uploader">
          <control>/usercontrols/desktopmediauploader/dashboard.ascx</control>
        </tab>
      </section>

    And the following to your web.config (inside the system.webServer tag)

    <staticContent><mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package+zip" /></staticContent>

    Don't worry though, I will get all of this sorted in the next release, so will be a nice smooth install =)

    Matt

  • wolulcmit 357 posts 693 karma points
    Aug 03, 2010 @ 10:51
    wolulcmit
    0

    sweet,  that seems to have done the trick Matt!
    I'll let you know if there are any other issues. But I think it's all good now.

    thanks again!

    - Tim

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 03, 2010 @ 11:06
    Matt Brailsford
    0

    Excellent,

    Please do. I'll do a few more tests myself, with a look to release an update by the weekend, so if you do find any issues, please let me know and I'll get them fixed.

    Matt

  • javier 59 posts 79 karma points
    Aug 03, 2010 @ 18:24
    javier
    0

    Hi Matt,

    To stop the installation failure, I change the new dll into the Desktop_Media_Uploader_1.0.0. package and now the installation went 100% ok :).

    Then I test the application and it works perfectly!!!: Great job. Thanks a lot.

     

    Regards

     

    Javier

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Aug 14, 2010 @ 16:36
    Matt Brailsford
    0

    Just to let you know, I've released an updated version that now works with .NET 3.5 out of the box.

    http://our.umbraco.org/projects/website-utilities/desktop-media-uploader

    Many thanks

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft