Is it possible to redistribute msbuild in our application installer, so we can use msbuild to perform some maintenance tasks?
Is it possible to redistribute msbuild in our application installer, so we can use
Share
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.
Yes it is possible to redistribute the framework. Although the maintenance tasks may be a job for an installer custom task not msbuild. You’d have to elaborate on your requirement.
You could put a check/condition in an installer, but your pretty much likely to have at least 2.0 framework on any machine. You could write a simple msbuild script that checked the version of the msbuild installed and then executed a framework redistributable.
i.e. Find what folders exist under $(windir)/Microsoft.NET/Framework
You can add these redist to most installers, wix, installshield etc so i dont see a problem.