Skip to content

Commit 127b596

Browse files
authored
introduce slngen and remove stale proj (#1497)
* introduce slngen and remove stale proj * Add instructions for generating with Visual Studio
1 parent 465c1fd commit 127b596

7 files changed

+58
-537
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ bin/
1515
*.sln.iml
1616

1717
launchSettings.json
18-
*.DotSettings
18+
*.DotSettings
19+
20+
*.sln

Directory.Build.props

+4
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@
3636
<ItemGroup>
3737
<None Include="../../logo.png" Pack="true" Visible="false" PackagePath="" />
3838
</ItemGroup>
39+
40+
<ItemGroup>
41+
<PackageReference Include="Microsoft.VisualStudio.SlnGen" Version="11.1.0" />
42+
</ItemGroup>
3943
</Project>

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
dotnet add package KubernetesClient
1111
```
1212

13+
## Generate with Visual Studio
14+
15+
```
16+
dotnet msbuild /t:slngen
17+
```
18+
1319
## Authentication/Configuration
1420
You should be able to use a standard KubeConfig file with this library,
1521
see the `BuildConfigFromConfigFile` function below. Most authentication

examples/GenericKubernetesApi/GenericKubernetesApi.csproj

-7
This file was deleted.

examples/GenericKubernetesApi/Program.cs

-61
This file was deleted.

kubernetes-client.proj

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project Sdk="Microsoft.Build.Traversal">
2+
<ItemGroup>
3+
<ProjectReference Include="src/**/*.csproj" />
4+
<ProjectReference Include="tests/**/*..proj" />
5+
<ProjectReference Include="examples/**/*..proj" />
6+
</ItemGroup>
7+
</Project>
8+

0 commit comments

Comments
 (0)