You can always add the SolutionA.ProjectWithModels.csproj
as an existing project into SolutionB
.
Just keep in mind that the Visual Studio will most likely warn you about the project not being part of SolutionB
folder structure, but if you can guarantee that SolutionA.ProjectWithModels.csproj
will always be available when opening SolutionB
then that might be an option.
Another option could be to copy the generated SolutionA.ProjectWithModels
assembly and reference it in SolutionB.Mvc4Project
or maybe create a separate solution/project for those models and create a NuGet
package from it which you can then install in SolutionB.Mvc4Project