Skip to content

Where/how does ILSpy identify the target framework? #2981

Answered by dgrunwald
MV10 asked this question in General
Discussion options

You must be logged in to vote

ILSpy uses some mixture of the TargetFrameworkAttribute and the assembly references:

public static string DetectTargetFrameworkId(this MetadataReader metadata, string assemblyPath = null)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MV10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants