Skip to content

Commit 1e8f14c

Browse files
committed
build: Added nuget profile
1 parent 027ee05 commit 1e8f14c

1 file changed

Lines changed: 51 additions & 10 deletions

File tree

MemoryModule/MemoryModule.csproj

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,53 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
6-
<Platforms>AnyCPU;x86;x64</Platforms>
7-
</PropertyGroup>
8-
9-
<ItemGroup>
10-
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
11-
</ItemGroup>
2+
<PropertyGroup>
3+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
6+
<Platforms>AnyCPU;x86;x64</Platforms>
7+
</PropertyGroup>
8+
9+
<PropertyGroup>
10+
<PackageId>MemoryModule</PackageId>
11+
<Authors>trungnt2910</Authors>
12+
<Title>MemoryModule implementation for .NET on Windows</Title>
13+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14+
<PackageProjectUrl>https://github.com/trungnt2910/MemoryModule.NET</PackageProjectUrl>
15+
<Description>
16+
Loads unmanaged libraries right from your embedded resources!
17+
Works on Windows only, both on .NET Framework and .NET Core (and of course .NET 5.0)
18+
</Description>
19+
<Copyright>Copyright (c) 2021 trungnt2910</Copyright>
20+
<PackageTags>MemoryModule;Native;Interop;Memory;Assembly</PackageTags>
21+
<RepositoryUrl>https://github.com/trungnt2910/MemoryModule.NET</RepositoryUrl>
22+
<RepositoryType>git</RepositoryType>
23+
<!-- To do: Remove this line when dotnet pack issue is fixed.
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
25+
-->
26+
</PropertyGroup>
27+
28+
<ItemGroup>
29+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
30+
</ItemGroup>
31+
32+
<ItemGroup>
33+
<None Include="..\README.md" Pack="true" PackagePath="\" />
34+
<None Include="..\LICENSE.md" Pack="true" PackagePath="\" />
35+
</ItemGroup>
36+
37+
<PropertyGroup>
38+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
39+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
40+
41+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
42+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
43+
44+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
45+
<IncludeSymbols>true</IncludeSymbols>
46+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
47+
</PropertyGroup>
48+
49+
<ItemGroup>
50+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
51+
</ItemGroup>
52+
1253
</Project>

0 commit comments

Comments
 (0)