Visual Studio designer in x64 doesn't work
I can repro your problem by creating a WPF application with a user control (put the user control on the wpf app, and build x64).
Here's my guess as to what's going on:
Visual Studio is a 32-bit application and the WPF designer has to load referenced assemblies (you see that behavior all of the time when you use user controls, where you have to rebuild to get the designer to update). Windows does not support a sharing between 32-bit and 64-bit - you have to have either a 32 bit app or a 64-bit app, period, no sharing.
Since the WPF designer is 32-bit, the assemblies need to be 32 bit.
Here is a possible solution:
Design your app with the "Any CPU" option. This will cause your code to JIT to 32-bit on 32-bit platforms and 64-bit on 64-bit platforms.
- The designer will work in "any cpu" because the assemblies get jitted to 32-bit.
- When you need to debug 64-bit specifically, switch your build configuration to 64-bit (knowing that you must switch back to "32-bit or "any cpu" do form design)
The designer could not be shown for this file because none of the classes within it can be designed
Your best bet would be to start with a version of OurServiceBase
with no functionality and see if you can design MyService
. If so, then slowly add back functionality until it breaks.
Since it looks like Visual Studio is having a problem serializing one of the members of OurServiceBase
.
Related Topics
How to Implement Custom Authentication in ASP.NET MVC 5
How to I Apply Filter While Paginating in ASP.NET MVC and Entity Framework
How to Clear Event Subscriptions in C#
Xunit.Net: Global Setup + Teardown
How to Compile a C# File with Roslyn Programmatically
Retrieve the Respective Coordinates of All Words on the Page with Itextsharp
How to Get the Correct Ip from Http_X_Forwarded_For If It Contains Multiple Ip Addresses
The Name '...' Does Not Exist in the Current Context
Wcf Gives an Unsecured or Incorrectly Secured Fault Error
How to Ignore a Certificate Error with C# 2.0 Webclient - Without the Certificate
JSON Serialize Properties on Class Inheriting List
Entity Framework - Invalid Column Name '*_Id"
Why Is Infinity Printed as "8" in the Windows 10 Console
Ilookup<Tkey, Tval> VS. Igrouping<Tkey, Tval>
Datetime2' Error When Using Entity Framework in VS 2010 .Net 4.0