Solution.Parser
0.2.0-alpha.42
This is a prerelease version of Solution.Parser.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Solution.Parser --version 0.2.0-alpha.42
NuGet\Install-Package Solution.Parser -Version 0.2.0-alpha.42
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.42" />
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.42
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Solution.Parser, 0.2.0-alpha.42"
#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.42&prerelease // Install Solution.Parser as a Cake Tool #tool nuget:?package=Solution.Parser&version=0.2.0-alpha.42&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Argument.Check (>= 3.0.1)
- Extensions.Pack (>= 3.0.3)
- FileSystem.Abstraction (>= 0.1.2)
- Microsoft.Build (>= 17.6.3)
- Microsoft.CodeAnalysis.CSharp (>= 4.6.0)
- NuGet.Configuration (>= 6.6.1)
- NuGet.Versioning (>= 6.6.1)
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 |
---|---|---|
3.0.0 | 52 | 11/20/2024 |
2.0.18 | 44 | 11/20/2024 |
2.0.17 | 2,075 | 10/17/2024 |
2.0.16 | 8,651 | 9/23/2024 |
2.0.15 | 529 | 9/6/2024 |
2.0.13 | 9,349 | 6/12/2024 |
2.0.12 | 103 | 5/26/2024 |
2.0.11 | 1,058 | 5/12/2024 |
2.0.10 | 53 | 5/12/2024 |
2.0.9 | 61 | 5/10/2024 |
2.0.8 | 62 | 5/9/2024 |
2.0.7 | 61 | 5/9/2024 |
2.0.6 | 58 | 5/9/2024 |
2.0.5 | 1,641 | 4/20/2024 |
2.0.4 | 1,376 | 3/5/2024 |
2.0.3 | 2,902 | 1/22/2024 |
2.0.2 | 66 | 1/22/2024 |
2.0.1 | 425 | 1/16/2024 |
2.0.0 | 953 | 11/28/2023 |
0.2.0 | 457 | 11/28/2023 |
0.2.0-alpha.45 | 404 | 10/14/2023 |
0.2.0-alpha.44 | 118 | 9/12/2023 |
0.2.0-alpha.43 | 1,677 | 8/28/2023 |
0.2.0-alpha.42 | 97 | 8/27/2023 |
0.2.0-alpha.41 | 96 | 8/27/2023 |
0.2.0-alpha.38 | 1,396 | 7/25/2023 |
0.2.0-alpha.37 | 441 | 6/30/2023 |
0.2.0-alpha.34 | 4,871 | 3/16/2023 |
0.2.0-alpha.31 | 746 | 2/5/2023 |
0.2.0-alpha.30 | 2,379 | 1/2/2023 |
0.2.0-alpha.29 | 121 | 1/1/2023 |
0.2.0-alpha.27 | 111 | 1/1/2023 |
0.2.0-alpha.25 | 121 | 1/1/2023 |
0.1.0-alpha.24 | 114 | 12/27/2022 |
0.1.0-alpha.23 | 391 | 12/12/2022 |
0.1.0-alpha.22 | 109 | 12/12/2022 |
0.1.0-alpha.21 | 5,032 | 9/15/2022 |
0.1.0-alpha.19 | 207 | 9/14/2022 |
0.1.0-alpha.16 | 2,491 | 6/7/2022 |
0.1.0-alpha.15 | 132 | 6/7/2022 |
0.1.0-alpha.14 | 133 | 6/7/2022 |
0.1.0-alpha.13 | 343 | 4/25/2022 |
0.1.0-alpha.12 | 122 | 4/22/2022 |
0.1.0-alpha.11 | 152 | 4/16/2022 |
Introduce API parsing