File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 5
5
<EnablePackageValidation >true</EnablePackageValidation >
6
6
<PackageValidationBaselineVersion >$(PreviousPackageVersion)</PackageValidationBaselineVersion >
7
7
</PropertyGroup >
8
+
9
+ <Target Name =" GetTargetPath" Returns =" @(_updatedTargetPath)" >
10
+ <!-- Repoint up the TargetPath to represent the a matching file from PackagePreparationPath if it exists, otherwise don't return a target path
11
+ This fakes what the project output would be if we were using real projects (and not package projects) to represent these libraries. -->
12
+ <ItemGroup >
13
+ <_targetPathUnderPackagePrep Include =" @(TargetPathWithTargetPlatformMoniker->'$(PackagePreparationPath)$(PackageIdFolderName)\lib\$(TargetFramework)\%(FileName)%(Extension)')" />
14
+ <_updatedTargetPath Include =" @(_targetPathUnderPackagePrep)" Condition =" Exists('%(Identity)')" />
15
+ </ItemGroup >
16
+ </Target >
8
17
</Project >
You can’t perform that action at this time.
0 commit comments