0
編程方式更改引用獲取所有*的.csproj和packages.config文件,不知道會有什麼更新引用在* .csproj的和packages.config
var files = Directory.EnumerateFiles(path, "*.*", SearchOption.AllDirectories)
.Where(s => s.EndsWith(".csproj") || s.EndsWith("packages.config")).ToList();
<Reference Include="MyDev.Something">
<HintPath>..\..\..\..\Packages\MyDev.Something.1.0\lib\net45\MyDev.Something.dll</HintPath>
<Private>True</Private>
</Reference>
最好的辦法我想改變1.0〜2.0