Skip to content

Commit 76affbf

Browse files
fix(internal): don't format csproj files
1 parent 212d94f commit 76affbf

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

‎.csharpierignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.csproj
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
34
<TargetFramework>net8.0</TargetFramework>
5+
46
<Nullable>enable</Nullable>
7+
58
<IsPackable>false</IsPackable>
69
<IsTestProject>true</IsTestProject>
710
<ImplicitUsings>disable</ImplicitUsings>
11+
812
<!-- Disable skipped tests warnings -->
913
<NoWarn>$(NoWarn),xUnit1004</NoWarn>
14+
1015
<!-- Disable deprecation warnings since we may reference our own deprecated symbols -->
1116
<NoWarn>$(NoWarn),0618</NoWarn>
1217
</PropertyGroup>
18+
1319
<ItemGroup>
1420
<PackageReference Include="coverlet.collector" Version="6.0.0" />
1521
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
1622
<PackageReference Include="xunit" Version="2.5.3" />
1723
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
24+
1825
<ProjectReference Include="..\Anthropic\Anthropic.csproj" />
1926
<ProjectReference Include="..\Anthropic.Foundry\Anthropic.Foundry.csproj" />
2027
</ItemGroup>
28+
2129
<ItemGroup>
2230
<Using Include="Xunit" />
2331
</ItemGroup>
32+
2433
</Project>

‎src/Anthropic/Anthropic.csproj‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>
44
The official .NET library for the Anthropic C# service API.
55
</Description>
66
<AssemblyTitle>SDK Code Generation Anthropic C#</AssemblyTitle>
77
<PackageLicenseExpression>MIT</PackageLicenseExpression>
88
<Nullable>enable</Nullable>
9-
<VersionPrefix>10.3.0</VersionPrefix>
9+
<VersionPrefix>10.2.1</VersionPrefix>
1010
<TargetFrameworks>net8.0;net9.0;netstandard2.0</TargetFrameworks>
1111
<LangVersion>latest</LangVersion>
1212
<!-- Generate an XML documentation file for the project. -->
@@ -45,13 +45,13 @@
4545
<SupportedFrameworks>net8.0;net9.0;netstandard2.0</SupportedFrameworks>
4646
</PropertyGroup>
4747
<ItemGroup>
48-
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
48+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
4949
</ItemGroup>
5050
<ItemGroup>
51-
<PackageReference Include="System.Text.Json" Version="10.0.0"/>
52-
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="10.0.0"/>
51+
<PackageReference Include="System.Text.Json" Version="10.0.0" />
52+
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="10.0.0" />
5353
</ItemGroup>
5454
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
55-
<PackageReference Include="System.Collections.Immutable" Version="8.0.0"/>
55+
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
5656
</ItemGroup>
5757
</Project>

0 commit comments

Comments
 (0)