[This is preliminary documentation and is subject to change.]
Allows access to development environment functionality. Will be
implemented by classes allowing access to Visual Studio and MonoDevelop.
Declaration Syntax
C# |
public interface IDevelopmentEnvironment : IDisposable
Members
All Members | Methods | Properties | Events | ||
Icon | Member | Description |
---|---|---|
AddItemFile(Object, String) | Adds an existing file to a project. | |
BuildSolution()()()() | Builds the loaded solution. | |
CreateProject(String, String, String, String) | Creates a new project for a Package.
| |
CreateSolution(String, String) | Creates a new solution in the IDE for a Package. | |
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) | |
FindItemInSolution(String) | Finds an item in any of the projects in the currently open
solution in the IDE. | |
GetDefaultFramework()()()() | Gets a string containing the default framework version for this
IDE. | |
GetItem(Object, String) | Finds a project item with a particular name within a particular
project. The item can be a top level project item or it can be nested
under other project items to arbitrary depth. | |
GetItemFileName(Object) | Gets the file name associated with a project item. | |
GetOutputFilePath(Object) | Gets the path and filename of the output assembly file for a
project. | |
GetProject(String, String) | ||
GetProjectFramework(Object) | Gets a string containing the framework version used by a
particular project. | |
InDesignMode | Gets a value indicating whether the development environment is in
design mode or running a debugging session. | |
InsertProjectReference(Object, Object) | Adds a project reference from one project to another. | |
InsertProjectReference(Object, Type) | Adds a project reference from one project to a particular
assembly. | |
InsertProjectReference(Object, String) | Adds a project reference from one project to a particular
assembly. | |
IsSolutionLoaded(String) | Determines if the solution for a Package is loaded into the IDE. | |
OpenFile(String) | Opens a file in the IDE. | |
OpenSolutionName()()()() | Obtains the name of the solution currently open in the IDE. If
this is a Persistate solution, it will be the same as the package name.
| |
ProjectBuildDone | Raised whenever a project build has completed in the development
environment. This will be raised once for each project built if a
solution build is performed. | |
ProjectFolderPath(Object) | Obtains the folder path for a particular project. | |
ProjectsLocation | Gets the path of the default folder in which project folders are
stored. | |
SaveAllOpenFiles()()()() | Saves all modified open files. | |
SetBuildAction(Object, BuildAction) | Sets the build action of a project item. | |
SolutionBuildDone |
Raised whenever a solution build has completed in the development
environment, whether or not successful.
| |
SolutionFolderPath(String) | Obtains the full path of the folder containing the solution file
for a package. | |
WriteItemFile(Object, String, String, String, Boolean) | Writes a source file to the project folder and adds the file to
the project if not there. |