How to build cudafy.net?

Nov 23, 2012 at 12:04 AM
Edited Nov 23, 2012 at 12:05 AM

Hi,

I tried to build cudafy.net from souce code. However, I got errors when I built it. My building environment: win7 x64, cuda 5.0, VS2010. I have modified the reference to NUnit in the unit tests and made sure they were valid.

Here is the output from building process:

 

------ Rebuild All started: Project: CUDA.NET, Configuration: Release x64 ------

E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\GASS.CUDA\CUDADriver.cs(104,39): warning CS0612: 'GASS.CUDA.CUDeviceProperties' is obsolete

E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\GASS.CUDA\CUDA.cs(1131,29): warning CS0612: 'GASS.CUDA.CUDeviceProperties' is obsolete

E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\GASS.CUDA\CUDA.cs(1131,59): warning CS0612: 'GASS.CUDA.CUDeviceProperties' is obsolete

Compile complete -- 0 errors, 3 warnings

Build started 11/23/2012 8:59:43 AM.

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /baseaddress:285212672 /define:TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.XML.dll" /filealign:4096 /optimize+ /out:obj\x64\Release\CUDA.NET.dll /target:library AssemblyInfo.cs GASS.CUDA.BLAS.Types\cublasHandle.cs GASS.CUDA.BLAS\CUBLAS.cs GASS.CUDA.BLAS\CUBLASDriver.cs GASS.CUDA.BLAS\CUBLASDriverEmulation.cs GASS.CUDA.BLAS\CUBLASDriverv2.cs GASS.CUDA.BLAS\CUBLASException.cs GASS.CUDA.BLAS\CUBLASPointerMode.cs GASS.CUDA.BLAS\CUBLASStatus.cs GASS.CUDA.BLAS\CUBLASStatusv2.cs GASS.CUDA.BLAS\ICUBLASDriverv2.cs GASS.CUDA.Direct3D\CUD3D10Driver.cs GASS.CUDA.Direct3D\CUD3D10MapFlags.cs GASS.CUDA.Direct3D\CUD3D10RegisterFlags.cs GASS.CUDA.Direct3D\CUD3D10Runtime.cs GASS.CUDA.Direct3D\CUD3D11Driver.cs GASS.CUDA.Direct3D\CUD3D11Runtime.cs GASS.CUDA.Direct3D\CUD3D9Driver.cs GASS.CUDA.Direct3D\CUD3D9MapFlags.cs GASS.CUDA.Direct3D\CUD3D9RegisterFlags.cs GASS.CUDA.Direct3D\CUD3D9Runtime.cs GASS.CUDA.Direct3D\cudaD3D10MapFlags.cs GASS.CUDA.Direct3D\cudaD3D10RegisterFlags.cs GASS.CUDA.Direct3D\cudaD3D9MapFlags.cs GASS.CUDA.Direct3D\cudaD3D9RegisterFlags.cs GASS.CUDA.Engine\CUDAExecution.cs GASS.CUDA.Engine\Parameter.cs GASS.CUDA.Engine\ParameterDirection.cs GASS.CUDA.Engine\ParameterType.cs GASS.CUDA.FFT\CUFFTCompatibility.cs GASS.CUDA.FFT.Types\cufftHandle.cs GASS.CUDA.FFT\CUFFT.cs GASS.CUDA.FFT\CUFFTDirection.cs GASS.CUDA.FFT\CUFFTDriver.cs GASS.CUDA.FFT\cufftemuDriverEmulation.cs GASS.CUDA.FFT\CUFFTException.cs GASS.CUDA.FFT\CUFFTResult.cs GASS.CUDA.FFT\CUFFTType.cs GASS.CUDA.FFT\ICUFFTDriver.cs GASS.CUDA.OpenGL\cudaGLMapFlags.cs GASS.CUDA.OpenGL\CUGLmap_flags.cs GASS.CUDA.OpenGL\CUOpenGLDriver.cs GASS.CUDA.OpenGL\CUOpenGLRuntime.cs GASS.CUDA.Tools\CUDAContextSynchronizer.cs GASS.CUDA.Types\Char1.cs GASS.CUDA.Types\Char2.cs GASS.CUDA.Types\Char3.cs GASS.CUDA.Types\Char4.cs GASS.CUDA.Types\CUarray.cs GASS.CUDA.Types\CUcontext.cs GASS.CUDA.Types\CUP2PTokens.cs GASS.CUDA.Types\CUdevice.cs GASS.CUDA.Types\CUdeviceptr.cs GASS.CUDA.Types\cuDoubleComplex.cs GASS.CUDA.Types\cuDoubleReal.cs GASS.CUDA.Types\CUevent.cs GASS.CUDA.Types\cuFloatComplex.cs GASS.CUDA.Types\cuFloatReal.cs GASS.CUDA.Types\CUfunction.cs GASS.CUDA.Types\CUgraphicsResource.cs GASS.CUDA.Types\CUmodule.cs GASS.CUDA.Types\CUstream.cs GASS.CUDA.Types\CUtexref.cs GASS.CUDA.Types\CUuuid.cs GASS.CUDA.Types\Double1.cs GASS.CUDA.Types\Double2.cs GASS.CUDA.Types\Float1.cs GASS.CUDA.Types\Float2.cs GASS.CUDA.Types\Float3.cs GASS.CUDA.Types\Float4.cs GASS.CUDA.Types\Int1.cs GASS.CUDA.Types\Int2.cs GASS.CUDA.Types\Int3.cs GASS.CUDA.Types\Int4.cs GASS.CUDA.Types\Long1.cs GASS.CUDA.Types\Long2.cs GASS.CUDA.Types\Long3.cs GASS.CUDA.Types\Long4.cs GASS.CUDA.Types\Short1.cs GASS.CUDA.Types\Short2.cs GASS.CUDA.Types\Short3.cs GASS.CUDA.Types\Short4.cs GASS.CUDA.Types\UChar1.cs GASS.CUDA.Types\UChar2.cs GASS.CUDA.Types\UChar3.cs GASS.CUDA.Types\UChar4.cs GASS.CUDA.Types\UInt1.cs GASS.CUDA.Types\UInt2.cs GASS.CUDA.Types\UInt3.cs GASS.CUDA.Types\UInt4.cs GASS.CUDA.Types\ULong1.cs GASS.CUDA.Types\ULong2.cs GASS.CUDA.Types\ULong3.cs GASS.CUDA.Types\ULong4.cs GASS.CUDA.Types\UShort1.cs GASS.CUDA.Types\UShort2.cs GASS.CUDA.Types\UShort3.cs GASS.CUDA.Types\UShort4.cs GASS.CUDA\CUAddressMode.cs GASS.CUDA\CUArrayCubemapFace.cs GASS.CUDA\CUArrayFormat.cs GASS.CUDA\CUComputeMode.cs GASS.CUDA\CUCtxFlags.cs GASS.CUDA\CUDA.cs GASS.CUDA\cudaArray.cs GASS.CUDA\CUDAArray3DDescriptor.cs GASS.CUDA\CUDAArrayDescriptor.cs GASS.CUDA\cudaChannelFormatDesc.cs GASS.CUDA\cudaChannelFormatKind.cs GASS.CUDA\cudaComputeMode.cs GASS.CUDA\cudaDeviceProp.cs GASS.CUDA\CUDADriver.cs GASS.CUDA\cudaError.cs GASS.CUDA\cudaEvent.cs GASS.CUDA\CUDAException.cs GASS.CUDA\cudaExtent.cs GASS.CUDA\cudaFuncAttributes.cs GASS.CUDA\cudaGraphicsResource.cs GASS.CUDA\CUDAMemCpy2D.cs GASS.CUDA\CUDAMemCpy3D.cs GASS.CUDA\cudaMemcpy3DParms.cs GASS.CUDA\cudaMemcpyKind.cs GASS.CUDA\cudaPitchedPtr.cs GASS.CUDA\cudaPos.cs GASS.CUDA\CUDARuntime.cs GASS.CUDA\cudaStream.cs GASS.CUDA\cudaTextureAddressMode.cs GASS.CUDA\cudaTextureFilterMode.cs GASS.CUDA\cudaTextureReadMode.cs GASS.CUDA\CUDeviceAttribute.cs GASS.CUDA\CUDeviceProperties.cs GASS.CUDA\CUEventFlags.cs GASS.CUDA\CUFilterMode.cs GASS.CUDA\CUFunctionAttribute.cs GASS.CUDA\CUFunctionCache.cs GASS.CUDA\CUGraphicsMapResourceFlags.cs GASS.CUDA\CUGraphicsRegisterFlags.cs GASS.CUDA\CUJITFallback.cs GASS.CUDA\CUJITOption.cs GASS.CUDA\CUJITTarget.cs GASS.CUDA\CUMemHostAllocFlags.cs GASS.CUDA\CUMemoryType.cs GASS.CUDA\CUPointerAttribute.cs GASS.CUDA\CUResult.cs GASS.CUDA\Device.cs GASS.CUDA\DeviceProperties.cs GASS.CUDA\InitializationFlags.cs GASS.CUDA\StreamFlags.cs GASS.CUDA\textureReference.cs GASS.Types\SizeT.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

