Click here to Skip to main content
15,887,283 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

I got below error while performing build automation using NUnit, msbuild with CruiseControl.NET

error MSB6004: The specified task executable location "C:\Program Files\NUnit 2.5.10\bin\nunit-console.exe" is invalid.

Please tell me how to resolve this error.
Posted
Updated 3-Oct-11 2:26am
v2
Comments
Manfred Rudolf Bihy 3-Oct-11 8:34am    
I checked and saw you posted an analogous question 5 days ago.
Then it was about the file "C:\Program Files\Subversion\bin\svn.exe" with the same error message. It seems you've gotten that one fixed without any help. What makes you think the solution would be any different from the first one?

I have the words "learning" and "resistant" rolling around in my head.
skumarn 3-Oct-11 9:03am    
Hi,

Forthat i installed silksvn. But after that i got SSL Certificate authentication failed type error

Have you configured path of "nunit-console.exe" correctly in CruiseControl configuration file.

Here is more information on this - Click Here
 
Share this answer
 
Comments
Manfred Rudolf Bihy 3-Oct-11 8:39am    
Nice link! 5+
RaisKazi 3-Oct-11 8:42am    
Thank you Manfred. :)
Would you care to tell us which part of the message you are having problems with? It should be obvious that the configuration tells NUnit that there is an executable at location "C:\Program Files\NUnit 2.5.10\bin\nunit-console.exe". Did you check if this file exists at that location?

Please check the specified path and post your findings in your question. Use the link Improve question beneath your question for that.

Thanks for your cooperation!
 
Share this answer
 
v2
Comments
skumarn 3-Oct-11 9:08am    
Hi,

Yes, it is existed in that path and moreover i replaced above location with "C:\Program Files\NUnit 2.5.10\bin\nunit-console-x86.exe" then it shows below error
"C:\Program Files\NUnit 2.5.10\bin\nunit-console-x86.exe\nunit-console.exe" is invalid.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900