I recently tried setting up the Preview Cache for Azure on an existing site and deployment, which I had to abort due to errors. However since then I now get the following error when I try and deploy to Azure...
Cannot find file named approot\bin\Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe
This file does exist on disk, presuming approot is the base folder for my ASP project.
Any ideas and help greatly appreciated, am banging my head against the wall currently!
Found the solution. The ServiceDefinition.csdef file had a new startup task that had been created somehow during the cache setup process. Removing this superfluous task resolved the issue and I cannot see any down side or negative impact.
Commented out line is shown below...
<Startup priority="-2">
<!--<Task commandLine="Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe install" executionContext="elevated" taskType="simple" />-->
</Startup>
In my case the file was created by the Azure SDK tools, but TFVC did not check-in the .exe.
After explicitly adding the missing .exe the build runs successfully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With