dotnetPlugin folder missing
I don't get it! I'm trying to run a TeamCity build on my new TeamCity installation, never used TeamCity before, but all I get is a "file not found" error. And yes, the file does not exits, I don't even have a dotnetPlugin folder. What am I missing? Do I have to have Visual Studio installed on the server? And the Visual Studio addin?
Cannot run process C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:C:\TeamCity\buildAgent\work\c1c60ffef74a986e /msbuildPath:C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe : file not found
Please sign in to leave a comment.
I think you need to check if ASP.NET 3.5 framework is intalled on your host machine - if this is not the case then you need to change the build runner to use ASP.NET 2.0
thanks
paul
Thank you Paul. Unfortunately framework 3.5 is installed, the file C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe does exist, but not C:\TeamCity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MsBuildBootstrap.exe. We also have framework 2.0, 3.0 and 4.0 installed. It's a Windows Server 2003. I downloaded the latest version of TeamCity, 6.0.3, just the other day. Isn't the dotnetPlugin folder/files included in the latest installation of TeamCity?
Hi Markus
could you please post C:\TeamCity\buildAgent\logs\teamcity-agent.log and C:\TeamCity\buildAgent\logs\upgrade.log
TeamCity should unpack this plugin automatically at first start, but seems it failed for some reason.
Thanks
Michael
Here are the requested logs. Thank you Michael!
// Markus
Attachment(s):
logs.zip
Hi Marcus
I'm sorry for late response.
When you start the agent it connects to the server, and checks for updates. If new versions of agent binaries or plugins are detected, the agent service downloads them. Then the service is stopped, and special upgrade process is launched to unpack and update the files. Finally the agent service is started again.
From the log I see the service was re-launched manually while upgrade was being performed. The processes had a conflict due to locked files, so dotnetPlugin was not installed correctly.
To reinstall the agent you'll need:
In version 6.5 we improved this part of the code, so the agent should recover from such kind of issues automatically.
Michael