TheSourceUK / tridion-2011-power-tools

Automatically exported from code.google.com/p/tridion-2011-power-tools
0 stars 0 forks source link

Error 154 No overload for method 'GetDefaultData' takes 2 arguments D:\Code\Community\tridion-2011-power-tools\PowerTools.Model\Services\AddUser.svc.cs 31 47 PowerTools.Model #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get latest
2. Build PowerTools.Model

What is the expected output? What do you see instead?

In `\tridion-2011-power-tools\PowerTools.Model\Services\AddUser.svc.cs`

for the #else line below

#if TRIDION2013
  UserData userData = (UserData)coreService.GetDefaultData(ItemType.User, null, new ReadOptions());
#else
  UserData userData = (UserData)coreService.GetDefaultData(ItemType.User, null);
#endif

I get:

Error   154 No overload for method 'GetDefaultData' takes 2 
arguments   D:\Code\Community\tridion-2011-power-tools\PowerTools.Model\Services\A
ddUser.svc.cs   31  47  PowerTools.Model

Maybe I need to update a reference? I'll report back any fixes.

Original issue reported on code.google.com by reyes.al...@gmail.com on 20 Dec 2013 at 8:35

GoogleCodeExporter commented 8 years ago
Sounds like you are building against a 2013 SP1 reference, but you aren't using 
the Tridion2013 build configuration.

Original comment by pkjaer....@gmail.com on 30 Dec 2013 at 4:13

GoogleCodeExporter commented 8 years ago
I think it is a configuration issue specific to my environment. Closing as 
invalid and will revisit if needed.

Original comment by reyes.al...@gmail.com on 18 Mar 2014 at 4:12