vbproj file model
VBProject
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetType | 1 | Get symbol via fullname |
| LoadAssembly | 1 | Load a .NET assembly (dll) via reflection and map its symbols into a virtual VBProject. |
| Load | 1 | Parse vbproj xml file and the vb source files |
| LoadProjectXml | 1 | Just read the vbproj xml file |
| ParseProperties | 1 | Parse every PropertyGroup (conditional or not) into the strongly typed metadata / nuget / build-configuration models. |
| ParseConfigCondition | 1 | Extract Configuration / Platform from a conditional PropertyGroup Condition such as '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'. |
| ParseItemGroups | 1 | Parse ItemGroup elements: ProjectReference, PackageReference and Compile Remove patterns. |
| Generate | 1 | Generate a clean, canonical SDK-style vbproj document from this model. |
| Save | 1 | Serialize this model back to a clean SDK-style vbproj file on disk. |
| ToString | 1 | |
| GetCompileFiles | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Sdk | 1 | the Sdk attribute of the root Project element (e.g. |
| Metadata | 1 | generic project metadata (TargetFramework, Platforms, LangVersion, ...) |
| NuGet | 1 | packaging / nuget metadata |
| Configurations | 1 | conditional build configurations (Debug/Release x Platform) |
| ProjectReferences | 1 | external project references |
| PackageReferences | 1 | nuget package references |
| CompileExcludes | 1 | Compile Remove patterns collected from the vbproj |
| RootNamespace | 1 | |
| AssemblyName | 1 | |
| AssemblyVersion | 1 | |
| OutputType | 1 | |
| CompileFiles | 1 | |
| IsDotNetCoreSDK | 1 |
04 Members
String)Get symbol via fullname
| Name | Type | Description |
|---|---|---|
fullName | String | namespace + type symbol name |
returns nothing if the given symbol could not be found
String)Load a .NET assembly (dll) via reflection and map its symbols into a virtual VBProject. The assembly metadata is read only (no execution).
| Name | Type | Description |
|---|---|---|
dllPath | String | path to the target dll file. |
String, Boolean)Parse vbproj xml file and the vb source files
| Name | Type | Description |
|---|---|---|
vbproj | String | - |
String)Just read the vbproj xml file
| Name | Type | Description |
|---|---|---|
vbproj | String | - |
Parse every PropertyGroup (conditional or not) into the strongly typed metadata / nuget / build-configuration models.
String)Extract Configuration / Platform from a conditional PropertyGroup Condition such as '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'.
Parse ItemGroup elements: ProjectReference, PackageReference and Compile Remove patterns.
Generate a clean, canonical SDK-style vbproj document from this model.
String)Serialize this model back to a clean SDK-style vbproj file on disk.
the Sdk attribute of the root Project element (e.g. Microsoft.NET.Sdk)
generic project metadata (TargetFramework, Platforms, LangVersion, ...)
packaging / nuget metadata
conditional build configurations (Debug/Release x Platform)
external project references
nuget package references
Compile Remove patterns collected from the vbproj