Set not supported at run time
You tried to set or change a property whose value can only be set at design time.
To correct this error
Remove the reference to the property from your code.
Change the reference to only return the value of the property at run time.
See Also
Tasks
How to: Modify Project Properties and Configuration Settings