Closed GoogleCodeExporter closed 8 years ago
I see it in the Core Client.csproj file. I could try to roll my own without it
but I'm afraid its used somewhere and I'll break something.
<ItemGroup>
<Reference Include="Newtonsoft.Json">
<HintPath>..\..\third_party\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
</ItemGroup>
Original comment by lglath...@gmail.com
on 6 May 2012 at 8:33
Looks like the dependency should be removed -- just a guess. Please fix ASAP!
Thanks ---
Original comment by lglath...@gmail.com
on 6 May 2012 at 9:02
Only seems to be a problem if the call to System.Action (or
Global.System.Action) is i the Global.asax file. Elsewhere, there is no
namespace conflict.
Original comment by lglath...@gmail.com
on 6 May 2012 at 9:35
Workaround:
1. Move the call to System.Action into a sub within some public class in the app
2. Call the sub in the Global.asax file
This works, but please fix this conflict in namespaces where it occurs in
Global.asax. Even using Global.System.Action will not avoid the namespace
conflict.
Original comment by lglath...@gmail.com
on 6 May 2012 at 10:13
Got word back ... looks like Newtonsoft.Json.dll is critial to the functioning.
Looks like System.Action namespace within Newtonsoft.Json.dll is normal. Since
the namespace conflict only occurs in the Global.asax file, use the workaround
I state in Comment 4 if you are trying to call System.Action (or System.Func
for that matter) in Global.asax.
Original comment by lglath...@gmail.com
on 7 May 2012 at 6:40
Glad to hear that you found a workaround. We don't manage the
Newtonsoft.Json.dll and we can't make changes there to address this issue.
I'm marking this as working as intended, thanks for the detailed report.
Original comment by ccherub...@google.com
on 7 May 2012 at 6:51
Original issue reported on code.google.com by
lglath...@gmail.com
on 6 May 2012 at 8:26