You are here:   Blog
Register   |  Login

 

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.

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