Skip to content

Commit

Permalink
introduce slngen and remove stale proj (#1497)
Browse files Browse the repository at this point in the history
* introduce slngen and remove stale proj

* Add instructions for generating with Visual Studio
  • Loading branch information
tg123 authored Jan 22, 2024
1 parent 465c1fd commit 127b596
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 537 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ bin/
*.sln.iml

launchSettings.json
*.DotSettings
*.DotSettings

*.sln
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@
<ItemGroup>
<None Include="../../logo.png" Pack="true" Visible="false" PackagePath="" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.SlnGen" Version="11.1.0" />
</ItemGroup>
</Project>
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
dotnet add package KubernetesClient
```

## Generate with Visual Studio

```
dotnet msbuild /t:slngen
```

## Authentication/Configuration
You should be able to use a standard KubeConfig file with this library,
see the `BuildConfigFromConfigFile` function below. Most authentication
Expand Down
7 changes: 0 additions & 7 deletions examples/GenericKubernetesApi/GenericKubernetesApi.csproj

This file was deleted.

61 changes: 0 additions & 61 deletions examples/GenericKubernetesApi/Program.cs

This file was deleted.

8 changes: 8 additions & 0 deletions kubernetes-client.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.Build.Traversal">
<ItemGroup>
<ProjectReference Include="src/**/*.csproj" />
<ProjectReference Include="tests/**/*..proj" />
<ProjectReference Include="examples/**/*..proj" />
</ItemGroup>
</Project>

Loading

0 comments on commit 127b596

Please sign in to comment.