Where can I find the source code for DomainModelTemplate in the latest DevForce version

StackOverflow https://stackoverflow.com/questions/22923366

  •  29-06-2023
  •  | 
  •  

Frage

Back in DevForce 2010, the source code for DomainModelTemplate (and related files) was included in the installation package:

DevForce 2010 Installation Folder

However, in the latest DevForce 2012 installation (7.2.2.0), I don't see those files:

DevForce 2012 Installation Folder

I've even looked in the extension directory but all that has is the T4 template - which just references the DomainModelTemplate class - it's not the actual source of that class. The extension directory does have the CodeGenerator DLLs which is where the compiled class is. But I'd like to avoid having to decompile the DLL just to look at the source code.

Extension Directory

According to the documentation for 2012 on "Customizing the DevForce code generation template", these files should have been available in the installation package:

The source code for DomainModelTemplate is shipped with DevForce; find it in the DevForce installation directory.

I want the source because I am upgrading to DevForce 2012 and I want to see what has changed in the T4s since the version I'm upgrading from.

Is there some other place to get these files?

War es hilfreich?

Lösung

Sorry for the confusion. You can find the T4 templates in the Visual Studio extensions directory.

For example, for VS2012, the T4 templates is located inside one of the (unfortunately) cryptic folder names under the following directory,

[CurrentUserFolder]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top