Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ public static class ProjectFileContents
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include=""Refit.HttpClientFactory"" Version=""8.0.0"" />
<PackageReference Include=""Refit.HttpClientFactory"" Version=""11.0.1"" />
<PackageReference Include=""System.Text.Json"" Version=""8.0.5"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""4.5.0"" />
<PackageReference Include=""System.Runtime.Serialization.Primitives"" Version=""4.3.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""8.0.1"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""8.0.11"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""8.10.0"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""8.0.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""10.0.8"" />
Comment on lines +16 to +19

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if Refit 11.0.1 has specific Microsoft.Extensions version requirements

# Query NuGet API for Refit.HttpClientFactory 11.0.1 dependencies
echo "=== Refit.HttpClientFactory 11.0.1 dependencies ==="
curl -s "https://api.nuget.org/v3-flatcontainer/refit.httpclientfactory/11.0.1/refit.httpclientfactory.nuspec" | \
  grep -A 5 "dependencies" | head -30

# Check Microsoft.Extensions.DependencyInjection 10.0.8 supported frameworks
echo -e "\n=== Microsoft.Extensions.DependencyInjection 10.0.8 target frameworks ==="
curl -s "https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection/10.0.8/microsoft.extensions.dependencyinjection.nuspec" | \
  grep -E "(targetFramework|dependency)" | head -20

# Check Microsoft.Extensions.Http.Polly 10.0.8 supported frameworks
echo -e "\n=== Microsoft.Extensions.Http.Polly 10.0.8 target frameworks ==="
curl -s "https://api.nuget.org/v3-flatcontainer/microsoft.extensions.http.polly/10.0.8/microsoft.extensions.http.polly.nuspec" | \
  grep -E "(targetFramework|dependency)" | head -20

Repository: christianhelle/refitter

Length of output: 2540


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pkgs=(
  "microsoft.extensions.dependencyinjection/10.0.8"
  "microsoft.extensions.http.polly/10.0.8"
  "microsoft.extensions.http.resilience/10.0.8"
  "microsoft.extensions.options.configurationextensions/10.0.8"
  "microsoft.extensions.http/10.0.8"
)

echo "=== Supported targetFramework groups for Microsoft.Extensions packages ==="
for p in "${pkgs[@]}"; do
  pkg="$(echo "$p" | cut -d/ -f1)"
  ver="$(echo "$p" | cut -d/ -f2)"
  echo -e "\n--- $pkg $ver ---"
  curl -s "https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec" \
    | rg -o 'group targetFramework="[^"]+"' \
    | sed 's/group targetFramework="//; s/"$//' \
    | sort -u
done

echo -e "\n=== Refit.HttpClientFactory 11.0.1 nuspec dependency groups (context) ==="
curl -s "https://api.nuget.org/v3-flatcontainer/refit.httpclientfactory/11.0.1/refit.httpclientfactory.nuspec" \
  | rg -n "dependencies|group targetFramework|Microsoft.Extensions.Http" -n || true

Repository: christianhelle/refitter

Length of output: 199


🏁 Script executed:

#!/bin/bash
set -uo pipefail

pkgs=(
  "microsoft.extensions.dependencyinjection/10.0.8"
  "microsoft.extensions.http.polly/10.0.8"
  "microsoft.extensions.http.resilience/10.0.8"
  "microsoft.extensions.options.configurationextensions/10.0.8"
  "microsoft.extensions.http/10.0.8"
)

echo "=== Supported targetFramework groups for Microsoft.Extensions packages ==="
for p in "${pkgs[@]}"; do
  pkg="$(echo "$p" | cut -d/ -f1)"
  ver="$(echo "$p" | cut -d/ -f2)"
  echo -e "\n--- $pkg $ver ---"

  url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec"
  nuspec="$(curl -sS "$url" || true)"
  if [[ -z "$nuspec" ]]; then
    echo "(nuspec fetch failed or empty: $url)"
    continue
  fi

  groups="$(printf "%s" "$nuspec" | rg -n --no-messages 'group targetFramework="' || true)"
  if [[ -z "$groups" ]]; then
    echo "(no 'group targetFramework' entries found in nuspec)"
    continue
  fi

  printf "%s" "$nuspec" \
    | rg -o --no-messages 'group targetFramework="[^"]+"' \
    | sed 's/group targetFramework="//; s/"$//' \
    | sort -u
