Error compiling in ParameterData.cs
iinjdpa opened this issue · 6 comments
In line 38:
public string ExportingTo { get; } = null; //Currently used with CII export to distinguish CII parameters from other PIPL parameters.
it gives the error:
The token '=' is invalid in a class, struct or interface member declaration(CS1519)
Remove "= null". See if it goes.
10 июля 2016 г. 4:50 PM пользователь "iinjdpa" notifications@github.com
написал:
In line 38:
public string ExportingTo { get; } = null; //Currently used with CII
export to distinguish CII parameters from other PIPL parameters.it gives the error:
The token '=' is invalid in a class, struct or interface member
declaration(CS1519)—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#30, or mute
the thread
https://github.com/notifications/unsubscribe/ALsLW9j3WHwFYZzBOIVkuUC_n61E7I3jks5qUQa9gaJpZM4JI2Xm
.
Thanks for your quick response. I am not c# programmer. I know only Python programming but I have experience in Revit.
It does not work.
Givesme the same error in lines 32 to 38.
'PCF_Functions.ParameterDefinition.Name.get' must declare a body because it is not marked abstract or extern. The implemented properties should automatically define the get and set accessor. (CS0840)
Hi
Well, I am not a programmer, so I don't know exactly what is wrong.
It could be mismatching c# versions, different compilers.
I compile in Visual Studio 2015 Community Edition and receive no errors.
10 июля 2016 г. 5:14 PM пользователь "iinjdpa" notifications@github.com
написал:
Thanks for your quick response. I am not c# programmer. I know only Python
programming but I have experience in Revit.
It does not work.
Givesme the same error in lines 32 to 38.
'PCF_Functions.ParameterDefinition.Name.get' must declare a body because
it is not marked abstract or extern. The implemented properties should
automatically define the get and set accessor. (CS0840)—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#30 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ALsLW7_aDUMk25zrxAdN2l67Ifa_Yq2eks5qUQxzgaJpZM4JI2Xm
.
ok, perhaps it is the reason. I am using sharpdevelop. I will try Visual Studio too.
Thank you!!
ok, perhaps it is the reason. I am using sharpdevelop. I will try Visual Studio too.
Thank you!!
Compiled successfully with Visual Studio 2015 !!. Now I will install in Revit and let you know.