CopyFilesToOutputDirectory:

Copying file from "obj\x64\Release\CUDA.NET.dll" to "bin\x64\Release\CUDA.NET.dll".

CUDA.NET -> E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\bin\x64\Release\CUDA.NET.dll

Build succeeded.

Time Elapsed 00:00:00.67

------ Rebuild All started: Project: Cudafy, Configuration: Release x64 ------

E:\CudafyBuild\Cudafy\Cudafy\Compilers\CompilerOptions.cs(218,10): warning CS1030: #warning: 'Try calling nvcc.exe'

E:\CudafyBuild\Cudafy\Cudafy\Extensions\Rand.cs(145,10): warning CS1030: #warning: 'TODO curand_log_normal2 and curand_log_normal2_double'

E:\CudafyBuild\Cudafy\Cudafy\Extensions\Rand.cs(214,10): warning CS1030: #warning: 'TODO curand_normal2_double and curand_normal2'

E:\CudafyBuild\Cudafy\Cudafy\KernelModule.cs(568,10): warning CS1030: #warning: 'TODO http://www.codeproject.com/KB/dotnet/AppDomain_quick_start.aspx'

E:\CudafyBuild\Cudafy\Cudafy\GMath.cs(29,10): warning CS1030: #warning: 'TODO complete float versions where necessary '