done

echo -e "\n=== Refit.HttpClientFactory 11.0.1 nuspec dependency groups (context) ==="
curl -sS "https://api.nuget.org/v3-flatcontainer/refit.httpclientfactory/11.0.1/refit.httpclientfactory.nuspec" \
  | rg -n --no-messages "dependencies|group targetFramework=\"|Microsoft.Extensions.Http" || true

Repository: christianhelle/refitter

Length of output: 1540


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pkg="microsoft.extensions.dependencyinjection"
ver="10.0.8"
url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec"

echo "URL: $url"
echo "---- curl headers ----"
curl -sS -I "$url" | sed -n '1,20p'

echo "---- nuspec head (first 80 lines) ----"
curl -sS "$url" | head -n 80

echo "---- grep targetFramework/group/dependency lines ----"
curl -sS "$url" \
  | rg -n --no-messages "(targetFramework|<group|<dependency|dependency id=)" \
  | head -n 80

Repository: christianhelle/refitter

Length of output: 1036


🏁 Script executed:

#!/bin/bash
set -euo pipefail

packages=(
  "microsoft.extensions.dependencyinjection 10.0.8"
  "microsoft.extensions.http.polly 10.0.8"
  "microsoft.extensions.http.resilience 10.0.8"
  "microsoft.extensions.options.configurationextensions 10.0.8"
  "microsoft.extensions.http 10.0.8"
)

echo "=== Check nuspec for dependency groups / target frameworks (net8.0/net9.0) ==="
for item in "${packages[@]}"; do
  pkg="$(awk '{print $1}' <<<"$item")"
  ver="$(awk '{print $2}' <<<"$item")"
  url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.nuspec"

  echo -e "\n--- $pkg $ver ---"
  nuspec="$(curl -sS "$url" || true)"
  if [[ -z "$nuspec" || "$nuspec" == *"BlobNotFound"* ]]; then
    echo "(nuspec not found at $url)"
    continue
  fi

  echo "Has group targetFramework entries?"
  printf "%s" "$nuspec" | rg -o --no-messages 'targetFramework="[^"]+"' | sort -u | head -n 50

  echo "Contains net8.0 group?"
  printf "%s" "$nuspec" | rg --no-messages 'targetFramework="net8\.0"' || true

  echo "Contains net9.0 group?"
  printf "%s" "$nuspec" | rg --no-messages 'targetFramework="net9\.0"' || true
done

Repository: christianhelle/refitter

Length of output: 1637


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs"
echo "=== PackageReference lines in $file ==="
rg -n --fixed-string 'PackageReference' "$file"

echo
echo "=== Full context around the Microsoft.Extensions.* PackageReferences ==="
sed -n '1,120p' "$file" | nl -ba

Repository: christianhelle/refitter

Length of output: 631


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs"

echo "=== PackageReference lines in $file ==="
rg -n --fixed-strings 'PackageReference' "$file"

echo
echo "=== Microsoft.Extensions.* PackageReference lines (with versions) ==="
rg -n --fixed-strings 'PackageReference Include="Microsoft.Extensions' "$file" || true

echo
echo "=== Show surrounding Net80App template lines 1-80 ==="
sed -n '1,80p' "$file" | nl -ba

echo
echo "=== Show surrounding Net90App template lines 80-180 ==="
sed -n '80,180p' "$file" | nl -ba

Repository: christianhelle/refitter

Length of output: 3417


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs"

echo "=== Microsoft.Extensions.* PackageReference lines in $file ==="
rg -n --fixed-strings 'PackageReference Include="Microsoft.Extensions' "$file"

echo
echo "=== Show Net80App/Net90App templates around the Microsoft.Extensions.* references ==="
# small slices around the known line numbers from previous grep output
sed -n '1,90p' "$file" | cat -n | sed -n '1,90p'
sed -n '90,180p' "$file" | cat -n | sed -n '1,120p'

