I'm sorry, I'm out of the business for a while... but, in fact, in my case, the solution was to move to VS2013.
- Netduino Forums
- → Viewing Profile: Posts: marcbaye
The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
Community Stats
- Group Members
- Active Posts 5
- Profile Views 3293
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
0
Neutral
User Tools
Friends
marcbaye hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Can't create custom events
29 July 2015 - 06:09 AM
In Topic: Can't create custom events
10 February 2015 - 07:54 AM
Uhm... I remember.... this cause exactly the same error:
public class Test
{
public int TestProperty { get; set; }
}
But I learned to change to:
public class Test
{
int _TestProperty;
public int TestProperty
{
get { return _TestProperty; }
set { _TestProperty = value; }
}
}
And then runs without problem.
In Topic: Can't create custom events
10 February 2015 - 07:46 AM
The full code is huge! But it doesn't matter: it works if I comment the events. Just add this to compile (even without using it)
public class Test
{
public delegate void MyEventHandler();
public event MyEventHandler TestEvent;
}
And the error appears.
In Topic: Can't create custom events
10 February 2015 - 01:20 AM
No no... I started with my own handler... tried EventHandler... whatever I use, the error occurs...
- Netduino Forums
- → Viewing Profile: Posts: marcbaye
- Privacy Policy