Class Project
- Namespace
- Alternet.Common.Projects.DotNet.SdkStyleReferences
- Assembly
- Alternet.Common.v10.dll
Represents properties that describes SDK-style Visual Studio project.
public class Project
- Inheritance
-
Project
Constructors
- Project(string?, TargetFramework?, IList<TargetFramework>?, bool, bool, bool, bool, string?, string?, bool, string?, IReadOnlyList<string>)
Initializes a new instance of the
Project
class with specified parameters.
Properties
- FrameworkReferences
Gets the read-only list of shared frameworks that contains a collection of assembly references for this project.
- GenerateAssemblyInfo
Gets a boolean value that specifies GenerateAssemblyInfo property for the project.
- ImplicitUsings
Gets a boolean value indicating whether implicit global using directives are enabled in this project.
- LanguageVersion
Gets project's language version.
- MyType
Gets a string value that specifies MyType property for VB project.
- Sdk
Gets the Sdk name like "Microsoft.NET.Sdk" or "Microsoft.NET.Sdk.WindowsDesktop".
- TargetFramework
Gets
TargetFramework
that specifies the target project's framework.
- TargetFrameworks
Gets a list of all
TargetFramework
for the project
- UseMaui
Gets the boolean value indicating whether the Maui assembly references are available for this project.
- UseWindowsForms
Gets the boolean value indicating whether the Windows Forms assembly references are available for this project.
- UseWpf
Gets the boolean value indicating whether the WPF assembly references are available for this project.
- Version
Gets a string value that specifies Version property for the project.