You are here:   Blog
Register   |  Login

LightSwitch News

Nov 24

Written by: Michael Washington
11/24/2012 7:15 AM  RssIcon

image

When you upgrade a LightSwitch project that uses WCF RIA Services to the format used in HTML Client Preview 2, you may get the error:

image

ApplicationData.cs could not be found

image

To fix this, remove the missing link reference.

image

Right-click on the WCF RIA Service project and select Add then Existing Item.

image

Navigate to the LightSwitch project, then Server, then GeneratedArtifacts, then ApplicationDataObjectContext.cs and select Add As Link.

The application will now build and work correctly.


Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 

Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation