Describe the bug
Plugin.LocalNotification and System.ServiceModel can't be together in the same project
To Reproduce
Steps to reproduce the behavior:
When I include wcf service to my project , the dependence for: System.ServeceModel.Duplex + System.ServeceModel.Http + System.ServeceModel.NetTcp + System.ServeceModel.Security and 73 compile Error popup !!!
All of them are in App.Android project at Recource.Designer.cs file.
See error:
Severity Code Description Project File Line Suppression State
Error CS0102 The type 'Resource.Id' already contains a definition for 'main' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6323 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6323 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6323 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6323 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6323 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6422 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6422 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6422 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6422 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6422 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6479 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6479 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6479 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6479 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6479 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6764 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6764 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6764 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6764 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6764 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error CS0145 A const field requires a value to be provided LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Error CS1003 Syntax error, ',' expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Error CS1002 ; expected LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Error CS1519 Invalid token '=' in class, struct, or interface member declaration LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Error CS0102 The type 'Resource.Id' already contains a definition for 'bottomtab' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error CS0102 The type 'Resource.Id' already contains a definition for 'flyoutcontent' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error CS0102 The type 'Resource.Id' already contains a definition for 'main' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error CS0102 The type 'Resource.Id' already contains a definition for 'main' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error CS0102 The type 'Resource.Id' already contains a definition for 'shellcontent' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error CS0102 The type 'Resource.Id' already contains a definition for 'shellcontent' LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Error IDE1007 The name 'navarea' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6323 Active
Error IDE1007 The name 'tabbar' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6326 Active
Error IDE1007 The name 'appbar' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6422 Active
Error IDE1007 The name 'recycler' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6425 Active
Error IDE1007 The name 'appbar' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6479 Active
Error IDE1007 The name 'scrollview' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6482 Active
Error IDE1007 The name 'tablayout' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6485 Active
Error IDE1007 The name 'toolbar' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6488 Active
Error IDE1007 The name 'appbar' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6764 Active
Error IDE1007 The name 'scrollview' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6767 Active
Error IDE1007 The name 'toolbar' does not exist in the current context. LocalNotification.Sample.Android D:\Desktop\Sample\NuGet\Sample.Android\obj\Debug\90\designtime\Resource.designer.cs 6770 Active
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):
- OS: [e.g. iOS] windows 10
- Version [e.g. 22] 2.0.7
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Here's the sample project , from this site, with the Compile errors
Sample.zip