I am working on a webform application which I migrated with Visual Studio 2015 from 4.6.
I am getting the following error
Method 'add_PropertyChanged' in type Namespace_Accessor from assembly does not have an implementation.
I also getting 'The BuildShadowTask task failed unexpectively
I did a search for 'add_PropertyChanged' nothing shows up
The Namespace, I found in the WindowService. WHen I clicked on the Service Reference and when I clicked on any of the property, it takes me to the Reference.cs file. I do
see this in the code
public event
System.ComponentModel.PropertyChangedEventHandler
PropertyChanged;
THe class inherits from System.ComponentModel and see the following as part of the interface INotifyPropertyChanged
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
46 Points
283 Posts
Visual Studio 2015 Getting Method add_PropertyChanged in type Namespace_Accessor from assembley d...
Mar 20, 2017 06:06 PM|comicrage|LINK
Hi,
I am working on a webform application which I migrated with Visual Studio 2015 from 4.6.
I am getting the following error
Method 'add_PropertyChanged' in type Namespace_Accessor from assembly does not have an implementation.
I also getting 'The BuildShadowTask task failed unexpectively
I did a search for 'add_PropertyChanged' nothing shows up
The Namespace, I found in the WindowService. WHen I clicked on the Service Reference and when I clicked on any of the property, it takes me to the Reference.cs file. I do
see this in the code
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
THe class inherits from System.ComponentModel and see the following as part of the interface INotifyPropertyChanged
event PropertyChangedEventHandler PropertyChanged;
I googled this issue and people are getting this error because private accessor are deprecated in 2010 and will not build in 2015.
They say remove private via reflection but I am not sure how to do this.
Any help is greatly appreciate to get this build without this error.
Thanks
Contributor
6730 Points
2715 Posts
Re: Visual Studio 2015 Getting Method add_PropertyChanged in type Namespace_Accessor from assembl...
Mar 21, 2017 08:36 AM|Eric Du|LINK
Hi comicrage,
According to your description, about 'add_PropertyChanged', please refer to this document:
https://msdn.microsoft.com/en-us/library/bb311023.aspx?f=255&MSPPError=-2147217396
'The BuildShadowTask task failed unexpectedly":
About this issue, here are some one who meet the same problem as you, please check the following link:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/a7dbbad1-64fa-44d1-b969-9e07c714cf9a/visual-studio-2015-rc-the-buildshadowtask-task-failed-unexpectedly?forum=visualstudiogeneral
Best Regards,
Eric Du
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.