Skip to content

Commit 1d341de

Browse files
committed
refactor: lib artifact and error message
Signed-off-by: peefy <[email protected]>
1 parent e66b5dc commit 1d341de

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

dotnet/KclLib/KclLib.csproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,36 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7+
<PackageReadmeFile>README.md</PackageReadmeFile>
8+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
9+
</PropertyGroup>
10+
11+
<PropertyGroup>
12+
<AssemblyName>KclLib</AssemblyName>
13+
<PackageId>KclLib</PackageId>
14+
<Version>0.9.0</Version>
15+
<IncludeSymbols>true</IncludeSymbols>
16+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
17+
<RepositoryUrl>https://github.com/kcl-lang</RepositoryUrl>
18+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
19+
<Title>KclLib</Title>
20+
<PackageDescription>
21+
KCL Artifact Library for .NET
22+
</PackageDescription>
23+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
24+
<PackageReadmeFile>README.md</PackageReadmeFile>
25+
<EnablePackageValidation>true</EnablePackageValidation>
726
</PropertyGroup>
827

928
<ItemGroup>
1029
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
1130
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
1231
</ItemGroup>
1332

33+
<ItemGroup>
34+
<None Include="README.md" Pack="true" PackagePath="\" />
35+
</ItemGroup>
36+
1437
<ItemGroup>
1538
<None Include="../target/release/libkcl_lib_dotnet.*">
1639
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

dotnet/KclLib/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# KCL Artifact Library for .NET
2+
3+
This library is currently under development. Please check back later.
4+
5+
## Developing and Testing
6+
7+
- Install `cargo`
8+
- Install `dotnet 8.0+`
9+
10+
```shell
11+
cargo build --release
12+
dotnet test
13+
```

0 commit comments

Comments
 (0)