Skip to content

Commit 8393944

Browse files
Produce NuGet package
1 parent 79cdc61 commit 8393944

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/Components/WebAssembly/DebugProxy/src/Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.csproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,16 @@
2121
<Reference Include="Mono.Cecil" />
2222
</ItemGroup>
2323

24+
<!-- Pack settings -->
25+
<PropertyGroup>
26+
<GenerateNuspecDependsOn>$(GenerateNuspecDependsOn);publish</GenerateNuspecDependsOn>
27+
<NoPackageAnalysis>true</NoPackageAnalysis>
28+
<NuspecFile>Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.nuspec</NuspecFile>
29+
</PropertyGroup>
30+
31+
<ItemGroup>
32+
<NuspecProperty Include="publishDir=$(PublishDir)" />
33+
<NuspecProperty Include="componentsrootdir=..\..\..\" />
34+
</ItemGroup>
35+
2436
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
3+
<metadata>
4+
$CommonMetadataElements$
5+
</metadata>
6+
<files>
7+
$CommonFileElements$
8+
<file src="build\**" target="build" />
9+
<file src="$publishDir$**\*" target="tools" />
10+
<file src="$componentsrootdir$THIRD-PARTY-NOTICES.txt" target=".\THIRD-PARTY-NOTICES.txt" />
11+
</files>
12+
</package>

0 commit comments

Comments
 (0)