ProjectExtensions Class
Helpful extension methods for code generators.
Assembly: Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)
The ProjectExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | GetAssemblyPath | Get the output path of built assembly for the given project according to the selected configuration. |
![]() ![]() | GetAssemblyReference | Gets the reference with the given identity (assembly name minus extension) for the given project. |
![]() ![]() | GetAssemblyReferences(Project) | Gets the list of file paths of assembly references for the given project. |
![]() ![]() | GetAssemblyReferences(Project, Boolean) | Gets the list of file paths of assembly references for the given project with the ability to select whether to include the references from referenced projects in solution. |
![]() ![]() | GetCodeLanguage | Gets the code language for the project. For the web site projects, Unsupported is returned. |
![]() ![]() | GetDefaultNamespace(Project) | Gets the default namespace of the project. |
![]() ![]() | GetDefaultNamespace(ProjectItem) | Gets the default namespace of the project item. |
![]() ![]() | GetFullPath(Project) | Gets the full physical path for a given project. |
![]() ![]() | GetFullPath(ProjectItem) | Get the full physical path for a given project item. |
![]() ![]() | GetPropertyValue<TValue>(Project, String) | A strongly typed helper function for getting the project properties. |
![]() ![]() | GetPropertyValue<TValue>(ProjectItem, String) | A strongly typed helper function for getting the project item properties. |
![]() ![]() | GetTargetFramework | Gets the target framework of the project. Returns null if the target framework property of the project is not available. Throws an ArgumentException if the property value is in invalid format. See FrameworkName for more information. |
![]() ![]() | GetWebConfig | Get the full path of web.config file or returns null if one does not exist. Useful helper for web projects. |
Show:
