Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cant properly add service reference in VS 2012 RC

I just add address of the service, press GO and ok. After that generated Reference.svcmap looks right, but Reference.cs is empty!

//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.17626
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

And thats all. Cant work with ServiceClient object!
PS: Adding same service reference in VS2010 works ok and reference.cs is fully generated.
The question is: is there is a problem in generating the ClientObject, why VS is not giving me any warning message. Also if someone has experiences such problem-how can i fix that?

Version information:
Microsoft Visual Studio Ultimate 2012 RC
Version 11.0.50706.0 QRELRC July, 2012
Microsoft .NET Framework
Version 4.5.50501

like image 294
0x49D1 Avatar asked Jul 27 '12 13:07

0x49D1


Video Answer


2 Answers

I had the exact sam problem. I unchecked 3:rd party dll:s like on this page: link

like image 96
david Avatar answered Oct 28 '22 23:10

david


Same problem in 11.0.50727.1 RTMREL

// Runtime Version:4.0.30319.17929

Unchecked the "Reuse Types in referenced assemblies" checkbox in the Configure Service reference dialog.

Worked for me: Link

like image 36
mojo Avatar answered Oct 29 '22 00:10

mojo