laptop and a wrench

漏洞

Unable to build the Interactive SDK Samples(http://help.arcgis.com/en/webapi/silverlight/samples/start.htm) if the unzipped path has folders with spaces

上次发布: August 25, 2014 ArcGIS API for Silverlight
漏洞 ID 编号 NIM060849
已提交September 2, 2010
上次修改时间June 5, 2024
适用范围ArcGIS API for Silverlight
找到的版本2.0
编程语言All
操作系统Windows OS
操作系统版本XP
修正版本2.0
状态Fixed

附加信息

Download fixed

解决办法

To resolve the issue(folders with spaces) , the POST-BUILD EVENT Command has to be modified as below. In other words, for "xcopy" command, %%I should be defined as "%%I"(double quotes are introduced)POST-BUILD EVENT Command (C# Solution)@echo ------ Copy xaml files to ArcSDKWeb -------cd "$(ProjectDir)"for /R "$(ProjectDir)" %%I in (*.xaml) do (xcopy "%%I" "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" /C/I/R/Y)for /R "$(ProjectDir)" %%I in (*.xaml.cs) do (xcopy "%%I" "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" /C/I/R/Y)for /R "$(SolutionDir)\VBNet\ArcGISSilverlightSDK\" %%I in (*.xaml.vb) do (xcopy "%%I" "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" /C/I/R/Y)@echo ------ Delete xaml files copied from ArcSDK root folder -------for %%I in (*.xaml) do (del "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\%%~nI%%~xI")for %%I in (*.xaml.cs) do (del "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\%%~nI%%~xI")@echo ------ Rename xaml.cs to xaml.cs.txt files in ArcSDKWeb -------for /R "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" %%I in (*.xaml.cs.txt) do (del "%%I")for /R "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" %%I in (*.xaml.cs) do (rename "%%I" "%%~nI%%~xI.txt")for /R "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" %%I in (*.xaml.vb.txt) do (del "%%I")for /R "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source" %%I in (*.xaml.vb) do (rename "%%I" "%%~nI%%~xI.txt")POST-BUILD EVENT Command (VB.NET Solution)@echo ------ Copy xaml files to ArcSDKWeb -------cd "$(ProjectDir)"for /R "$(ProjectDir)" %%I in (*.xaml) do (xcopy "%%I" "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" /C/I/R/Y)for /R "$(ProjectDir)" %%I in (*.xaml.vb) do (xcopy "%%I" "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" /C/I/R/Y)@echo ------ Delete xaml files copied from ArcSDK root folder -------for %%I in (*.xaml) do (del "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\%%~nI%%~xI")for %%I in (*.xaml.vb) do (del "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\%%~nI%%~xI")@echo ------ Rename xaml.vb to xaml.vb.txt files in ArcSDKWeb -------for /R "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" %%I in (*.xaml.vb.txt) do (del "%%I")for /R "$(SolutionDir)\ArcGISSilverlightSDKWeb\Assets\Source\" %%I in (*.xaml.vb) do (rename "%%I" "%%~nI%%~xI.txt")

重现步骤

漏洞 ID: NIM060849

软件:

  • ArcGIS API for Silverlight

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项