Copied to clipboard

Flag this post as spam?

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


  • Eric Herlitz 97 posts 129 karma points
    Nov 05, 2011 @ 12:06
    Eric Herlitz
    0

    uTube in Visual Studio 2010

     

    Just some thoughts when working with Umbraco in Visual Studio 2010.

    I tend to work a lot with my Umbraco projects directly in Visual Studio since it unhands some extra power and dimensions to the development process. However the uTube plugin crashes all xslt when you use the built in web server in VS.

    This renders errors like

    Could not load file or assembly 'Google.GData.Client ...

    Could not load file or assembly 'Google.GData.Analytics ...

    I did try the overall recommended solution which strangely was to add the assemblyBindings to the web.config. This did not work either, at least not at it's own.

    <configuration>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <dependentAssembly>
                    <assemblyIdentity name="Google.GData.Client" publicKeyToken="04a59ca9b0273830" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.6.0.0"/>
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="Google.GData.Extensions" publicKeyToken="0b4c5df2ebf20876" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.6.0.0"/>
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="Google.GData.Analytics" publicKeyToken="9e229226d7996434" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-1.7.0.0" newVersion="1.8.0.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
    </configuration>

    The solution is a combination of the above XML and GAC. They depend on each other.

    Drag and drop Google.GData.Analytics.dll and Google.GData.Client.dll to c:\windows\gac\
    or use gacutil -i ... to install them.

    Unless someone have another solution?

     

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Nov 07, 2011 @ 12:51
    Lee Kelleher
    0

    Hi Eric,

    Not sure why you'd need to do the assemblyBinding for the Google.GData.* assemblies.  For the projects where I have used uTube in VS2010, I have referenced those DLLs in the project/solution.

    Unless you already had the Google.GData.* assemblies registered in your GAC? (e.g. for another project?)

    Not sure what to suggest.

    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft