I want some Moore

Blog about stuff and things and stuff. Mostly about SQL server and .Net
posts - 199, comments - 2249, trackbacks - 33

My Links

Advertisement

News

Hi! My name is 
Mladen Prajdić  I'm from Slovenia and I'm currently working as a .Net (C#) and SQL Server developer.

I also speak at local user group meetings and conferences like NT Conference 
Welcome to my blog.
SQL Server MVP

Search this Blog

My Blog Feed via Email


Users Online: who's online

Article Categories

Archives

Post Categories

Cool software

Other Blogs

Other stuff

SQL stuff

Friday, June 05, 2009

Adding one file to multiple projects in a .Net solution

There are times when you want to have one .cs file in multiple projects. However if you do Add existing item you’ll notice that the file is copied to each project’s folder. This is not what we want.

The solutions is of course pretty simple once you know where to look. In the Add existing item dialog you have to add the file as a Link as is shown on the picture:

 

AddCommonItem

And there you go. you can have one file in multiple projects.

kick it on DotNetKicks.com

posted @ Friday, June 05, 2009 4:03 PM | Feedback (2) | Filed Under [ .Net Back to Basics ]

Powered by:
Powered By Subtext Powered By ASP.NET