Spark View Engine

View: New views
1 Messages — Rating Filter:   Alert me  

Spark View Engine

by Craig van Nieuwkerk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, I have posted this question in the Spark dev groups as well and
have not yet got a reply, so thought I would give it a try here before
having to abandon Spark and go back to WebForms view engine :-P

If I open a basic Spark project like the NorthwindDemo project that
comes with Spark but then reference another project that is in my
solution (such as the Model project that is used by nHibernate) when I
run the application I get the following error.

Dynamic view compilation failed. 0,0): error CS1704: An assembly with
the same simple name 'MyApp.Model, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null has already been imported. Try removing one of the
references or sign them to enable side-by-side.

The only possible way I can see to get around it is to create one
gigantic project with everything (Model, Services, Framework stuff) in
it. This is not ideal. Surely someone has used Spark with more than
one project?

Craig.