All Projects → ByteDev → ByteDev.DotNet

ByteDev / ByteDev.DotNet

Licence: MIT License
Set of classes for reading .NET solution and project files.

Programming Languages

C#
18002 projects
powershell
5483 projects
shell
77523 projects

Projects that are alternatives of or similar to ByteDev.DotNet

HospitalManagementSystem
Hospital management System python
Stars: ✭ 74 (+469.23%)
Mutual labels:  project
SharpLoader
🔮 [C#] Source code randomizer and compiler
Stars: ✭ 36 (+176.92%)
Mutual labels:  project
txFileManager
.NET Transactional File Manager is a .NET Standard library that allows you to enlist file operations (file/folder copies, writes, deletes, appends, etc.) in distributed transactions.
Stars: ✭ 73 (+461.54%)
Mutual labels:  dotnet-standard
Indian-Number-Plate-Recognition-System
Indian Number Plate Recognition System built using OpenCV
Stars: ✭ 72 (+453.85%)
Mutual labels:  project
cognite-sdk-dotnet
.NET SDK for Cognite Data Fusion (CDF)
Stars: ✭ 14 (+7.69%)
Mutual labels:  dotnet-standard
NCalc2
GitHub clone of NCalc from http://ncalc.codeplex.com/
Stars: ✭ 97 (+646.15%)
Mutual labels:  dotnet-standard
Fuzzy-keyword-search-over-encrypted-data-in-cloud-computing
Fuzzy keyword search over encrypted data in cloud computing | PHP project
Stars: ✭ 19 (+46.15%)
Mutual labels:  project
StateNet
A small .Net Standard library used to model simple State Machines
Stars: ✭ 14 (+7.69%)
Mutual labels:  dotnet-standard
leetcode
A set of practice note, solution, complexity analysis and test bench to leetcode problem set
Stars: ✭ 31 (+138.46%)
Mutual labels:  solution
100-redteam-projects
Projects for security students
Stars: ✭ 731 (+5523.08%)
Mutual labels:  project
CommitCombo
깃허브 커밋 기록을 아름답게 꾸미는 프로젝트 ⭐
Stars: ✭ 31 (+138.46%)
Mutual labels:  project
tensorflow-practice
Learning tensorflow by just one example for beginners
Stars: ✭ 43 (+230.77%)
Mutual labels:  project
pastebin-csharp
API client for Pastebin in C#
Stars: ✭ 25 (+92.31%)
Mutual labels:  dotnet-standard
javacard-gradle-template
JavaCard project template for building CAP and running JCardSim with gradle + coverage
Stars: ✭ 27 (+107.69%)
Mutual labels:  project
Hacktoberfest-2021
This repository aims to help code beginners with their first successful pull request and open source contribution. 🥳🎯🚀
Stars: ✭ 24 (+84.62%)
Mutual labels:  project
cv4pve-api-dotnet
Proxmox VE Client API .Net C#
Stars: ✭ 25 (+92.31%)
Mutual labels:  dotnet-standard
mangium
(Needs contributors) Service/project manager for developers/small teams
Stars: ✭ 12 (-7.69%)
Mutual labels:  project
Android-Library-Management
Android Library Management Project
Stars: ✭ 32 (+146.15%)
Mutual labels:  project
gelf-extensions-logging
GELF provider for Microsoft.Extensions.Logging
Stars: ✭ 81 (+523.08%)
Mutual labels:  dotnet-standard
phpindonesia.or.id-membership2
PHP Indonesia - Membership Application - Reloaded
Stars: ✭ 31 (+138.46%)
Mutual labels:  project

Build status NuGet Package

ByteDev.DotNet

Set of classes for reading .NET solution and project files.

Installation

ByteDev.DotNet has been written as a .NET Standard 2.0 library, so you can consume it from a .NET Core or .NET Framework 4.6.1 (or greater) application.

ByteDev.DotNet is hosted as a package on nuget.org. To install from the Package Manager Console in Visual Studio run:

Install-Package ByteDev.DotNet

Further details can be found on the nuget page.

Release Notes

Releases follow semantic versioning.

Full details of the release notes can be viewed on GitHub.

Usage

There are two main classes in the project: DotNetSolution and DotNetProject.

DotNetSolution

Use DotNetSolution from the namespace: ByteDev.DotNet.Solution.

Load a .NET solution file:

DotNetSolution dotNetSolution = DotNetSolution.Load(@"C:\mysolution.sln");

Console.WriteLine(dotNetSolution.VisualStudioVersion);
Console.WriteLine(dotNetSolution.Projects.Count);

DotNetSolution contains the following properties:

  • FormatVersion
  • MajorVersion
  • VisualStudioVersion
  • MinimumVisualStudioVersion
  • Projects
  • GlobalSections

DotNetProject

Use DotNetProject from the namespace: ByteDev.DotNet.Project.

Load a .NET project file:

DotNetProject dotNetProject = DotNetProject.Load(@"C:\myproj.csproj");

Console.WriteLine(dotNetProject.ProjectTargets.Single());
Console.WriteLine(dotNetProject.Format);

DotNetProject contains the following properties:

  • IsMultiTarget
  • ProjectTargets
  • Format
  • ProjectReferences
  • PackageReferences
  • ExcludedItems
  • IncludedItems
  • AssemblyInfo
  • NugetMetaData
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].