Popular Articles
Last viewed:
- C# Download File with Progress Bar
- C# Store/Retrieve File in Database Image Field using ODBC
- Connect to Site to Site VPN with Windows XP
- Disable Button on Submit (Prevent multiple submits)
- Changing the Application Pool Identity with Windows Server 2008 and IIS 7
- GridView ObjectDataSource LINQ Paging and Sorting
Recent comments
- Awsome!!
8 hours 3 min ago - C# insert image
22 hours 56 min ago - jkll
3 days 11 hours ago - Thank You
4 days 10 hours ago - Another approach
6 days 11 hours ago - Issue
1 week 1 hour ago - thanks
1 week 12 hours ago - Calendar date time
1 week 17 hours ago - Nice Explanation
1 week 21 hours ago - ramya
1 week 3 days ago

Compile error with SL4 business app template
Right, you just need to "include" the Resource files in your SL Class Library (Client.Data).
1.) Create a folder structure in the Client.Data project for the server-side resources. In my case I made it: {ProjectRoot}\Server\Resources.
2.) Now, right click the new "Resources" folder you just created and choose "Add --> Existing Item...".
3.) Browse to your Web solution that is hosting the SL app (Server.Web) and browse down through until your find the Resources folder within it (usually it's just at the root).
4.) Now, select the resource files you need, however, don't forget that instead of clicking the "Add" button, click the drop-down arrow on the "Add" button and choose "Add as Link". In my case, I just needed to add "ErrorResources.Designer.cs" and "RegistrationDataResources.Designer.cs".
That should be it, now your projects will compile.