# compile \*.cu file with vs2005

**URL:** <https://forums.developer.nvidia.com/t/compile-cu-file-with-vs2005/2200>\
**Category:** CUDA Programming and Performance\
**Created:** [December 26, 2007, 5:05am UTC](https://forums.developer.nvidia.com/t/compile-cu-file-with-vs2005/2200 "2007-12-26T05:05:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_0x\_bitfield](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@\_0x\_bitfield](https://forums.developer.nvidia.com/u/_0x_bitfield)\
**Post date:** [December 26, 2007, 5:05am UTC](https://forums.developer.nvidia.com/t/compile-cu-file-with-vs2005/2200/1 "2007-12-26T05:05:19Z")

</div>

I used cuda driver API always with vc++ 8.0 and it easy to use.But, how to include the \*.cu file for the term of the project when used cuda runtime API?Take it as txt file for the project?  
Thanks!
