C# Class RunTimeCompiler.CsprojReader

This is a reader for C# project files, or more precisely a wrapper to a reader of all .csproj. As the structure of the .csproj file appears to change with the version of Visual Studio, this class must use the appropriate .csproj reader. AllCsprojReader (the only class used currently to process .csproj files) support .csproj files created with Visual Studio 2005+. Visual Studio 2010 is the most recent version of Visual Studio, and the .csproj files it generates are processed ok by AllCsprojReader. I do not know if .csproj files created with Visual Studio 2001-2003 can be processed successfully.
Inheritance: IProjectReader
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

Méthode Description
CanOpen ( string filename ) : bool

Defined in IProjectReader. It is used to check if the specified file can be opened by this project-reader.

ReadProject ( string filename ) : BasicProject

Defined in IProjectReader. It is used to retrieve all the data needed for UI and compilation.

Method Details

CanOpen() public méthode

Defined in IProjectReader. It is used to check if the specified file can be opened by this project-reader.
public CanOpen ( string filename ) : bool
filename string
Résultat bool

ReadProject() public méthode

Defined in IProjectReader. It is used to retrieve all the data needed for UI and compilation.
public ReadProject ( string filename ) : BasicProject
filename string The name (and path) of the C# project file.
Résultat BasicProject