diff --git a/InterfaceStubGenerator.Roslyn38/InterfaceStubGenerator.Roslyn38.csproj b/InterfaceStubGenerator.Roslyn38/InterfaceStubGenerator.Roslyn38.csproj index bfc4940a5..7ffa73ad4 100644 --- a/InterfaceStubGenerator.Roslyn38/InterfaceStubGenerator.Roslyn38.csproj +++ b/InterfaceStubGenerator.Roslyn38/InterfaceStubGenerator.Roslyn38.csproj @@ -12,11 +12,11 @@ - + - + $(BuildVersion) $(BuildVersionSimple) diff --git a/InterfaceStubGenerator.Roslyn40/InterfaceStubGenerator.Roslyn40.csproj b/InterfaceStubGenerator.Roslyn40/InterfaceStubGenerator.Roslyn40.csproj index 7ee02683a..ff5bcf9d7 100644 --- a/InterfaceStubGenerator.Roslyn40/InterfaceStubGenerator.Roslyn40.csproj +++ b/InterfaceStubGenerator.Roslyn40/InterfaceStubGenerator.Roslyn40.csproj @@ -13,7 +13,7 @@ - + diff --git a/Refit.sln b/Refit.sln index fdeb099bb..26aff3fed 100644 --- a/Refit.sln +++ b/Refit.sln @@ -36,6 +36,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Refit.Benchmarks", "Refit.B EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Refit.GeneratorTests", "Refit.GeneratorTests\Refit.GeneratorTests.csproj", "{CE7894EA-D411-494A-BA8B-1C231D45025D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sandbox3", "Sandbox3\Sandbox3.csproj", "{C974C7E5-71DF-4404-B5E2-58FB81A6E65A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -192,6 +194,22 @@ Global {CE7894EA-D411-494A-BA8B-1C231D45025D}.Release|x64.Build.0 = Release|Any CPU {CE7894EA-D411-494A-BA8B-1C231D45025D}.Release|x86.ActiveCfg = Release|Any CPU {CE7894EA-D411-494A-BA8B-1C231D45025D}.Release|x86.Build.0 = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|ARM.ActiveCfg = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|ARM.Build.0 = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|x64.ActiveCfg = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|x64.Build.0 = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|x86.ActiveCfg = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Debug|x86.Build.0 = Debug|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|Any CPU.Build.0 = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|ARM.ActiveCfg = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|ARM.Build.0 = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|x64.ActiveCfg = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|x64.Build.0 = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|x86.ActiveCfg = Release|Any CPU + {C974C7E5-71DF-4404-B5E2-58FB81A6E65A}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Sandbox3/Program.cs b/Sandbox3/Program.cs new file mode 100644 index 000000000..75c898183 --- /dev/null +++ b/Sandbox3/Program.cs @@ -0,0 +1,14 @@ +// See https://aka.ms/new-console-template for more information + +using Refit; + +var gitHubApi = RestService.For("https://api.github.com"); +Console.WriteLine("Success?"); + +public interface IGitHubApi +{ + [Get("/users/{user}")] + Task GetUser(string user); +} + +public record User(); diff --git a/Sandbox3/Sandbox3.csproj b/Sandbox3/Sandbox3.csproj new file mode 100644 index 000000000..69a0f0394 --- /dev/null +++ b/Sandbox3/Sandbox3.csproj @@ -0,0 +1,15 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + +