Posted 13 August 2022, 2:39 am EST
When attempting to build a solution with an outdated license manager, many parallel builds attempt to download GLCM_Deploy.exe simultaneously which causes the following error:
error MSB3923: Failed to download file "https://cdn.grapecity.com/license/gclm_deploy.exe". The process cannot access the file 'C:\Users\username\\AppData\Local\Temp\gclm_deploy.exe' because it is being used by another process.
A coworker started an upgrade of the code, and I haven’t gotten around to installing and licensing the upgrade yet on my computer. An automatic trial period was begun. Which all works nicely as expected.
I believe a simple change to your GrapeCity.ActiveReports.Targets file will avoid this error:
- “From this:”
<!-- Download gclm deploy tool -->
<DownloadFile SourceUrl="https://cdn.grapecity.com/license/gclm_deploy.exe" DestinationFolder="$(TempFolder)" Condition="$(NeedDownloadGclm) == 'Yes'" SkipUnchangedFiles="false"/>
- “To This:”
<!-- Download gclm deploy tool -->
<DownloadFile SourceUrl="https://cdn.grapecity.com/license/gclm_deploy.exe" DestinationFolder="$(TempFolder)" Condition="$(NeedDownloadGclm) == 'Yes'" SkipUnchangedFiles="[b]true[/b]"/>