Solution.Parser 0.2.0-alpha.44

.NET 7.0
This is a prerelease version of Solution.Parser.
dotnet add package Solution.Parser --version 0.2.0-alpha.44
NuGet\Install-Package Solution.Parser -Version 0.2.0-alpha.44
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Solution.Parser" Version="0.2.0-alpha.44" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Solution.Parser --version 0.2.0-alpha.44
#r "nuget: Solution.Parser, 0.2.0-alpha.44"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Solution.Parser as a Cake Addin
#addin nuget:?package=Solution.Parser&version=0.2.0-alpha.44&prerelease

// Install Solution.Parser as a Cake Tool
#tool nuget:?package=Solution.Parser&version=0.2.0-alpha.44&prerelease

Solution Parser

Sample

[TestClass]
public class SolutionParseTest
{
    private static SolutionFileInfo _sSolutionFileInfo = null!;

    [ClassInitialize]
    public static void ClassInit(TestContext _)
    {
        var solutionFile = new SolutionFileName("Solution.Parser.sln").FindSolutionFileReverseFrom(new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory));
        _sSolutionFileInfo = Throw.IfNull(solutionFile);
    }

    [TestMethod]
    public void Assert_That_Solution_Could_Be_Parsed()
    {
        var tcSolutionFile = _sSolutionFileInfo.Parse();

        Assert.IsNotNull(tcSolutionFile);
    }

    [TestMethod]
    public void Assert_That_A_CSharp_File_Can_Be_Parsed()
    {
        var tcSolutionFile = _sSolutionFileInfo.Parse();

        var csharpSyntaxTrees = tcSolutionFile.Projects.SelectMany(p => p.CSharpFileInfos).Select(c => c.Parse()).ToList();

        Assert.IsTrue(csharpSyntaxTrees.Any());
    }
}
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0-alpha.44 46 9/12/2023
0.2.0-alpha.43 533 8/28/2023
0.2.0-alpha.42 61 8/27/2023
0.2.0-alpha.41 62 8/27/2023
0.2.0-alpha.38 758 7/25/2023
0.2.0-alpha.37 279 6/30/2023
0.2.0-alpha.34 3,961 3/16/2023
0.2.0-alpha.31 697 2/5/2023
0.2.0-alpha.30 2,307 1/2/2023
0.2.0-alpha.29 77 1/1/2023
0.2.0-alpha.27 69 1/1/2023
0.2.0-alpha.25 76 1/1/2023
0.1.0-alpha.24 71 12/27/2022
0.1.0-alpha.23 351 12/12/2022
0.1.0-alpha.22 71 12/12/2022
0.1.0-alpha.21 4,950 9/15/2022
0.1.0-alpha.19 156 9/14/2022
0.1.0-alpha.16 2,457 6/7/2022
0.1.0-alpha.15 95 6/7/2022
0.1.0-alpha.14 98 6/7/2022
0.1.0-alpha.13 319 4/25/2022
0.1.0-alpha.12 98 4/22/2022
0.1.0-alpha.11 115 4/16/2022

Introduce API parsing