ExpressionTreeToString | String representations of expression trees | Parser library
kandi X-RAY | ExpressionTreeToString Summary
kandi X-RAY | ExpressionTreeToString Summary
String representations of expression trees + library of expression tree objects
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ExpressionTreeToString
ExpressionTreeToString Key Features
ExpressionTreeToString Examples and Code Snippets
Community Discussions
Trending Discussions on ExpressionTreeToString
QUESTION
I have the following project in my solution which I am trying to use to create a NuGet package:
...ANSWER
Answered 2020-May-24 at 19:16I think the solution can be found here:
QUESTION
I've written a library of expression-tree-related test objects (for the types in System.Linq.Expressions
), which I use in tests for ExpressionTreeToString.
The library is in two .NET Standard class library projects within the solution:
ExpressionTreeTestObjects
-- expressions generated via the C# compiler and by calling the expression tree factory methodsExpressionTreeTestObjects.VB
-- expressions generated by the VB.NET compiler
ExpressionTreeTestObjects
also exposes the main entry point for getting the list of objects (via reflection over the assemblies in the current domain).
I want to publish both DLLs as a single NuGet package.
Where should I put the NuGet package information?
The obvious choice (to my mind) is in ExpressionTreeTestObjects
. But how can there be a reference there to ExpressionTreeTestObjects.VB
, when ExpressionTreeTestObjects.VB
also depends on ExpressionTreeTestObjects
? Isn't this a cyclical build dependency?
I suppose an alternative would be to separate code which generates the expression tree objects, from the main entry point code; and put the entry code in a third project (ExpressionTreeTestObjects.Loader
) which would reference both original projects. The package information would then go on that third project.
But adding a separate project feels like it should be unnecessary.
...ANSWER
Answered 2020-May-24 at 19:08I've included the package information in the ExpressionTreeTestObjects.VB
project, as can be seen here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ExpressionTreeToString
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page