<Project Sdk="Microsoft.NET.Sdk">
-
<PropertyGroup>
<OutputType>Exe</OutputType>
-
- <!-- Target .NET Core 2.1 so it will run on LTS -->
<TargetFramework>netcoreapp2.1</TargetFramework>
-
- <RootNamespace>Microsoft.Diagnostics.Tools.Analyze</RootNamespace>
-
+ <RuntimeFrameworkVersion>2.1.0</RuntimeFrameworkVersion>
<!-- Don't pack until ship engineering is done. Currently causing the official job to fail.
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
-->
+ <PackAsToolShimRuntimeIdentifiers>win-x64;win-x86;osx-x64</PackAsToolShimRuntimeIdentifiers>
+ <!-- The package version needs to be hard coded as a stable version so "dotnet tool install -g dotnet-analyze" works -->
+ <Version>1.0.0</Version>
+ <PackageVersion>1.0.0</PackageVersion>
+ <ToolCommandName>dotnet-analyze</ToolCommandName>
+ <RootNamespace>Microsoft.Diagnostics.Tools.Analyze</RootNamespace>
+ <Description>Diagnostic analyze tool</Description>
+ <PackageTags>Diagnostic</PackageTags>
+ <PackageReleaseNotes>$(Description)</PackageReleaseNotes>
+ <!-- Need to put the shims here to sign -->
+ <PackagedShimOutputRootDirectory>$(OutputPath)</PackagedShimOutputRootDirectory>
</PropertyGroup>
<ItemGroup>
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
-
<!-- Target .NET Core 2.1 so it will run on LTS -->
<TargetFramework>netcoreapp2.1</TargetFramework>
-
<RootNamespace>Microsoft.Diagnostics.Tools.Dump</RootNamespace>
+ <!-- Don't pack until ship engineering is done. Currently causing the official job to fail.
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
+ -->
</PropertyGroup>
<ItemGroup>