English 中文(简体)
MVC3
原标题:MVC3 Add Controller Context/Model Location

在我的VS MVC项目中,为了记述目的,“补充主计长”对话向我提供了目前项目可能出现的情况和模式清单。 但是,如果我有一个完美的项目有什么样的模式和背景? 我如何召集视频演播室在扩大地点搜索?

显而易见的是,其他人能够看到,“Addller”对话的所有潜在背景和模式。 我不知道我为什么可以这样做。

问题回答

I think, you should add the project that has models and contexts in References part of the project that has controller. References->Add Reference then browse for the project of models and contexts.

此外,你应将这些项目放在提及工作的同一解决办法中,并且你应在主要项目之前部分参照项目。

问题! 在我的解决办法中,我的MVC项目提到了EF4.1的集会,而我支持的EF项目则提到了EF4.2的集会。 当我升级后,两人都达到了4.2,最后,“代管”对话向我展示了两个项目的所有阶层!





相关问题
building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

Tips for debugging a made-for-linux application on windows?

I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...

Visual Studio 2010 Beta 2: Can I print in color?

I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

热门标签