E:\CudafyBuild\Cudafy\Cudafy\GMath.cs(225,10): warning CS1030: #warning: 'TODO Ensure that two args are not passed to Math.Log'

Compile complete -- 0 errors, 6 warnings

Build started 11/23/2012 8:59:44 AM.

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.VisualBasic.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\Cudafy.dll /target:library Attributes.cs Compilers\CompilerOptions.cs Compilers\ICompilerOptions.cs Compilers\NvccCompilerOptions.cs dim3.cs Enumerators.cs Exceptions.cs Extensions\AssemblyExtensions.cs Extensions\Atomics.cs Extensions\Rand.cs GBlock.cs GGrid.cs GMath.cs GThread.cs KernelConstantInfo.cs KernelMemberInfo.cs KernelMethodInfo.cs KernelModule.cs KernelTypeInfo.cs Properties\AssemblyInfo.cs SimpleBarrier.cs SimpleWarpBarrier.cs Types\ComplexF.cs Types\ComplexD.cs Types\CURAND\cuRandKernel.cs Utilities.cs XmlExtensions.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

_CopyAppConfigFile:

Copying file from "app.config" to "bin\x64\Release\Cudafy.dll.config".

CopyFilesToOutputDirectory:

Copying file from "obj\x64\Release\Cudafy.dll" to "bin\x64\Release\Cudafy.dll".

Cudafy -> E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll

Copying file from "obj\x64\Release\Cudafy.pdb" to "bin\x64\Release\Cudafy.pdb".

Build succeeded.

Time Elapsed 00:00:00.24

------ Rebuild All started: Project: Cudafy.Host, Configuration: Release x64 ------

E:\CudafyBuild\Cudafy\Cudafy.Host\CudaGPU.cs(660,10): warning CS1030: #warning: 'TODO- Call cuPrintfInit if necessary (_module.CanPrint;)( http://www.jeremykemp.co.uk/08/02/2010/cuda-cuprintf/ )'

E:\CudafyBuild\Cudafy\Cudafy.Host\CudaGPU.cs(679,10): warning CS1030: #warning: 'TODO Set Shared memory size'

E:\CudafyBuild\Cudafy\Cudafy.Host\EmulatedGPU.cs(67,10): warning CS1030: #warning: 'Make configurable at EmulatedGPU level'

E:\CudafyBuild\Cudafy\Cudafy.Host\EmulatedGPU.cs(255,10): warning CS1030: #warning: 'OPTIMIZATION if there is no synchronize then start and join threads in multiple of processor count - check this in disassembly and put flag in gpuMethodInfo'

Compile complete -- 0 errors, 4 warnings

