From: Nick Gilbert on
On 21/04/2010 09:31, Andrew Morton wrote:
> Nick Gilbert wrote:
>> I have upgraded a Visual Studio 2008 solution to VS 2010, but leaving
>> the target Framework at 3.5. The application references
>> Microsoft.SQLServer.ManagedDTS.dll which ships with SQL Server 2008 (I
>> am using version 10.0.1600.22 of this DLL).
>>
>> If I try to compile the application I get the following compiler
>> warning in the output window, followed by lots of errors as it cannot
>> find the namespaces referenced in the source code:
>>
>> Warning 2 The primary reference "Microsoft.SQLServer.ManagedDTS,
>> Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91,
>> ...
>
> Is there any significance in the warning containing a different version
> number for your dll than the one you're intending to use?
>

That comes up even if I remove the reference and re-add it. I'm not sure
why it's different to the version number I get if I look at the
properties of the file.

Nick