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
- browse packages file in project , delete googlemapcontrol.6.1 folder.
- remove line web.config folder.
- remove reference artem.google in project.
- clear package cache has google maps file in it.- manage nuget packages - settings - packagemanager - general - clear package cache.
- delete packages.config file
- install package manager console run:
pm> install-package googlemapcontrol -version 6.1.0
- add <%@ register assembly="artem.google" namespace="artem.google.ui" tagprefix="artem" %> top of asp page maps used.
- add body of page.
Comments
Post a Comment