Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3edfaad commit c205ed0Copy full SHA for c205ed0
eng/packaging.targets
@@ -26,4 +26,16 @@
26
'$(_excludeCompile)' == 'true' and
27
'%(Dependency.Identity)' != '_._'" />
28
</Target>
29
-</Project>
+
30
+ <PropertyGroup>
31
+ <PkgProjPath>$(MSBuildProjectDirectory)\..\pkg\$(MSBuildProjectName).pkgproj</PkgProjPath>
32
+ <!-- Point to our custom pack target which builds the pkgproj instead. -->
33
+ <PackDependsOn Condition="'$(IsSourceProject)' == 'true' and
34
+ Exists('$(PkgProjPath)')">_BuildPkgProj</PackDependsOn>
35
+ </PropertyGroup>
36
37
+ <Target Name="_BuildPkgProj">
38
+ <MSBuild Projects="$(PkgProjPath)"
39
+ Targets="Build" />
40
+ </Target>
41
+</Project>
0 commit comments