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.
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.
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.
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
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
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)
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.
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
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
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.
Hey Tim,
Yea, I was thinking the same. As I say, I'll give it some tests and keep you posted.
Matt
Hi Matt, I'm looking forward for the net 3.5 version also.
Thanks
Javier
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
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
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)
And the following to your web.config (inside the system.webServer tag)
Don't worry though, I will get all of this sorted in the next release, so will be a nice smooth install =)
Matt
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
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
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
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
is working on a reply...