laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 25, 2014 ArcGIS API for Silverlight
Bug-ID-Nummer NIM060849
EingereichtSeptember 2, 2010
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for Silverlight
Gefunden in Version2.0
ProgrammspracheAll
BetriebssystemWindows OS
BetriebssystemversionXP
Behoben in Version2.0
StatusFixed

Zusätzliche Informationen

Download fixed

Workaround

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")

Schritte zur Reproduzierung

Bug-ID: NIM060849

Software:

  • ArcGIS API for Silverlight

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln