Hi,
is there a way to customize the Add reference action in VS2005 C#
By default, when I am trying to add a assembly reference to my project using the Browse tabcard,the IDE writes something like
<Reference Include="myAssembly, Version=7.10.2.0, Culture=neutral, processorArchitecture=x86">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Bin\myAssembly.dll</HintPath>
</Reference>
I would like to obtain that by default:
<Reference Include="myAssembly">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
How should I proceed
thansk in advance for any answer.
best regards
Sebastien

Customize Add reference actions
Koder021
Seb,
There is no way to customize the behavior of the add reference dialog in this way. You could potentially create an add-in that wrote directly to the project file and mimicked the behavior of add reference, though that is obviously more work.
Anson
Mike Greenway
ok ,
Thanks
babyboomer
I think you can use DTE to visit the project.
There is References.Add("") method for u to add ur reference
PeteJM01
MauricioUY
Yes sure , I can work with the Project Object Model,
But I want to click on AddReference and the studio might write directly this
<Reference Include="myAssembly">
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>