Build started 11/23/2012 8:59:44 AM.

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /unsafe+ /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\bin\x64\Release\CUDA.NET.dll /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\Cudafy.Host.dll /target:library CudafyHost.cs CudaGPU.cs DynamicLauncher.cs EmulatedGPU.cs Exceptions.cs Extensions\IntPtrEx.cs GPGPU.cs GPGPUProperties.cs Properties\AssemblyInfo.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

_CopyFilesMarkedCopyLocal:

Copying file from "E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\bin\x64\Release\CUDA.NET.dll" to "bin\x64\Release\CUDA.NET.dll".

Copying file from "E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll" to "bin\x64\Release\Cudafy.dll".

Copying file from "E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.pdb" to "bin\x64\Release\Cudafy.pdb".

CopyFilesToOutputDirectory:

Copying file from "obj\x64\Release\Cudafy.Host.dll" to "bin\x64\Release\Cudafy.Host.dll".

Cudafy.Host -> E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll

Copying file from "obj\x64\Release\Cudafy.Host.pdb" to "bin\x64\Release\Cudafy.Host.pdb".

Build succeeded.

Time Elapsed 00:00:00.28

------ Skipped Rebuild All: Project: Cudafy.Translator, Configuration: Release x86 ------

Project not selected to build for this solution configuration

------ Skipped Rebuild All: Project: cudafycl, Configuration: Release x86 ------

Project not selected to build for this solution configuration

------ Rebuild All started: Project: Cudafy.Math, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll' could not be found

Compile complete -- 1 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.Translator".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll".

Reference found at search path location "".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /unsafe+ /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\bin\x64\Release\CUDA.NET.dll /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\Cudafy.Math.dll /target:library BLAS\CUBLASDriver32Ex.cs BLAS\CUBLASDriver64Ex.cs BLAS\CudaBLAS.cs BLAS\GPGPUBLAS.cs BLAS\HostBLAS.cs BLAS\ICUBLASDriverv2Ex.cs BLAS\IGPGPUBLAS.cs BLAS\Types\cublasDiagType.cs BLAS\Types\cublasFillMode.cs BLAS\Types\cublasOperation.cs BLAS\Types\cublasPointerMode.cs BLAS\Types\cublasSideMode.cs LA\ISolver.cs LA\Solver.cs LA\SolveResult.cs RAND\CudaDeviceRAND.cs RAND\CudaHostRAND.cs RAND\CudaRAND.cs Exceptions.cs FFT\Ifftw_plan.cs FFT\Managed.cs FFT\CudaFFT.cs FFT\EmulatedFFT.cs FFT\FFTPlans.cs FFT\GPGPUFFT.cs FFT\Interop.cs Properties\AssemblyInfo.cs RAND\CURANDDriver.cs RAND\CURandEnums.cs RAND\CURandTypedefs.cs RAND\GPGPURAND.cs RAND\HostRAND.cs SPARSE\CudaSPARSE.cs SPARSE\CUSPARSEDriver.cs SPARSE\CUSPARSEStatus.cs SPARSE\GPGPUSPARSE.cs SPARSE\ICUSPARSEDriver.cs SPARSE\Types\cusparseAction.cs SPARSE\Types\cusparseDiagType.cs SPARSE\Types\cusparseDirection.cs SPARSE\Types\cusparseFillMode.cs SPARSE\Types\cusparseHandle.cs SPARSE\Types\cusparseIndexBase.cs SPARSE\Types\cusparseMatDescr.cs SPARSE\Types\cusparseMatrixType.cs SPARSE\Types\cusparseOperation.cs SPARSE\Types\cusparsePointerMode.cs SPARSE\Types\cusparseSolveAnalysisInfo.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.04

------ Rebuild All started: Project: Cudafy.UnitTests, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll' could not be found

Compile complete -- 1 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.Translator".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll".

Reference found at search path location "".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /main:Cudafy.UnitTests.Program /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\nunit.framework.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\nunit.mocks.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\pnunit.framework.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\Cudafy.UnitTests.exe /target:exe ReflectorAddInTypeTest.cs RelectorAddInFunctionsTests.cs CudafyUnitTest.cs ICudafyUnitTest.cs Program.cs Properties\AssemblyInfo.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.03

------ Rebuild All started: Project: CudafyModuleViewer, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll' could not be found

Compile complete -- 1 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.Translator".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll".

Reference found at search path location "".

