Closed GoogleCodeExporter closed 9 years ago
Can you try to copy the missing dll to your bin folder?
If you still encounter this problem, can you by any chance share your screen
with me and we will try to solve it together?
Thanks
Original comment by pele...@google.com
on 27 Aug 2013 at 1:19
The newer version of the dll already exists in the folder, if you replace it
you get an error. I'll email you to schedule a time to look at it.
Original comment by m...@mosheldon.com
on 27 Aug 2013 at 2:48
Attachments:
Any news?
Original comment by pele...@google.com
on 29 Aug 2013 at 1:11
Haven't had a lot of time to play around with it, I have some more ideas. If
you want to close the issue that's fine. It's definitely an issue on the
powershell side that needs to be resolved.
Original comment by m...@mosheldon.com
on 29 Aug 2013 at 5:42
Post on Stack Overflow for more input. Will update when I have more to
contribute to the problem.
http://stackoverflow.com/questions/18542812/powershell-cmdlet-missing-assembly-g
oogle-api
Original comment by m...@mosheldon.com
on 31 Aug 2013 at 3:22
Posting as an update...
Issue still not resolved.
1) Tried loading System.Net.Http.Primitives into GAC, same error
2) Adding App.config Assembly redirect to machine.config, powershell.config,
web.config and still get same error.
3) Fusion logs show it finds the 2.1.10.0 but doesn't redirect the calls for
1.5 to it.
4) This issue started with version 1.4 beta when the switch to .NET 4 was made.
.NET 3.5 worked fine.
Anyway to reference System.Http 2.1.10.0 directly instead of redirecting? Or if
you any ideas let me know. Was hoping StackOverflow would have some insight.
Original comment by m...@mosheldon.com
on 2 Sep 2013 at 11:46
Playing more with loading assembly's in GAC, the following error occurs
Get-GAppsUsers : Method not found: 'Void System.Net.Http.HttpClientHandler.set_
AutomaticDecompression(System.Net.DecompressionMethods)'.
Original comment by m...@mosheldon.com
on 3 Sep 2013 at 6:14
I hate all those redirecting stuff. We unfortunately use it because our
Microsoft.Net.Http dependency.
Sorry that I didn't come with a solution so far. Maybe it's a good idea to
contact the owner of https://www.nuget.org/packages/Microsoft.Net.Http.
Please continue to update,
Sorry,
Eyal
Original comment by Pele...@gmail.com
on 5 Sep 2013 at 2:46
No problem, I discovered yesterday night that my machine.config file wasn't
configured right. I had an extra <runtime/> at the middle of the machine.config
file. My assembly missing issue is fixed, but I have another exception that I
didn't have time to look at yet. Looking good so far though. Thanks for
checking in. I'll let you know when it fully working as it should.
Original comment by m...@mosheldon.com
on 5 Sep 2013 at 4:54
Problem solved.
Register the following in GAC (gacutil /i path of dll)
System.Net.Http 2.1.10.0
System.Net.Http.Primitives 2.1.10.0
log4net 1.2.10.0
Add Binding Redirect to
"C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config"
(Replace current runtime tag)
Original comment by m...@mosheldon.com
on 5 Sep 2013 at 9:22
Just for reference, I'm using this in this project
https://code.google.com/p/google-apps-powershell-client/
Original comment by m...@mosheldon.com
on 10 Sep 2013 at 5:02
User find the solution for that
Original comment by pele...@google.com
on 3 Oct 2013 at 7:27
Original issue reported on code.google.com by
m...@mosheldon.com
on 22 Aug 2013 at 10:16Attachments: