Reimers.dk

.NET, AJAX and Google APIs brought together
Welcome to Reimers.dk Sign in | Join | Help
in Search

Build against SVN leads to javascript error

Last post 08-14-2009, 15:54 by andreat. 0 replies.
Sort Posts: Previous Next
  •  08-14-2009, 15:54 2703

    Build against SVN leads to javascript error

    Please forgive me, I could not get myself out of this...

    I downloaded the source code from SVN in order to ad a trivial mapcontrol (GoogleLargeMap3DControl) and built it (with project file MAP352010)  and I found that javascript files were not embedded. So I marked as "Embedded Resource" the necessary files and un-commented the relative lines in the AssemblyInfo.cs:

    [assembly: WebResource("Reimers.Map.mapscripts.js", "text/javascript")]
    [assembly: System.Web.UI.WebResource("Reimers.Map.ReimersScript.js", "text/javascript")]
    [assembly: System.Web.UI.WebResource("Reimers.Map.Scripts.js", "text/javascript")]
    [assembly: System.Web.UI.WebResource("Reimers.Map.Sidebar.js", "text/javascript")]

    Rebuilded but I'm still getting the error. Files are embedded as the assembly size has grown. I am sure I am doing something wrong..

     Than you for any help

    Regards

    Andrea

     

    Filed under:
View as RSS news feed in XML