By default, properties defined on the NAnt command line are read-only, even ignoring the overwrite="true" attribute. Is there any way to make them read-write?
By default, properties defined on the NAnt command line are read-only, even ignoring the
Share
I ran into exactly the same problem yesterday. Since I couldn’t find a solution, I ended up renaming the command line arguments. Somewhat cumbersome but at least it works.
I was passing in property
repo.namevia-D:repo.name=MyRepoand tried this:That gave me a warning and the assignment was ignored. So I changed the name of the command line argument to
repo.name.orig.Would that be possible for you as well?