user2094139
user2094139

Reputation: 327

How to explicitly define an assembly reference for csdl, ssdl & msl files

I have my connection string for my app.config file as follows

connectionString="metadata=res://*/database.csdl|res://*/database.ssdl|res://*/database.msl;provider=System.Data.SqlClient;

I am running into the Unable to load the specified metadata resource error.

following this

http://blogs.teamb.com/craigstuntz/2010/08/13/38628/

I am under the impression of changing the assembly name to something other than /*/ but i dont know how to change it. If someone could tell me where to reference I would appreciate it

Thanks!

Upvotes: 0

Views: 747

Answers (1)

Dennis
Dennis

Reputation: 37760

Connection Strings:

Metadata=res://AdventureWorks, 1.0.0.0, neutral, a14f3033def15840/model.csdl|model.ssdl|model.msl

See this link about how to get fully qualified name of assembly.

Upvotes: 3

Related Questions