Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Shortcut/Alias In .csproj

Within Visual Studio I'm pretty sure there is a way to "alias" a file among several projects. So in other words the actual file lives in only one place within the file system but has multiple references within two or more .csproj files. Short of opening the .csproj and creating such an alias, how would I do this within Visual Studio?

like image 545
Jason Marcell Avatar asked May 09 '26 17:05

Jason Marcell


1 Answers

When you do Add Existing Item and browse to a file, notice that the Add button is dropdown-able.

In the drop down, choose Add as Link

like image 179
hawbsl Avatar answered May 12 '26 06:05

hawbsl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!