Reply to comment
While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?
While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?
Raymond Lai
#
Hi Richard, I got sever errors when I try to compile your 2 projects in VS2005. 'Cyotek.GhostScript.GhostScriptException.Arguments.get' must declare a body because it is not marked abstract or extern' d:\Cyotek.GhostScript\GhostScriptException.cs Ln:74 Col:33 yotek.GhostScript
Richard Moss
#
Raymond,
This is because the sample is using auto generated properties. Essentially, the C# 3+ compiler will let you just declare a property and it will take care of the backing field and body.
In the example you quoted, line 74 is this:
public string[] Arguments { get; protected set; }
In order to make it compile, you'll need to "expand" this, for example:
As far as I know, there's no way of making auto generated properties work in that version of Visual Studio, sorry.
Regards; Richard Moss