in your test project add the reference to the assembly
Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0,

Msbuild and visual studio treat assemblies a bit different.

Should you have the reference, check that visual studio is installed on the
build server.

with kind regards
Ruben Willems


On 14 January 2016 at 17:58, George Christiansen <
[email protected]> wrote:

> Can you please help? This is new instance of ccnet and I am missing
> something but not sure what I need to do. any help would greatly be
> appreciated.
>  CCNET SLN Build Log
> <target name="ResolveAssemblyReferences" startTime="01/14/2016 07:51:10"
> elapsedTime="00:00:01" elapsedSeconds="1" success="true">
>           <message level="normal"><![CDATA[Primary reference
> "Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,
> processorArchitecture=MSIL".]]></message>
>           <warning code="MSB3245"
> file="C:\windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets"
> line="0" column="0" timeStamp="01/14/2016 07:51:11"><![CDATA[Could not
> resolve this reference. Could not locate the assembly
> "Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0,
> Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,
> processorArchitecture=MSIL". Check to make sure the assembly exists on
> disk. If this reference is required by your code, you may get compilation
> errors.]]></warning>
>           <message level="normal"><![CDATA[        For SearchPath
> "{TargetFrameworkDirectory}".]]></message>
>           <message level="normal"><![CDATA[
>
>
>
> ERRORS and WARNINGS
> LibertyPackageFolderTests.cs (6,21):
> errorCS0234: The type or namespace name 'VisualStudio' does not exist in
> the namespace 'Microsoft' (are you missing an assembly reference?)
>
> LibertyPackageFolderTests.cs (74,10):
> errorCS0118:
> 'CruiseControl.Tests.LibertyPackageFolderTests.TestInitialize()' is a
> 'method' but is used like a 'type'
>
> LibertyEmailLookupTests.cs (6,6):
>
> errorCS0246: The type or namespace name 'TestClassAttribute' could not be
> found (are you missing a using directive or an assembly reference?)
>
>
>
> Warnings (1)
>
> C:\windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets (0,0):
> warning MSB3245: Could not resolve this reference. Could not locate the
> assembly "Microsoft.VisualStudio.QualityTools.UnitTestFramework,
> Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,
> processorArchitecture=MSIL". Check to make sure the assembly exists on
> disk. If this reference is required by your code, you may get compilation
> errors.
>
>
> No assemblies generated code coverage information.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "ccnet-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ccnet-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to