icsharpcode / NRefactory

NRefactory - Refactoring Your C# Code
684 stars 262 forks source link

Is it possible to force NRefactory to use .NET 3.5 instead of 4 when analyzing code? #521

Open svermeulen opened 8 years ago

svermeulen commented 8 years ago

Sorry if this is obvious or answered somewhere else but I can't seem to find an answer to it.

The code I'd like to analyze with NRefactory is written using .NET framework 3.5. So I'm getting errors when using NRefactory because it thinks that certain classes exist really don't (eg. classes that were only added with .NET 4.0). Is there a way to get NRefactory to use 3.5 instead of 4 when analyzing code?