projects-and-solutions

How do I start a CUDA app in Visual Studio 2010?

拟墨画扇 提交于 2019-11-26 03:07:22
问题 Direct Question: How do I create a simple hello world CUDA project within visual studio 2010? Background: I\'ve written CUDA kernels. I\'m intimately familiar with the .vcproj files from Visual Studio 2005 -- tweaked several by hand. In VS 2005, if I want to build a CUDA kernel, I add a custom build rule and then explicitly define the nvcc call to build the files. I have migrated to Win 7, and VS 2010 because I really want to try out nSight. I have nSight 1.5 installed. But this is where I\'m

How to rename a Project Folder from within Visual Studio?

守給你的承諾、 提交于 2019-11-26 01:47:56
问题 My current solution for renaming the project folder is: Remove the project from the solution. Rename the folder outside Visual Studio. Re-add the project to the solution. Is there any better way? 回答1: TFS users: If you are using source control that requires you to warn it before your rename files/folders then look at this answer instead which covers the extra steps required. To rename a project's folder , file ( .*proj ) and display name in visual studio: Close the solution. Rename the folder

How to rename a Project Folder from within Visual Studio?

末鹿安然 提交于 2019-11-25 23:05:46
My current solution for renaming the project folder is: Remove the project from the solution. Rename the folder outside Visual Studio. Re-add the project to the solution. Is there any better way? Tim Abell TFS users: If you are using source control that requires you to warn it before your rename files/folders then look at this answer instead which covers the extra steps required. To rename a project's folder , file ( .*proj ) and display name in visual studio: Close the solution. Rename the folder(s) outside Visual Studio. (Rename in TFS if using source control) Open the solution, ignoring the

What are the various “Build action” settings in Visual Studio project properties and what do they do?

落爺英雄遲暮 提交于 2019-11-25 22:40:28
问题 For the most part, you just take whatever Visual Studio sets it for you as a default... I\'m referring to the BuildAction property for each file selected in Solution Explorer. There are a number of options and it\'s difficult to know what each one of them will do. 回答1: None : The file is not included in the project output group and is not compiled in the build process. An example is a text file that contains documentation, such as a Readme file. Compile : The file is compiled into the build

ASP.NET Web Site or ASP.NET Web Application?

拟墨画扇 提交于 2019-11-25 22:18:10
问题 When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site. What is the difference between ASP.NET Web Application and ASP.NET Web Site? Why would I choose one over other? Is the answer different based on which version of Visual Studio I am using? 回答1: Website: The Web Site project is compiled on the fly. You end up with a lot more DLL files, which can be a pain. It also gives problems when you have pages or controls in one