Skip to content

Commit

Permalink
Publish WorkItems as Microsoft.WorkItems (#2180)
Browse files Browse the repository at this point in the history
* Publish WorkItems as Microsoft.WorkItems

* renaming assemblyname

* Fixing build script
  • Loading branch information
eddynaka authored Dec 13, 2020
1 parent eb8e628 commit d82d96f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/Projects.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $Projects.Libraries = @(
"Sarif.Driver",
"Sarif.Multitool.Library"
"Sarif.WorkItems",
"WorkItems"
"Microsoft.WorkItems"
)

$Projects.Applications = @(
Expand Down
12 changes: 9 additions & 3 deletions src/WorkItems/WorkItems.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>Microsoft.WorkItems</RootNamespace>
<PropertyGroup Label="Packaging">
<!--
Without this property setting, the id of the NuGet package would match the
assembly name, "Microsoft.WorkItems".
-->
<PackageId>Microsoft.WorkItems</PackageId>
</PropertyGroup>

<PropertyGroup Label="AssemblyAttributes">
Expand All @@ -14,6 +18,8 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
<AssemblyName>Microsoft.WorkItems</AssemblyName>
<RootNamespace>Microsoft.WorkItems</RootNamespace>
</PropertyGroup>

<ItemGroup>
Expand All @@ -25,7 +31,7 @@
<PackageReference Include="Microsoft.Json.Schema" Version="1.1.1" />
<PackageReference Include="Microsoft.Json.Schema.Validation" Version="1.1.1" />
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="16.153.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit d82d96f

Please sign in to comment.