echo
echo "=== NuGet nuspec existence + targetFramework groups for Microsoft.Extensions.Http.Resilience 10.0.8 ==="
pkg="microsoft.extensions.http.resilience"
ver="10.0.8"

index_url="https://api.nuget.org/v3-flatcontainer/${pkg}/index.json"
echo "index_url: $index_url"
curl -sS "$index_url" | head -n 5

nuspec_url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec"
echo "nuspec_url: $nuspec_url"
curl -sS -I "$nuspec_url" | head -n 20

echo
echo "--- nuspec targetFramework values (if available) ---"
curl -sS "$nuspec_url" | rg -o --no-messages 'targetFramework="[^"]+"' | sed 's/targetFramework="//; s/"$//' | sort -u || true

Repository: christianhelle/refitter

Length of output: 188


🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs"

echo "=== File exists / head ==="
ls -l "$file"
sed -n '1,80p' "$file" | head -n 40

echo
echo "=== Microsoft.Extensions.* PackageReference lines (escaped quotes) ==="
rg -n 'PackageReference Include=""Microsoft\.Extensions\.' "$file"

echo
echo "=== nuspec targetFramework values for Microsoft.Extensions.Http.Resilience 10.0.8 ==="
pkg="microsoft.extensions.http.resilience"
ver="10.0.8"

nuspec_url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec"
echo "nuspec_url: $nuspec_url"
curl -sS -I "$nuspec_url" | head -n 15

echo
echo "--- extracted targetFramework values (if present) ---"
curl -sS "$nuspec_url" | rg -o --no-messages 'targetFramework="[^"]+"' | sed 's/targetFramework="//; s/"$//' | sort -u

Repository: christianhelle/refitter

Length of output: 4082


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pkg="microsoft.extensions.http.resilience"
idx_url="https://api.nuget.org/v3-flatcontainer/${pkg}/index.json"

echo "index_url: $idx_url"
idx="$(curl -sS "$idx_url" || true)"
if [[ -z "$idx" ]]; then
  echo "Failed to fetch index.json"
  exit 0
fi

echo "Does index.json mention 10.0.8?"
if echo "$idx" | rg -q '"10\.0\.8"'; then
  echo "Yes: contains 10.0.8"
else
  echo "No: 10.0.8 not found in index.json"
  echo "Some 10.0.* versions:"
  echo "$idx" | rg -o '"10\.[0-9]+\.[0-9]+"' | rg -o '"10\.[0-9]+\.[0-9]+"' | head -n 30
fi

# If 10.0.8 is present, attempt nuspec fetch again and parse targetFrameworks
if echo "$idx" | rg -q '"10\.0\.8"'; then
  ver="10.0.8"
  nuspec_url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec"
  echo "nuspec_url: $nuspec_url"
  curl -sS -I "$nuspec_url" | head -n 15
  nuspec="$(curl -sS "$nuspec_url" || true)"
  if [[ -z "$nuspec" || "$nuspec" == *"BlobNotFound"* ]]; then
    echo "nuspec still missing via flatcontainer; will stop."
    exit 0
  fi
  echo "Extracted targetFramework values:"
  echo "$nuspec" | rg -o --no-messages 'targetFramework="[^"]+"' | sed 's/targetFramework="//; s/"$//' | sort -u
fi

Repository: christianhelle/refitter

Length of output: 317


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pkg="microsoft.extensions.http.resilience"
idx_url="https://api.nuget.org/v3-flatcontainer/${pkg}/index.json"

echo "index_url: $idx_url"
idx="$(curl -sS "$idx_url" || true)"
if [[ -z "$idx" ]]; then
  echo "Failed to fetch index.json"
  exit 0
fi

echo "Does index.json mention 10.0.8?"
if echo "$idx" | rg -q '"10\.0\.8"'; then
  echo "Yes: contains 10.0.8"
