To add a little bit to what Mattias said, you can open the project properties by either double-clicking on the Properties node in Solution Explorer, or by right-clicking on the project and selecting properties. The option is "Allow unsafe code" and it appears on the Build tab of the properties that open (it's the 3rd checkbox on the page).
Hope that helps! Anson
|