|
10 | 10 | <Target Name="GetAssemblyVersion"
|
11 | 11 | Returns="$(AssemblyVersion)"/>
|
12 | 12 |
|
13 |
| - <!-- Returns the set of files to be included in the nuget package |
14 |
| - with appropriate metadata.--> |
15 |
| - <Target Name="GetFilesToPackage" |
16 |
| - Returns="@(FilesToPackage)"> |
17 |
| - |
18 |
| - <PropertyGroup> |
19 |
| - <PackagePath Condition="'$(PackagePath)' == ''">$(TargetPath)</PackagePath> |
20 |
| - <DocPackagePath Condition="'$(DocPackagePath)' == ''">$(DocumentationFile)</DocPackagePath> |
21 |
| - |
22 |
| - <!-- default to treat as 'dotnet' package based portable library --> |
23 |
| - <PackageTargetFramework Condition="'$(PackageTargetFramework)' == ''">dotnet</PackageTargetFramework> |
24 |
| - <PackageTargetPath Condition="'$(PackageTargetPath)' == ''">lib/dotnet</PackageTargetPath> |
25 |
| - </PropertyGroup> |
26 |
| - |
27 |
| - <ItemGroup> |
28 |
| - <FilesToPackage Include="$(PackagePath)"> |
29 |
| - <AssemblyVersion>$(AssemblyVersion)</AssemblyVersion> |
30 |
| - <TargetFramework>$(PackageTargetFramework)</TargetFramework> |
31 |
| - <TargetPath>$(PackageTargetPath)</TargetPath> |
32 |
| - </FilesToPackage> |
33 |
| - <FilesToPackage Include="$(DocPackagePath)" Condition="Exists('$(DocPackagePath)')"> |
34 |
| - <TargetFramework>$(PackageTargetFramework)</TargetFramework> |
35 |
| - <TargetPath>$(PackageTargetPath)</TargetPath> |
36 |
| - </FilesToPackage> |
37 |
| - </ItemGroup> |
38 |
| - </Target> |
| 13 | + <!-- Returns the generated documentation file for consumption |
| 14 | + by the NuGet package generation --> |
| 15 | + <Target Name="GetDocumentationFile" |
| 16 | + Returns="$(DocumentationFile)"/> |
39 | 17 |
|
40 | 18 | <Import Project="$(ToolsDir)Build.Common.targets" Condition="Exists('$(ToolsDir)Build.Common.targets')" />
|
41 | 19 | <Import Project="..\override.targets" Condition="Exists('..\override.targets')"/>
|
|
0 commit comments