My project is set to .NET 3.5, and I’m using Visual Studio 2010. I have Gurock.SmartInspect.dll v 220.127.116.11. When I add the reference to this DLL to my project, I get the message: “‘Gurock.SmartInspect.dll’, or one of its dependencies, requires a later version of hte h.NET Framewok than the one specified in the project.” Setting the project’s target .NET version to v4.0 resolves the problem. However, my requirements require .NET 3.5.
Also, if I open :\Program Files (x86)\Gurock Software\SmartInspect Professional\lib\dotnet\v3.x\ReadMe.txt, it says to use the DLL’s from the v2.x folder, which I have done. If these files were built using .NET 2.x, then why do they require .NET v4.x for me to use them?
Additionally, my GAC does not have any Gurock files in it. Here is some of the text from my csproj file after adding the reference:
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<Reference Include="Gurock.SmartInspect, Version=18.104.22.168, Culture=neutral, PublicKeyToken=a78b0a9303ab7a7c, processorArchitecture=MSIL">
<Reference Include="Gurock.SmartInspect.DebugTrace, Version=22.214.171.124, Culture=neutral, PublicKeyToken=a78b0a9303ab7a7c, processorArchitecture=MSIL">
So what do I need to do here to make this work with .NET v3.5?