CoreResGen:

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /r:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /compile AboutBox.resx,obj\x64\Release\CudafyModuleViewer.AboutBox.resources CommonPropertiesUI.resx,obj\x64\Release\CudafyModuleViewer.CommonPropertiesUI.resources MainForm.resx,obj\x64\Release\CudafyModuleViewer.MainForm.resources Properties\Resources.resx,obj\x64\Release\CudafyModuleViewer.Properties.Resources.resources

Processing resource file "AboutBox.resx" into "obj\x64\Release\CudafyModuleViewer.AboutBox.resources".

Processing resource file "CommonPropertiesUI.resx" into "obj\x64\Release\CudafyModuleViewer.CommonPropertiesUI.resources".

Processing resource file "MainForm.resx" into "obj\x64\Release\CudafyModuleViewer.MainForm.resources".

Processing resource file "Properties\Resources.resx" into "obj\x64\Release\CudafyModuleViewer.Properties.Resources.resources".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\CudafyModuleViewer.exe /resource:obj\x64\Release\CudafyModuleViewer.AboutBox.resources /resource:obj\x64\Release\CudafyModuleViewer.CommonPropertiesUI.resources /resource:obj\x64\Release\CudafyModuleViewer.MainForm.resources /resource:obj\x64\Release\CudafyModuleViewer.Properties.Resources.resources /target:winexe /win32icon:CUDAfy2.ico AboutBox.cs AboutBox.Designer.cs CommonPropertiesUI.cs CommonPropertiesUI.Designer.cs MainForm.cs MainForm.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.07

------ Rebuild All started: Project: Cudafy.Math.UnitTests, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Math\bin\x64\Release\Cudafy.Math.dll' could not be found

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe' could not be found

Compile complete -- 2 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.Math".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Math\bin\x64\Release\Cudafy.Math.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Math\bin\x64\Release\Cudafy.Math.dll".

Reference found at search path location "".

Primary reference "Cudafy.UnitTests".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe".

Reference found at search path location "".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Math\bin\x64\Release\Cudafy.Math.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\nunit.framework.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\nunit.mocks.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\pnunit.framework.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\Cudafy.Math.UnitTests.exe /target:exe BLAS1_1D.cs BLAS1_2D.cs BLAS2.cs BLAS3.cs CURANDHostTests.cs FFTDoubleTests.cs FFTSingleTests.cs LASOLVER.cs Program.cs Properties\AssemblyInfo.cs SPARSE1.cs SPARSE23.cs SPARSE_CONVERSION.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.04

------ Rebuild All started: Project: CudafyExamples, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll' could not be found

Compile complete -- 1 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.Translator".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll".

Reference found at search path location "".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\CudafyExamples.exe /target:exe Arrays\ArrayBasicIndexing.cs Arrays\ArrayMultidimensions.cs Arrays\GlobalArrays.cs Complex\ComplexNumbers.cs Complex\ComplexNumbersD.cs Dummy\DummyFunctions.cs Misc\FinanceTest.cs Misc\PinnedAsyncIO.cs Misc\TextInsertion.cs Misc\Timing.cs Misc\Tuning.cs Program.cs Properties\AssemblyInfo.cs Voting\Ballot.cs Voting\SyncThreadCount.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.02

------ Rebuild All started: Project: CudafyByExample, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll' could not be found

Compile complete -- 1 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.Translator".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll".

Reference found at search path location "".

CoreResGen:

"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\resgen.exe" /useSourcePath /r:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /r:E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll /r:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /compile chapter04\julia_cpu.resx,obj\x64\Release\CudafyByExample.julia_gui.resources chapter06\ray_gui.resx,obj\x64\Release\CudafyByExample.ray_gui.resources chapter05\ripple.resx,obj\x64\Release\CudafyByExample.ripple.resources

Processing resource file "chapter04\julia_cpu.resx" into "obj\x64\Release\CudafyByExample.julia_gui.resources".

Processing resource file "chapter06\ray_gui.resx" into "obj\x64\Release\CudafyByExample.ray_gui.resources".

