Skip to content

Commit c84d121

Browse files
authored
NuGet packaging (#55)
Changes to csproj files for NuGet packaging
1 parent eb85ff8 commit c84d121

File tree

15 files changed

+237
-4
lines changed

15 files changed

+237
-4
lines changed

CtfPlayback/CtfPlayback.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
6+
<Authors>Microsoft</Authors>
7+
<Company>Microsoft Corp.</Company>
8+
<Product>Performance ToolKit</Product>
9+
<Description>Contains the LTTng CTF playback library.</Description>
10+
<PackageId>Microsoft.Performance.Toolkit.Plugins.LTTngCtfPlayback</PackageId>
11+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
12+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
13+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
14+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
515
</PropertyGroup>
616

717
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -25,4 +35,11 @@
2535
<ProjectReference Include="..\Antlr4.Runtime\Antlr4.Runtime.dotnet.csproj" />
2636
</ItemGroup>
2737

38+
<ItemGroup>
39+
<None Include="..\LICENSE.txt">
40+
<Pack>True</Pack>
41+
<PackagePath></PackagePath>
42+
</None>
43+
</ItemGroup>
44+
2845
</Project>
File renamed without changes.

LTTngCds/LTTngCds.csproj

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,24 @@
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<AssemblyVersion>1.1.1.0</AssemblyVersion>
66
<FileVersion>1.1.1.0</FileVersion>
7+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
8+
<Authors>Microsoft</Authors>
9+
<Company>Microsoft Corp.</Company>
10+
<Product>Performance ToolKit</Product>
11+
<Description>Contains the LTTng CTF datasource plugin.</Description>
12+
<PackageId>Microsoft.Performance.Toolkit.Plugins.LTTngPlugin</PackageId>
13+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
14+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
15+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
16+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
717
</PropertyGroup>
818

919
<ItemGroup>
1020
<None Remove="MetadataTables\TraceStatsPrebuiltConfiguration.json" />
21+
<None Include="..\LICENSE.txt">
22+
<Pack>True</Pack>
23+
<PackagePath></PackagePath>
24+
</None>
1125
</ItemGroup>
1226

1327
<ItemGroup>

LTTngDataExtensions/LTTngDataExtensions.csproj

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<AssemblyVersion>1.1.1.0</AssemblyVersion>
66
<FileVersion>1.1.0.0</FileVersion>
7+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
8+
<Authors>Microsoft</Authors>
9+
<Company>Microsoft Corp.</Company>
10+
<Product>Performance ToolKit</Product>
11+
<Description>Contains the LTTng Data Extensions processing library.</Description>
12+
<PackageId>Microsoft.Performance.Toolkit.Plugins.LTTngDataExtensions</PackageId>
13+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
14+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
15+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
16+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
717
</PropertyGroup>
818

919
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -28,6 +38,10 @@
2838
<None Remove="SourceDataCookers\Cpu\**" />
2939
<None Remove="SourceDataCookers\NewFolder1\**" />
3040
<None Remove="SourceDataCookers\Process\**" />
41+
<None Include="..\LICENSE.txt">
42+
<Pack>True</Pack>
43+
<PackagePath></PackagePath>
44+
</None>
3145
</ItemGroup>
3246

3347
<ItemGroup>

LTTngDriver/LTTngDriver.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
6+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
7+
<Authors>Microsoft</Authors>
8+
<Company>Microsoft Corp.</Company>
9+
<Product>Performance ToolKit</Product>
10+
<Description>Contains the LTTNG Driver tool.</Description>
11+
<PackageId>Microsoft.Performance.Toolkit.Plugins.LTTngDriver</PackageId>
12+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
13+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
14+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
15+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
616
</PropertyGroup>
717

818
<ItemGroup>
@@ -17,4 +27,11 @@
1727
<ProjectReference Include="..\LTTngDataExtensions\LTTngDataExtensions.csproj" />
1828
</ItemGroup>
1929

30+
<ItemGroup>
31+
<None Include="..\LICENSE.txt">
32+
<Pack>True</Pack>
33+
<PackagePath></PackagePath>
34+
</None>
35+
</ItemGroup>
36+
2037
</Project>

LinuxLogParsers/LinuxLogParser/LinuxLogParser.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
6+
<Authors>Microsoft</Authors>
7+
<Company>Microsoft Corp.</Company>
8+
<Product>Performance ToolKit</Product>
9+
<Description>Contains the Linux log parsing library.</Description>
10+
<PackageId>Microsoft.Performance.Toolkit.Plugins.LinuxLogParser</PackageId>
11+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
12+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
13+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
14+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
515
</PropertyGroup>
616

717
<ItemGroup>
@@ -12,4 +22,11 @@
1222
<ProjectReference Include="..\LinuxLogParserCore\LinuxLogParserCore.csproj" />
1323
</ItemGroup>
1424

25+
<ItemGroup>
26+
<None Include="..\..\LICENSE.txt">
27+
<Pack>True</Pack>
28+
<PackagePath></PackagePath>
29+
</None>
30+
</ItemGroup>
31+
1532
</Project>

LinuxLogParsers/LinuxLogParserCore/LinuxLogParserCore.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,27 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
6+
<Authors>Microsoft</Authors>
7+
<Company>Microsoft Corp.</Company>
8+
<Product>Performance ToolKit</Product>
9+
<Description>Contains the Linux log parsing core library.</Description>
10+
<PackageId>Microsoft.Performance.Toolkit.Plugins.LinuxLogParserCore</PackageId>
11+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
12+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
13+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
14+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
515
</PropertyGroup>
616

717
<ItemGroup>
818
<PackageReference Include="Microsoft.Performance.SDK" Version="0.109.24" />
919
</ItemGroup>
1020

21+
<ItemGroup>
22+
<None Include="..\..\LICENSE.txt">
23+
<Pack>True</Pack>
24+
<PackagePath></PackagePath>
25+
</None>
26+
</ItemGroup>
27+
1128
</Project>

LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/Cloud-init/Cloud-Init.csproj

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,20 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5-
<AssemblyName>Cloud-InitMPTAddin</AssemblyName>
6-
<RootNamespace>Cloud-InitMPTAddin</RootNamespace>
5+
<AssemblyName>Cloud-InitMPTPlugin</AssemblyName>
6+
<RootNamespace>Cloud-InitMPTPlugin</RootNamespace>
77
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
88
<RunPostBuildEvent>Always</RunPostBuildEvent>
9+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
10+
<Authors>Microsoft</Authors>
11+
<Company>Microsoft Corp.</Company>
12+
<Product>Performance ToolKit</Product>
13+
<Description>Contains the Linux Cloud-Init log parser datasource plugin.</Description>
14+
<PackageId>Microsoft.Performance.Toolkit.Plugins.Cloud-Init</PackageId>
15+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
16+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
17+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
18+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
919
</PropertyGroup>
1020

1121
<ItemGroup>
@@ -16,6 +26,13 @@
1626
<ProjectReference Include="..\..\LinuxLogParser\LinuxLogParser.csproj" />
1727
</ItemGroup>
1828

29+
<ItemGroup>
30+
<None Include="..\..\..\LICENSE.txt">
31+
<Pack>True</Pack>
32+
<PackagePath></PackagePath>
33+
</None>
34+
</ItemGroup>
35+
1936
<Target Name="PostBuild" AfterTargets="DeployStagedFiles">
2037
<Exec Command="CALL XCOPY /dickherfy $(SolutionDir)Linux\WaLinuxAgent\$(OutDir) $(ProjectDir)$(OutDir)WaLinuxAgent" />
2138
<Exec Command="CALL XCOPY /dickherfy &quot;$(SolutionDir)Linux\DmesgIsoLog\$(OutDir)\Dmesg $(ProjectDir)$(OutDir)Dmesg" />

LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/DmesgIsoLog/Dmesg.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
56
<RootNamespace>DMesg</RootNamespace>
7+
<Authors>Microsoft</Authors>
8+
<Company>Microsoft Corp.</Company>
9+
<Product>Performance ToolKit</Product>
10+
<Description>Contains the datasource plugin to parse dmesg.iso.log files.</Description>
11+
<PackageId>Microsoft.Performance.Toolkit.Plugins.DmesgPlugin</PackageId>
12+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
13+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
14+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
15+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
616
</PropertyGroup>
717

818
<ItemGroup>
@@ -13,4 +23,11 @@
1323
<ProjectReference Include="..\..\LinuxLogParser\LinuxLogParser.csproj" />
1424
</ItemGroup>
1525

26+
<ItemGroup>
27+
<None Include="..\..\..\LICENSE.txt">
28+
<Pack>True</Pack>
29+
<PackagePath></PackagePath>
30+
</None>
31+
</ItemGroup>
32+
1633
</Project>

LinuxLogParsers/LinuxPlugins-MicrosoftPerformanceToolkSDK/WaLinuxAgent/WaLinuxAgent.csproj

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
5-
<AssemblyName>WaLinuxAgentSDKAddin</AssemblyName>
6-
<RootNamespace>WaLinuxAgentSDKAddin</RootNamespace>
5+
<AssemblyName>WaLinuxAgent</AssemblyName>
6+
<RootNamespace>WaLinuxAgent</RootNamespace>
77
<RunPostBuildEvent>Always</RunPostBuildEvent>
8+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
9+
<Authors>Microsoft</Authors>
10+
<Company>Microsoft Corp.</Company>
11+
<Product>Performance ToolKit</Product>
12+
<Description>Contains the WaLinux Agent log parser datasource plugin.</Description>
13+
<PackageId>Microsoft.Performance.Toolkit.Plugins.WaLinuxAgent</PackageId>
14+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
15+
<RepositoryUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</RepositoryUrl>
16+
<PackageProjectUrl>https://github.com/microsoft/Microsoft-Performance-Tools-Linux-Android</PackageProjectUrl>
17+
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
818
</PropertyGroup>
919

1020
<ItemGroup>
@@ -14,4 +24,11 @@
1424
<ItemGroup>
1525
<ProjectReference Include="..\..\LinuxLogParser\LinuxLogParser.csproj" />
1626
</ItemGroup>
27+
28+
<ItemGroup>
29+
<None Include="..\..\..\LICENSE.txt">
30+
<Pack>True</Pack>
31+
<PackagePath></PackagePath>
32+
</None>
33+
</ItemGroup>
1734
</Project>

0 commit comments

Comments
 (0)