This might be a stupid question but I just wanted to make sure…
If I incorporate code generated by the IDE (Visual Studio in this case) in my software, can I apply my own license to that code or is it subject to its own license?
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.
In the general case you should read carefully the licence that comes with your wizard/code generator.
In the vast majority of cases, the code produced by a wizard (or a compiler or a pre-processor, etc) is a completely separated entity from the generator itself and no restriction is applied to it.
There are cases, though, where copyrighted code could be inserted in the generated code, for example as a set of functions to support the generated code.
Also in this case most of the code generators state that that piece code is licensed under very liberal terms. Trying to limit code modification and redistribuition or to impose run-time royalties has demonstrated itself to be a very poor business model. I’ve seen it used by old program-generators on a mainframe for example, but not much since then.
So, in 99.9% of the cases you are ok with doing whatever you want with the generated code, just read the fine print to cover the remaining 0.1%