Skip to content

Commit

Permalink
Updating ClangSharpPInvokeGenerator to pack as a global tool (#101)
Browse files Browse the repository at this point in the history
* Changing the version to 9.0.0

* Updating ClangSharpPInvokeGenerator to pack as a global tool
  • Loading branch information
tannergooding committed Nov 20, 2019
1 parent 1a307c1 commit 48b7ea7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Expand Up @@ -40,7 +40,7 @@
<Company>Microsoft</Company>
<PackageOutputPath>$(BaseArtifactsPath)pkg/$(Configuration)/</PackageOutputPath>
<Product>ClangSharp</Product>
<VersionPrefix>8.0.0</VersionPrefix>
<VersionPrefix>9.0.0</VersionPrefix>
<VersionSuffix>beta</VersionSuffix>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.targets
Expand Up @@ -15,9 +15,9 @@
<DefineConstants>$(DefineConstants);$(OS)</DefineConstants>
</PropertyGroup>

<!-- Settings that allow testing to work by default -->
<!-- Settings that allow testing and packing to work by default -->
<PropertyGroup>
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == '' AND '$(PackAsTool)' != 'true'">$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
</PropertyGroup>

<!-- Tool versions for tool references across all projects -->
Expand Down
Expand Up @@ -3,6 +3,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<PackAsTool>true</PackAsTool>
<RuntimeIdentifier></RuntimeIdentifier>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>

Expand Down

0 comments on commit 48b7ea7

Please sign in to comment.