I have a msbuild task that outputs to a file.
Now I want to search that file for a certain text or regex expression and return true if it is there and false if it isn’t
any idea of a task that could do this for me?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using MSBuild 4 (with Visual Studio 2010), you can use Property Functions and do this without any custom task: