File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1414 <IncludeSymbols >true</IncludeSymbols >
1515 </PropertyGroup >
1616 <ItemGroup >
17- <PackageReference Include =" ClangSharp" Version =" 10.0.0-beta" />
17+ <!-- This is pinned to a specific version since ClangSharp.Pathogen.Runtime includes libClangSharp -->
18+ <PackageReference Include =" ClangSharp" Version =" [10.0.0-beta]" />
1819 </ItemGroup >
1920 <ItemGroup >
2021 <!--
2627 <ItemGroup >
2728 <None Include =" ..\LICENSE.txt" Pack =" true" PackagePath =" " Visible =" false" />
2829 </ItemGroup >
30+
31+ <!--
32+ This ensures only the exact matching version of ClangSharp.Pathogen.Runtime is used
33+ This target is taken from https://github.com/NuGet/Home/issues/5556#issuecomment-585482714
34+ -->
35+ <Target Name =" UseExactProjectReferenvePackageVersions" AfterTargets =" _GetProjectReferenceVersions" >
36+ <ItemGroup >
37+ <_ProjectReferencesWithExactVersions Include =" @(_ProjectReferencesWithVersions)" >
38+ <ProjectVersion >[%(_ProjectReferencesWithVersions.ProjectVersion)]</ProjectVersion >
39+ </_ProjectReferencesWithExactVersions >
40+ </ItemGroup >
41+ <ItemGroup >
42+ <_ProjectReferencesWithVersions Remove =" @(_ProjectReferencesWithVersions)" />
43+ <_ProjectReferencesWithVersions Include =" @(_ProjectReferencesWithExactVersions)" />
44+ </ItemGroup >
45+ </Target >
2946</Project >
You can’t perform that action at this time.
0 commit comments