guys!
Is there any way to set required .Net Framework in a more universal way?
I mean to set 2.0 if we install app under WinXp and 4.0 if we are under Vista or Win7?
Thanks,
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.
Why would you want to set the requirements depending on the target OS ? You want to set your requirements depending on … your requirements !
If you are using .net 4 features, and the
target frameworkin your project is defined as being .Net 4, the required framework will be 4.IF you arent using
.Net 4features, in your project properties, just set theclient targetto.Net 2.0for example.You can do so by right clicking your project, properties, then under the build tab, click on
Advanced options/settings, and at the bottom you can see thetarget framework, which you can change.Edit : Obviously, in the
VSIyou can change the requirements, but by default, it uses the the “real” requirements. If you want to change the requirements in theVisual Studio Installer project, right click on thatproject->properties->Required Components