visual studio - Project References in Custom VS Project Template -


i working on creating custom visual studio template multiple project types. able add reference across projects in solution. e.g. mvvm solution view, model , viewmodels each in own projects. i'd have view have reference viewmodel project , viewmodel project have reference model project.

only documentation can find on msdn calls named assemblies referenced. http://msdn.microsoft.com/en-us/library/ms185290.aspx

i able partially there, modifying .cproj file using of system parameters, heavily dependent on naming conventions etc. instance can have model project referenced in viewmodel project because concatenation of $safeprojectname$ , "model" makes correct assembly name. cant reference of vm in v, nor can add references testing projects.

    <itemgroup>         <projectreference include="..\$safeprojectname$model\$safeprojectname$model.csproj">           <project>{30c01e8b-96ae-45b4-a7b5-8f7bdca4bdab}</project>           <name>$safeprojectname$model</name>         </projectreference>       </itemgroup> 

does know how can go achieving in template?

thanks.

i dont know if correct way this, did. ended opening config file in text editor , replacing/adding appropriate project references necessary. using appropriate naming conventions able programatically create project files, sub folders etc.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -