File tree Expand file tree Collapse file tree 7 files changed +55
-11
lines changed
src/InfinityFlow.Aspire.Temporal Expand file tree Collapse file tree 7 files changed +55
-11
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "hooks" : {
3+ "SessionStart" : [
4+ {
5+ "matcher" : " startup" ,
6+ "hooks" : [
7+ {
8+ "type" : " command" ,
9+ "command" : " \" $CLAUDE_PROJECT_DIR\" /scripts/install-dotnet.sh"
10+ }
11+ ]
12+ }
13+ ]
14+ }
15+ }
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <InvariantGlobalization >true</InvariantGlobalization >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
2- <Sdk Name =" Aspire.AppHost.Sdk" Version =" 9.5 .0" />
2+ <Sdk Name =" Aspire.AppHost.Sdk" Version =" 13.0 .0" />
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >net9 .0</TargetFramework >
5+ <TargetFramework >net10 .0</TargetFramework >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <Nullable >enable</Nullable >
88 <IsAspireHost >true</IsAspireHost >
99 </PropertyGroup >
1010
1111 <ItemGroup >
12- <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 9.5 .0" />
12+ <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 13.0 .0" />
1313 </ItemGroup >
1414
1515 <ItemGroup >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Library</OutputType >
5- <TargetFramework >net9 .0</TargetFramework >
5+ <TargetFramework >net10 .0</TargetFramework >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <Nullable >enable</Nullable >
88 <IsAspireSharedProject >true</IsAspireSharedProject >
1111 <ItemGroup >
1212 <FrameworkReference Include =" Microsoft.AspNetCore.App" />
1313
14- <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 9.9 .0" />
15- <PackageReference Include =" Microsoft.Extensions.ServiceDiscovery" Version =" 9.5 .0" />
14+ <PackageReference Include =" Microsoft.Extensions.Http.Resilience" Version =" 10.0 .0" />
15+ <PackageReference Include =" Microsoft.Extensions.ServiceDiscovery" Version =" 10.0 .0" />
1616 <PackageReference Include =" OpenTelemetry.Exporter.OpenTelemetryProtocol" Version =" 1.14.0" />
1717 <PackageReference Include =" OpenTelemetry.Extensions.Hosting" Version =" 1.14.0" />
1818 <PackageReference Include =" OpenTelemetry.Instrumentation.AspNetCore" Version =" 1.14.0" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Worker" >
22
33 <PropertyGroup >
4- <TargetFramework >net9 .0</TargetFramework >
4+ <TargetFramework >net10 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <UserSecretsId >dotnet-Worker-0059691c-eb4b-48c3-980f-e2478ee155e9</UserSecretsId >
88 </PropertyGroup >
99
1010 <ItemGroup >
11- <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 9 .0.9 " />
11+ <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 10 .0.0 " />
1212 <PackageReference Include =" Temporalio" Version =" 1.9.0" />
1313 <PackageReference Include =" Temporalio.Extensions.Hosting" Version =" 1.7.0" />
1414 </ItemGroup >
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Only run in remote environments
4+ if [ " $CLAUDE_CODE_REMOTE " != " true" ]; then
5+ exit 0
6+ fi
7+
8+ echo " Installing .NET SDK in remote environment..."
9+
10+ # Install .NET SDK using official Microsoft script
11+ # This installs the latest .NET SDK
12+ curl -sSL https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
13+ bash dotnet-install.sh --channel 10.0
14+ rm dotnet-install.sh
15+
16+ # Add dotnet to PATH for current session
17+ export DOTNET_ROOT=$HOME /.dotnet
18+ export PATH=$PATH :$DOTNET_ROOT :$DOTNET_ROOT /tools
19+
20+ # Persist environment variables for subsequent bash commands
21+ if [ -n " $CLAUDE_ENV_FILE " ]; then
22+ echo " export DOTNET_ROOT=$HOME /.dotnet" >> " $CLAUDE_ENV_FILE "
23+ echo " export PATH=\$ PATH:\$ DOTNET_ROOT:\$ DOTNET_ROOT/tools" >> " $CLAUDE_ENV_FILE "
24+ fi
25+
26+ echo " .NET SDK installation complete"
27+ dotnet --version
28+
29+ exit 0
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net9 .0</TargetFramework >
3+ <TargetFramework >net10 .0</TargetFramework >
44 <ImplicitUsings >enable</ImplicitUsings >
55 <Nullable >enable</Nullable >
66 <PackageIcon >packageIcon.png</PackageIcon >
2929 </ItemGroup >
3030 <ItemGroup >
3131 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0" PrivateAssets =" All" />
32- <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 9.5 .0" />
32+ <PackageReference Include =" Aspire.Hosting.AppHost" Version =" 13.0 .0" />
3333 </ItemGroup >
3434</Project >
You can’t perform that action at this time.
0 commit comments