else
  echo "No: 10.0.8 not found in index.json"
  echo "Some 10.0.* versions:"
  echo "$idx" | rg -o '"10\.[0-9]+\.[0-9]+"' | head -n 30
fi

# If 10.0.8 is present, attempt nuspec fetch again and parse targetFrameworks
if echo "$idx" | rg -q '"10\.0\.8"'; then
  ver="10.0.8"
  nuspec_url="https://api.nuget.org/v3-flatcontainer/${pkg}/${ver}/${pkg}.${ver}.nuspec"
  echo "nuspec_url: $nuspec_url"
  curl -sS -I "$nuspec_url" | head -n 15
  nuspec="$(curl -sS "$nuspec_url" || true)"
  if [[ -z "$nuspec" || "$nuspec" == *"BlobNotFound"* ]]; then
    echo "nuspec still missing via flatcontainer; will stop."
    exit 0
  fi
  echo "Extracted targetFramework values:"
  echo "$nuspec" | rg -o --no-messages 'targetFramework="[^"]+"' | sed 's/targetFramework="//; s/"$//' | sort -u
fi

Repository: christianhelle/refitter

Length of output: 317


Fix Microsoft.Extensions.Http.Resilience version in test templates

  • In src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs (lines 16-19 and 43-46), the templates reference Microsoft.Extensions.Http.Resilience Version="10.0.8", but NuGet’s flat-container microsoft.extensions.http.resilience/index.json doesn’t list 10.0.8 (it lists 10.0.0, 10.1.010.6.0), so package restore is likely to fail—update to an available version.
  • The earlier Microsoft.Extensions.*/net8.0+net9.0 compatibility concern is mostly covered: Refit.HttpClientFactory 11.0.1 brings in Microsoft.Extensions.Http 10.0.8 for net8.0/net9.0, and Microsoft.Extensions.Http / Microsoft.Extensions.DependencyInjection / Microsoft.Extensions.Options.ConfigurationExtensions 10.0.8 nuspecs include net8.0 and net9.0.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs` around lines
16 - 19, The test project template in ProjectFileContents
(src/Refitter.SourceGenerator.Tests/Build/ProjectFileContents.cs) references
Microsoft.Extensions.Http.Resilience Version="10.0.8", which does not exist on
NuGet; update that package reference to an available version (for example
"10.6.0") in both occurrences inside the template strings (the two places around
the XML PackageReference blocks — the earlier block and the later block around
lines ~43-46) so package restore succeeds; ensure you update the same literal in
the ProjectFileContents class/template so both net8.0/net9.0 test templates use
the valid version.

<PackageReference Include=""Polly.Contrib.WaitAndRetry"" Version=""1.1.1"" />
<PackageReference Include=""System.Reactive"" Version=""6.0.1"" />
<PackageReference Include=""Apizr.Integrations.FileTransfer.MediatR"" Version=""6.4.0"" />
Expand All @@ -36,14 +36,14 @@ public static class ProjectFileContents
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include=""Refit.HttpClientFactory"" Version=""8.0.0"" />
<PackageReference Include=""Refit.HttpClientFactory"" Version=""11.0.1"" />
<PackageReference Include=""System.Text.Json"" Version=""8.0.5"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""4.5.0"" />
<PackageReference Include=""System.Runtime.Serialization.Primitives"" Version=""4.3.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""8.0.1"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""8.0.11"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""8.10.0"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""8.0.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""10.0.8"" />
<PackageReference Include=""Polly.Contrib.WaitAndRetry"" Version=""1.1.1"" />
<PackageReference Include=""System.Reactive"" Version=""6.0.1"" />
<PackageReference Include=""Apizr.Integrations.FileTransfer.MediatR"" Version=""6.4.0"" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Refit.HttpClientFactory" Version="10.2.0" />
<PackageReference Include="Refit.HttpClientFactory" Version="11.0.1" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="10.0.5" />
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Refitter.Tests/Build/BuildHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static bool BuildCSharp(string targetFramework, params string[] generated
var projectContent = targetFramework switch
{
"net9.0" => ProjectFileContents.Net90App,
"net10.0" => ProjectFileContents.Net100App,
_ => ProjectFileContents.Net80App
};
File.WriteAllText(projectFile, projectContent);
Expand Down
55 changes: 41 additions & 14 deletions src/Refitter.Tests/Build/ProjectFileContents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ public static class ProjectFileContents
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include=""Refit.HttpClientFactory"" Version=""8.0.0"" />
<PackageReference Include=""System.Text.Json"" Version=""8.0.5"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""4.5.0"" />
<PackageReference Include=""Refit.HttpClientFactory"" Version=""11.0.1"" />
<PackageReference Include=""System.Text.Json"" Version=""10.0.0"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""5.0.0"" />
<PackageReference Include=""System.Runtime.Serialization.Primitives"" Version=""4.3.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""8.0.1"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""8.0.11"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""8.10.0"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""8.0.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""10.0.8"" />
<PackageReference Include=""Polly.Contrib.WaitAndRetry"" Version=""1.1.1"" />
<PackageReference Include=""System.Reactive"" Version=""6.0.1"" />
<PackageReference Include=""Apizr.Integrations.FileTransfer.MediatR"" Version=""6.4.0"" />
Expand All @@ -36,14 +36,41 @@ public static class ProjectFileContents
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include=""Refit.HttpClientFactory"" Version=""8.0.0"" />
<PackageReference Include=""System.Text.Json"" Version=""8.0.5"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""4.5.0"" />
<PackageReference Include=""Refit.HttpClientFactory"" Version=""11.0.1"" />
<PackageReference Include=""System.Text.Json"" Version=""10.0.0"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""5.0.0"" />
<PackageReference Include=""System.Runtime.Serialization.Primitives"" Version=""4.3.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""8.0.1"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""8.0.11"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""8.10.0"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""8.0.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""10.0.8"" />
<PackageReference Include=""Polly.Contrib.WaitAndRetry"" Version=""1.1.1"" />
<PackageReference Include=""System.Reactive"" Version=""6.0.1"" />
<PackageReference Include=""Apizr.Integrations.FileTransfer.MediatR"" Version=""6.4.0"" />
<PackageReference Include=""Apizr.Integrations.Mapster"" Version=""6.4.0"" />
<PackageReference Include=""Apizr.Integrations.AutoMapper"" Version=""6.4.0"" />
<PackageReference Include=""Apizr.Integrations.Akavache"" Version=""6.4.0"" />
<PackageReference Include=""Apizr.Integrations.MonkeyCache"" Version=""6.4.0"" />
<PackageReference Include=""Apizr.Extensions.Microsoft.Caching"" Version=""6.4.0"" />
<PackageReference Include=""Apizr.Integrations.Fusillade"" Version=""6.4.0"" />
</ItemGroup>
</Project>";

public const string Net100App = @"
<Project Sdk=""Microsoft.NET.Sdk"">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include=""Refit.HttpClientFactory"" Version=""11.0.1"" />
<PackageReference Include=""System.Text.Json"" Version=""10.0.0"" />
<PackageReference Include=""System.ComponentModel.Annotations"" Version=""5.0.0"" />
<PackageReference Include=""System.Runtime.Serialization.Primitives"" Version=""4.3.0"" />
<PackageReference Include=""Microsoft.Extensions.DependencyInjection"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Polly"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Http.Resilience"" Version=""10.0.8"" />
<PackageReference Include=""Microsoft.Extensions.Options.ConfigurationExtensions"" Version=""10.0.8"" />
<PackageReference Include=""Polly.Contrib.WaitAndRetry"" Version=""1.1.1"" />
<PackageReference Include=""System.Reactive"" Version=""6.0.1"" />
<PackageReference Include=""Apizr.Integrations.FileTransfer.MediatR"" Version=""6.4.0"" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class GenerateJsonSerializerContextPolymorphismTests
<RestorePackagesPath>packages</RestorePackagesPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Refit.HttpClientFactory" Version="10.2.0" />
<PackageReference Include="Refit.HttpClientFactory" Version="11.0.1" />
</ItemGroup>
</Project>
""";
Expand Down
Loading
Loading