VS2013中ArcGIS二次开发部分问题问题解决方法VS2013中新建项目时没有ArcGIS模板解决办法:安装ArcGIS10.x会自动生成C:\Program Files x86 \Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\ArcGIS文件夹和 C:\Program Files x86 \Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\ArcGIS文件夹打开vs2013安装目录:将上面所说的两个ArcGIS文件夹复制到vs2013安装目录下对应的ItemTemplates\CSharp文件夹和ProjectTemplates\CSharp文件夹,继续返回vs2013安装目录,找到devenv.exe文件,右击该文件选择属性----兼容性---以管理员身份运行此程序。在开始菜单栏的所有程序中找到下图文件夹,打开Visual StudioTools,如下图所示:以管理员身份运行VS2013开发人员命令提示,在打开的命令窗口输入devenv.exe /InstallVSTemplates后回车即可2、vs2013中工具箱中没有ArcGIS控件解决方法:在工具箱中右键添加选项卡,并起名为ArcGIS,在ArcGIS下拉后的空白处右击选择项,在弹出的窗口中点击浏览找到安装ArcObjects SDK for Microsoft.NET Framework时的目录DeveloperKit10.2,打开该目录下的DotNet文件夹,选中ESRI.ArcGIS.AxControls.dll文件,点击打开.再点击确定即可。
3、加了ArcGIS控件后最好手动在Main里面添加下面的语句:ESRI.ArcGIS.RuntimeManager.Bind ESRI.ArcGIS.ProductCode.EngineOrDesktop ;出现下面类似的警告:警告1:由于存在对由程序集“d:\ArcGis安装目录\DeveloperKit10.2\DotNet\ESRI.ArcGIS.AxControls.dll”创建的程序集的间接引用,因此创建了对嵌入的互操作程序集“d:\ArcGis安装目录\DeveloperKit10.2\DotNet\ESRI.ArcGIS.Controls.dll”的引用。arcgis二次开发请考虑更改其中一个程序集的“嵌入互操作类型”属性。在提示的那个类库上,右键属性,让互操作类型为false或者直接选中下图所有引用,右键属性,嵌入互操作类型改为falseNorth Gate Station and all the long distance Intercity, TRANS-province lines; North Gate Station currently runs the original counties, rural routes; Simon, station main, Yibin city, across the city, across the province and to the West of range line. Yibin city highway main station distribution table 3.1-6 station name grade accounted for to area m2 GaoNorth Gate Station and all the long distance Intercity, TRANS-province lines; North Gate Station currently runs the original counties, rural routes; Simon, station main, Yibin city, across the city, across the province and to the West of range line. Yibin city highway main station distribution table 3.1-6 station name grade accounted for to area m2 GaoNorth Gate Station and all the long distance Intercity, TRANS-province lines; North Gate Station currently runs the original counties, rural routes; Simon, station main, Yibin city, across the city, across the province and to the West of range line. Yibin city highway main station distribution table 3.1-6 station name grade accounted for to area m2 Gao
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-26229-1.html