Processing resource file "chapter05\ripple.resx" into "obj\x64\Release\CudafyByExample.ripple.resources".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /main:CudafyByExample.Program /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\CudafyByExample.exe /resource:obj\x64\Release\CudafyByExample.julia_gui.resources /resource:obj\x64\Release\CudafyByExample.ray_gui.resources /resource:obj\x64\Release\CudafyByExample.ripple.resources /target:exe chapter03\enum_gpu.cs chapter03\hello_world.cs chapter03\simple_kernel.cs chapter03\simple_kernel_params.cs chapter04\add_loop_cpu.cs chapter04\add_loop_gpu.cs chapter04\add_loop_gpu_alt.cs chapter04\add_loop_long.cs chapter04\cuComplex.cs chapter04\julia_cpu.cs chapter04\julia_cpu.Designer.cs chapter04\julia_gpu.cs chapter05\add_loop_blocks.cs chapter05\add_loop_long_blocks.cs chapter05\dot.cs chapter06\ray_gui.cs chapter06\ray_gui.Designer.cs chapter06\ray.cs chapter05\ripple.cs chapter05\ripple.Designer.cs chapter05\ripple_gpu.cs chapter06\ray_noconst.cs chapter09\hist_gpu_shmem_atomics.cs chapter10\basic_double_stream_correct.cs chapter10\copy_timed.cs Program.cs Properties\AssemblyInfo.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.04

------ Rebuild All started: Project: Cudafy.Host.UnitTests, Configuration: Release x64 ------

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll' could not be found

error CS0006: Metadata file 'E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe' could not be found

Compile complete -- 2 errors, 0 warnings

Build started 11/23/2012 8:59:44 AM.

ResolveAssemblyReferences:

Primary reference "Cudafy.UnitTests".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe".

Reference found at search path location "".

Primary reference "Cudafy.Translator".

Could not find dependent files. Expected file "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll" does not exist.

Could not find dependent files. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Resolved file path is "E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll".

Reference found at search path location "".

GenerateTargetFrameworkMonikerAttribute:

Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.

CoreCompile:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x64 /errorreport:prompt /define:TRACE /reference:E:\CudafyBuild\Cudafy\3p\cuda.net3.0.0_win\src\CUDA.NET_3.0_Source\bin\x64\Release\CUDA.NET.dll /reference:E:\CudafyBuild\Cudafy\Cudafy\bin\x64\Release\Cudafy.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Host\bin\x64\Release\Cudafy.Host.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.Translator\bin\x86\Release\Cudafy.Translator.dll /reference:E:\CudafyBuild\Cudafy\Cudafy.UnitTests\bin\x64\Release\Cudafy.UnitTests.exe /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\nunit.framework.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\nunit.mocks.dll" /reference:"C:\Program Files (x86)\NUnit 2.6.2\bin\framework\pnunit.framework.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\x64\Release\Cudafy.Host.UnitTests.exe /target:exe BasicFunctionTests.cs CopyTests1D.cs CURANDTests.cs GMathUnitTests.cs GPGPUTests.cs MultiGPUTests.cs MultithreadedTests.cs Program.cs Properties\AssemblyInfo.cs StringTests.cs "C:\Users\chuzhang.AGILENT\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs"

Build FAILED.

Time Elapsed 00:00:00.04

------ Skipped Rebuild All: Project: Cudafy.NET, Configuration: Release Any CPU ------

Project not selected to build for this solution configuration

------ Skipped Rebuild All: Project: Cudafy.cudafycl.UnitTests, Configuration: Release x86 ------

Project not selected to build for this solution configuration

========== Rebuild All: 3 succeeded, 7 failed, 4 skipped ==========

Nov 23, 2012 at 3:17 AM

Simpler to just remove the 4 UnitTest projects from the configurations you are building. Those projects are only needed by developers who are modifying CUDAfy for general relese.

Coordinator
Nov 28, 2012 at 6:55 AM

Very true, but the unit tests are also a good source of information on how CUDAfy works!  To get them working add NUnit - easiest is from NUGet.

Nov 15, 2013 at 6:02 PM
nuget.targets is not exist. Could you tell how to get it from NuGet?
Coordinator
Nov 15, 2013 at 6:35 PM
Right click the solution and click Enable Nuget Package Restore
Nov 18, 2013 at 3:18 PM
NickKopp wrote:
Right click the solution and click Enable Nuget Package Restore
I did not see option "Nuget Package Restore"
Only from "tool->extension and Updates" I can see Nuget package manager. only option is uninstall.
mine is VS2012
Coordinator
Nov 18, 2013 at 7:57 PM
The option is in the context menu on the solution explorer. Do you have the latest Nuget installed?
Nov 18, 2013 at 8:19 PM
NickKopp wrote:
The option is in the context menu on the solution explorer. Do you have the latest Nuget installed?
Thanks. I found it.