Silverlight App cannot access a resource namespace from the Domain Service Project -


hi have silverlight application has following project structure:

solution
|-------project1.app (this silverlight application project)
|
|-------project1.app.service.web (this domain service project)
|
|-------project1.app.web (this website project)

project1.app.web has reference project1.app.services.web , project1.app has reference through ria wcf reference (silverlight project settings) project1.app.web

the problem comes when trying access 1 of name spaces in resource files in project1.app.services.web resource designer.cs of project1.app.services.web looks this:

namespace project1.app.resources.server {     using system;       /// <summary>     ///   strongly-typed resource class, looking localized strings, etc.     /// </summary>    // class auto-generated stronglytypedresourcebuilder    // class via tool resgen or visual studio.    // add or remove member, edit .resx file rerun resgen    // /str option, or rebuild vs project. [global::system.codedom.compiler.generatedcodeattribute("system.resources.tools.stronglytypedresourcebuilder", "4.0.0.0")] [global::system.diagnostics.debuggernonusercodeattribute()] [global::system.runtime.compilerservices.compilergeneratedattribute()] public class batchtyperesources { 

now in 1 of shared classes project1.app.services.web project silverlight project

using project1.app.resources.server; 

and following error:

the type or namespace name 'server' not exist in namespace 'project1.app.resources' (are missing assembly reference?) c:\dev\app\source\platform development\project1.app\project1.app\generated_code\project1.app.services.web\models\shared\customvalidations.shared.cs

keep in mind if go project1.app.services.web project , class project compiles without issues; silverlight project fails compiled.

the resources files hosted in project1.app.services.web projects , added silverlight project linked files.

any ideas why failing?


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -