Linking files to a project
-
I linked some file to my project (console project). I have two questions: 1) Is there a way to edit the link, without doing it manually? (is there the link path written somewhere in the project?) 2) Can I commute the link in a local copy of the linked file quickly? Thanks Germoz
-
I linked some file to my project (console project). I have two questions: 1) Is there a way to edit the link, without doing it manually? (is there the link path written somewhere in the project?) 2) Can I commute the link in a local copy of the linked file quickly? Thanks Germoz
I'm unsure exactly what you are asking, but maybe I can shed some light for you anyway. The project file is just XML and a regular included source file may look like this:
<Compile Include="CompileException.cs" />
A linked (Add as link) file may look like this:
<Compile Include="..\\PIEBALD\\Types\\XmlNode.cs"> <Link>XmlNode.cs</Link> </Compile>
Because it's XML, you can edit it, but you should make a backup and be careful. I use linked files a lot.
-
I'm unsure exactly what you are asking, but maybe I can shed some light for you anyway. The project file is just XML and a regular included source file may look like this:
<Compile Include="CompileException.cs" />
A linked (Add as link) file may look like this:
<Compile Include="..\\PIEBALD\\Types\\XmlNode.cs"> <Link>XmlNode.cs</Link> </Compile>
Because it's XML, you can edit it, but you should make a backup and be careful. I use linked files a lot.
You get perfectly the point! Very helpful Thanks a lot