asp.net - can't install google map control in ASP with NuGet -


when click install in nuget packages manager screen looks flashes split second , nothing, if in installed packages there no packages installed. add line web.config file

<add tagprefix="artem" namespace="artem.google.ui" assembly="artem.google" /> 

since package not installed can't use artem map control. have created new project , installed fine in current project need change not allowing me installed. things have done far: 1. browsed packages file in project , deleted googlemapcontrol.6.1 folder. 2. removed line web.config folder. 3. removed reference artem.google in project. 4. cleared package cache had google maps file in it.- manage nuget packages - settings - packagemanager - general - clear package cache.

then tried reinstall manage nuget packages - google map control. click install , looks installs ok has green tick next it, try , add :

 <div>    <artem:googlemap id="googlemap2" runat="server"></artem:googlemap>    </div> 

googlemap not know element, no artem tools in toolbox , if go package manager , click on installed packages, there nothing there. not installing somehow. ideas?

these steps followed fix problem

  1. browse packages file in project , delete googlemapcontrol.6.1 folder.
  2. remove line web.config folder.
  3. remove reference artem.google in project.
  4. clear package cache has google maps file in it.- manage nuget packages - settings - packagemanager - general - clear package cache.
  5. delete packages.config file
  6. install package manager console run:

pm> install-package googlemapcontrol -version 6.1.0

  1. add <%@ register assembly="artem.google" namespace="artem.google.ui" tagprefix="artem" %> top of asp page maps used.
  2. add body of page.

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -