Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
707 B
2
Indexable
Never
    <Reference Include="ResiliencePolicy.Impl">
      <HintPath>..\..\..\TechnicalServices\ResiliencePolicy\ResiliencePolicy.Impl\bin\$(Configuration)\ResiliencePolicy.Impl.dll</HintPath>
    </Reference>
    <Reference Include="ResiliencePolicy.Interfaces">
      <HintPath>..\..\..\TechnicalServices\ResiliencePolicy\ResiliencePolicy.Interfaces\bin\$(Configuration)\ResiliencePolicy.Interfaces.dll</HintPath>
    </Reference>


I need to add this to every file that ends with .csproj (there's also files with .csproj.user, so gotta watch for that). It needs to be added after last </Reference>. The folder structure is as follows:

Dir1/Dir1.Host/Dir1.csproj
Dir2/Dir2.Host/Dir2.csproj
...