Skip to content

Commit 59238b8

Browse files
authored
chore: Additional solution organization and sandbox. (#213)
This set of changes shouldn't have any production facing impact. It just makes testing, validation, and development easier. Extend the solution with the following capabilities: - A DebugLocalReferences build configuration which locally links dependencies when possible. This is currently only redis and dynamo linking to the server SDK. It cannot yet link common locally because of its use by internal. Once internal is added to the solution it can be extended. - Added documentation items to the individual project that use them as links. This allows more easy usage of things like README, CONTRIBUTING, and API docs from within a solution. - Added top-level documentation to the repo-docs solution folder. <img width="231" height="130" alt="image" src="https://github.com/user-attachments/assets/c9e365fa-7752-46a5-a56d-943e11b35945" /> <img width="422" height="596" alt="image" src="https://github.com/user-attachments/assets/3b2f9590-38e9-4029-9296-36eb7de861ba" /> <img width="1507" height="695" alt="image" src="https://github.com/user-attachments/assets/30403afd-3693-40a5-a4db-44ee71e7826e" /> Added a new sandbox project that is configured with environment variables. So you can use different data system configurations based on environment variables. This includes persistent stores when using the DebugLocalReferences build. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Introduces local-dev build wiring and a new sandbox for easier testing while organizing solution items. > > - Adds `DebugLocalReferences` configuration across projects to switch `LaunchDarkly.ServerSdk` from NuGet `PackageReference` to local `ProjectReference`; defines `DEBUG_LOCAL_REFERENCES` where needed > - Updates multiple `.csproj` files to include repo docs (`README`, `CHANGELOG`, etc.) as linked content; adds doc source links in server/server-ai/telemetry > - Adds `sandbox/dotnet-server-sandbox` console app configurable via environment variables for data system modes (`default`, `streaming`, `polling`, `daemon`, `persistent-store`) and persistent stores (Redis/DynamoDB) when using `DebugLocalReferences` > - Updates solution (`DotnetCore.sln`) to include `sandbox` and `repo-docs` folders and the new configuration entries; adjusts `InternalsVisibleTo` to `dotnet-server-sandbox` > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8e2a733. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent aa92fc6 commit 59238b8

File tree

18 files changed

+1074
-5
lines changed

18 files changed

+1074
-5
lines changed

DotnetCore.sln

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,22 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "telemetry", "telemetry", "{
7272
EndProject
7373
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LaunchDarkly.ServerSdk.Telemetry", "pkgs\telemetry\src\LaunchDarkly.ServerSdk.Telemetry.csproj", "{DE321396-6459-4C02-AF61-1A2677A7CB65}"
7474
EndProject
75+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sandbox", "sandbox", "{822D49A6-1DF2-49BB-A3C0-15821ED718D6}"
76+
EndProject
77+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dotnet-server-sandbox", "sandbox\dotnet-server-sandbox\dotnet-server-sandbox.csproj", "{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}"
78+
EndProject
79+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "repo-docs", "repo-docs", "{1A854A11-54BE-4978-B4FF-0A2AE2488C2A}"
80+
ProjectSection(SolutionItems) = preProject
81+
README.md = README.md
82+
SECURITY.md = SECURITY.md
83+
CONTRIBUTING.md = CONTRIBUTING.md
84+
LICENSE = LICENSE
85+
EndProjectSection
86+
EndProject
7587
Global
7688
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7789
Debug|Any CPU = Debug|Any CPU
90+
DebugLocalReferences|Any CPU = DebugLocalReferences|Any CPU
7891
Release|Any CPU = Release|Any CPU
7992
EndGlobalSection
8093
GlobalSection(NestedProjects) = preSolution
@@ -107,87 +120,134 @@ Global
107120
{EF541D97-2C23-4FB8-BD87-ADFDF0FF83F3} = {0007CF48-139C-43C6-8A3A-2A2D1474F197}
108121
{561F6F3D-09C5-470A-83AC-F0E97BAD609B} = {EF541D97-2C23-4FB8-BD87-ADFDF0FF83F3}
109122
{DE321396-6459-4C02-AF61-1A2677A7CB65} = {FF3153CA-F727-4666-BA1E-5459BE34FBAB}
123+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16} = {822D49A6-1DF2-49BB-A3C0-15821ED718D6}
110124
EndGlobalSection
111125
GlobalSection(ProjectConfigurationPlatforms) = postSolution
112126
{2D61D2EC-8D04-46E9-9E1B-1E029341F318}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
113127
{2D61D2EC-8D04-46E9-9E1B-1E029341F318}.Debug|Any CPU.Build.0 = Debug|Any CPU
114128
{2D61D2EC-8D04-46E9-9E1B-1E029341F318}.Release|Any CPU.ActiveCfg = Release|Any CPU
115129
{2D61D2EC-8D04-46E9-9E1B-1E029341F318}.Release|Any CPU.Build.0 = Release|Any CPU
130+
{2D61D2EC-8D04-46E9-9E1B-1E029341F318}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
131+
{2D61D2EC-8D04-46E9-9E1B-1E029341F318}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
116132
{DB9C772D-00D1-47CD-940E-7D802D4FB59A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
117133
{DB9C772D-00D1-47CD-940E-7D802D4FB59A}.Debug|Any CPU.Build.0 = Debug|Any CPU
118134
{DB9C772D-00D1-47CD-940E-7D802D4FB59A}.Release|Any CPU.ActiveCfg = Release|Any CPU
119135
{DB9C772D-00D1-47CD-940E-7D802D4FB59A}.Release|Any CPU.Build.0 = Release|Any CPU
136+
{DB9C772D-00D1-47CD-940E-7D802D4FB59A}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
137+
{DB9C772D-00D1-47CD-940E-7D802D4FB59A}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
120138
{D1DF71E8-6037-4E35-813A-07F5A27153C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121139
{D1DF71E8-6037-4E35-813A-07F5A27153C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
122140
{D1DF71E8-6037-4E35-813A-07F5A27153C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
123141
{D1DF71E8-6037-4E35-813A-07F5A27153C2}.Release|Any CPU.Build.0 = Release|Any CPU
142+
{D1DF71E8-6037-4E35-813A-07F5A27153C2}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
143+
{D1DF71E8-6037-4E35-813A-07F5A27153C2}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
124144
{A2733CF1-672F-41A8-8DF8-7340BF953457}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
125145
{A2733CF1-672F-41A8-8DF8-7340BF953457}.Debug|Any CPU.Build.0 = Debug|Any CPU
126146
{A2733CF1-672F-41A8-8DF8-7340BF953457}.Release|Any CPU.ActiveCfg = Release|Any CPU
127147
{A2733CF1-672F-41A8-8DF8-7340BF953457}.Release|Any CPU.Build.0 = Release|Any CPU
148+
{A2733CF1-672F-41A8-8DF8-7340BF953457}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
149+
{A2733CF1-672F-41A8-8DF8-7340BF953457}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
128150
{F91A1EFE-5411-4100-A2D1-7C8D72090F05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
129151
{F91A1EFE-5411-4100-A2D1-7C8D72090F05}.Debug|Any CPU.Build.0 = Debug|Any CPU
152+
{F91A1EFE-5411-4100-A2D1-7C8D72090F05}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
153+
{F91A1EFE-5411-4100-A2D1-7C8D72090F05}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
130154
{F91A1EFE-5411-4100-A2D1-7C8D72090F05}.Release|Any CPU.ActiveCfg = Release|Any CPU
131155
{F91A1EFE-5411-4100-A2D1-7C8D72090F05}.Release|Any CPU.Build.0 = Release|Any CPU
132156
{14026C03-B639-459C-8E23-B99E2FB68C10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
133157
{14026C03-B639-459C-8E23-B99E2FB68C10}.Debug|Any CPU.Build.0 = Debug|Any CPU
134158
{14026C03-B639-459C-8E23-B99E2FB68C10}.Release|Any CPU.ActiveCfg = Release|Any CPU
135159
{14026C03-B639-459C-8E23-B99E2FB68C10}.Release|Any CPU.Build.0 = Release|Any CPU
160+
{14026C03-B639-459C-8E23-B99E2FB68C10}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
161+
{14026C03-B639-459C-8E23-B99E2FB68C10}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
136162
{73F7605E-9D64-4719-9DBB-77DFD5E06BE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
137163
{73F7605E-9D64-4719-9DBB-77DFD5E06BE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
138164
{73F7605E-9D64-4719-9DBB-77DFD5E06BE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
139165
{73F7605E-9D64-4719-9DBB-77DFD5E06BE5}.Release|Any CPU.Build.0 = Release|Any CPU
166+
{73F7605E-9D64-4719-9DBB-77DFD5E06BE5}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
167+
{73F7605E-9D64-4719-9DBB-77DFD5E06BE5}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
140168
{1D41FF94-B814-4FF3-A565-518DC9759140}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
141169
{1D41FF94-B814-4FF3-A565-518DC9759140}.Debug|Any CPU.Build.0 = Debug|Any CPU
170+
{1D41FF94-B814-4FF3-A565-518DC9759140}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
171+
{1D41FF94-B814-4FF3-A565-518DC9759140}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
142172
{1D41FF94-B814-4FF3-A565-518DC9759140}.Release|Any CPU.ActiveCfg = Release|Any CPU
143173
{1D41FF94-B814-4FF3-A565-518DC9759140}.Release|Any CPU.Build.0 = Release|Any CPU
144174
{540B751E-41AE-4D7C-9715-57BA5C97DAD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
145175
{540B751E-41AE-4D7C-9715-57BA5C97DAD7}.Debug|Any CPU.Build.0 = Debug|Any CPU
146176
{540B751E-41AE-4D7C-9715-57BA5C97DAD7}.Release|Any CPU.ActiveCfg = Release|Any CPU
147177
{540B751E-41AE-4D7C-9715-57BA5C97DAD7}.Release|Any CPU.Build.0 = Release|Any CPU
178+
{540B751E-41AE-4D7C-9715-57BA5C97DAD7}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
179+
{540B751E-41AE-4D7C-9715-57BA5C97DAD7}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
148180
{A543C2DE-42AB-4E2F-85DC-F6BEC77E7695}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
149181
{A543C2DE-42AB-4E2F-85DC-F6BEC77E7695}.Debug|Any CPU.Build.0 = Debug|Any CPU
150182
{A543C2DE-42AB-4E2F-85DC-F6BEC77E7695}.Release|Any CPU.ActiveCfg = Release|Any CPU
151183
{A543C2DE-42AB-4E2F-85DC-F6BEC77E7695}.Release|Any CPU.Build.0 = Release|Any CPU
184+
{A543C2DE-42AB-4E2F-85DC-F6BEC77E7695}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
185+
{A543C2DE-42AB-4E2F-85DC-F6BEC77E7695}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
152186
{06C06727-7A8F-417E-9164-5C70AD96A94F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
153187
{06C06727-7A8F-417E-9164-5C70AD96A94F}.Debug|Any CPU.Build.0 = Debug|Any CPU
188+
{06C06727-7A8F-417E-9164-5C70AD96A94F}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
189+
{06C06727-7A8F-417E-9164-5C70AD96A94F}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
154190
{06C06727-7A8F-417E-9164-5C70AD96A94F}.Release|Any CPU.ActiveCfg = Release|Any CPU
155191
{06C06727-7A8F-417E-9164-5C70AD96A94F}.Release|Any CPU.Build.0 = Release|Any CPU
156192
{537C0A25-938B-4B6D-B7BA-ED16DC0F5B11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
157193
{537C0A25-938B-4B6D-B7BA-ED16DC0F5B11}.Debug|Any CPU.Build.0 = Debug|Any CPU
158194
{537C0A25-938B-4B6D-B7BA-ED16DC0F5B11}.Release|Any CPU.ActiveCfg = Release|Any CPU
159195
{537C0A25-938B-4B6D-B7BA-ED16DC0F5B11}.Release|Any CPU.Build.0 = Release|Any CPU
196+
{537C0A25-938B-4B6D-B7BA-ED16DC0F5B11}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
197+
{537C0A25-938B-4B6D-B7BA-ED16DC0F5B11}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
160198
{CC8B417E-30D6-4654-BB6A-0BC9433CDE8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
161199
{CC8B417E-30D6-4654-BB6A-0BC9433CDE8C}.Debug|Any CPU.Build.0 = Debug|Any CPU
200+
{CC8B417E-30D6-4654-BB6A-0BC9433CDE8C}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
201+
{CC8B417E-30D6-4654-BB6A-0BC9433CDE8C}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
162202
{CC8B417E-30D6-4654-BB6A-0BC9433CDE8C}.Release|Any CPU.ActiveCfg = Release|Any CPU
163203
{CC8B417E-30D6-4654-BB6A-0BC9433CDE8C}.Release|Any CPU.Build.0 = Release|Any CPU
164204
{DC897FFA-36AA-4863-B23F-0ECEF5D17839}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
165205
{DC897FFA-36AA-4863-B23F-0ECEF5D17839}.Debug|Any CPU.Build.0 = Debug|Any CPU
166206
{DC897FFA-36AA-4863-B23F-0ECEF5D17839}.Release|Any CPU.ActiveCfg = Release|Any CPU
167207
{DC897FFA-36AA-4863-B23F-0ECEF5D17839}.Release|Any CPU.Build.0 = Release|Any CPU
208+
{DC897FFA-36AA-4863-B23F-0ECEF5D17839}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
209+
{DC897FFA-36AA-4863-B23F-0ECEF5D17839}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
168210
{F6FFC943-F464-4E36-B07D-EB16D5DF6D32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
169211
{F6FFC943-F464-4E36-B07D-EB16D5DF6D32}.Debug|Any CPU.Build.0 = Debug|Any CPU
212+
{F6FFC943-F464-4E36-B07D-EB16D5DF6D32}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
213+
{F6FFC943-F464-4E36-B07D-EB16D5DF6D32}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
170214
{F6FFC943-F464-4E36-B07D-EB16D5DF6D32}.Release|Any CPU.ActiveCfg = Release|Any CPU
171215
{F6FFC943-F464-4E36-B07D-EB16D5DF6D32}.Release|Any CPU.Build.0 = Release|Any CPU
172216
{8C027074-CF8D-437F-9CE8-0F8180E496AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
173217
{8C027074-CF8D-437F-9CE8-0F8180E496AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
174218
{8C027074-CF8D-437F-9CE8-0F8180E496AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
175219
{8C027074-CF8D-437F-9CE8-0F8180E496AA}.Release|Any CPU.Build.0 = Release|Any CPU
220+
{8C027074-CF8D-437F-9CE8-0F8180E496AA}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
221+
{8C027074-CF8D-437F-9CE8-0F8180E496AA}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
176222
{ED864025-2BDC-4AED-8A53-FAB852772132}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
177223
{ED864025-2BDC-4AED-8A53-FAB852772132}.Debug|Any CPU.Build.0 = Debug|Any CPU
178224
{ED864025-2BDC-4AED-8A53-FAB852772132}.Release|Any CPU.ActiveCfg = Release|Any CPU
179225
{ED864025-2BDC-4AED-8A53-FAB852772132}.Release|Any CPU.Build.0 = Release|Any CPU
226+
{ED864025-2BDC-4AED-8A53-FAB852772132}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
227+
{ED864025-2BDC-4AED-8A53-FAB852772132}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
180228
{8C9BDA1A-6AB3-4B52-8CBB-6B702FABC292}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
181229
{8C9BDA1A-6AB3-4B52-8CBB-6B702FABC292}.Debug|Any CPU.Build.0 = Debug|Any CPU
182230
{8C9BDA1A-6AB3-4B52-8CBB-6B702FABC292}.Release|Any CPU.ActiveCfg = Release|Any CPU
183231
{8C9BDA1A-6AB3-4B52-8CBB-6B702FABC292}.Release|Any CPU.Build.0 = Release|Any CPU
232+
{8C9BDA1A-6AB3-4B52-8CBB-6B702FABC292}.DebugLocalReferences|Any CPU.ActiveCfg = Debug|Any CPU
233+
{8C9BDA1A-6AB3-4B52-8CBB-6B702FABC292}.DebugLocalReferences|Any CPU.Build.0 = Debug|Any CPU
184234
{561F6F3D-09C5-470A-83AC-F0E97BAD609B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
185235
{561F6F3D-09C5-470A-83AC-F0E97BAD609B}.Debug|Any CPU.Build.0 = Debug|Any CPU
236+
{561F6F3D-09C5-470A-83AC-F0E97BAD609B}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
237+
{561F6F3D-09C5-470A-83AC-F0E97BAD609B}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
186238
{561F6F3D-09C5-470A-83AC-F0E97BAD609B}.Release|Any CPU.ActiveCfg = Release|Any CPU
187239
{561F6F3D-09C5-470A-83AC-F0E97BAD609B}.Release|Any CPU.Build.0 = Release|Any CPU
188240
{DE321396-6459-4C02-AF61-1A2677A7CB65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
189241
{DE321396-6459-4C02-AF61-1A2677A7CB65}.Debug|Any CPU.Build.0 = Debug|Any CPU
242+
{DE321396-6459-4C02-AF61-1A2677A7CB65}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
243+
{DE321396-6459-4C02-AF61-1A2677A7CB65}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
190244
{DE321396-6459-4C02-AF61-1A2677A7CB65}.Release|Any CPU.ActiveCfg = Release|Any CPU
191245
{DE321396-6459-4C02-AF61-1A2677A7CB65}.Release|Any CPU.Build.0 = Release|Any CPU
246+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
247+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}.Debug|Any CPU.Build.0 = Debug|Any CPU
248+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}.Release|Any CPU.ActiveCfg = Release|Any CPU
249+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}.Release|Any CPU.Build.0 = Release|Any CPU
250+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}.DebugLocalReferences|Any CPU.ActiveCfg = DebugLocalReferences|Any CPU
251+
{A10B580F-D937-4EA8-8CF8-4F130FBF6C16}.DebugLocalReferences|Any CPU.Build.0 = DebugLocalReferences|Any CPU
192252
EndGlobalSection
193253
EndGlobal

pkgs/dotnet-server-sdk-consul/src/LaunchDarkly.ServerSdk.Consul.csproj

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,53 @@
2020
<IncludeSymbols>true</IncludeSymbols>
2121
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2222
<RootNamespace>LaunchDarkly.Sdk.Server.Integrations</RootNamespace>
23+
<Configurations>Debug;Release;DebugLocalReferences</Configurations>
24+
<Platforms>AnyCPU</Platforms>
25+
</PropertyGroup>
26+
27+
<PropertyGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
28+
<DefineConstants>DEBUG;TRACE</DefineConstants>
2329
</PropertyGroup>
2430

2531
<ItemGroup>
2632
<PackageReference Include="Consul" Version="[1.6.1.1,]" />
33+
</ItemGroup>
34+
35+
<!-- Use PackageReference in Debug/Release -->
36+
<ItemGroup Condition="'$(Configuration)' != 'DebugLocalReferences'">
2737
<PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.0.0,9.0.0)" />
2838
</ItemGroup>
2939

40+
<!-- Use ProjectReference in DebugLocalReferences -->
41+
<ItemGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
42+
<ProjectReference Include="../../sdk/server/src/LaunchDarkly.ServerSdk.csproj" />
43+
</ItemGroup>
44+
3045
<ItemGroup>
3146
<Folder Include="Integrations\" />
3247
</ItemGroup>
3348

49+
<ItemGroup>
50+
<Content Include="..\CHANGELOG.md">
51+
<Link>CHANGELOG.md</Link>
52+
</Content>
53+
<Content Include="..\CONTRIBUTING.md">
54+
<Link>CONTRIBUTING.md</Link>
55+
</Content>
56+
<Content Include="..\docfx.json">
57+
<Link>docfx.json</Link>
58+
</Content>
59+
<Content Include="..\index.md">
60+
<Link>index.md</Link>
61+
</Content>
62+
<Content Include="..\README.md">
63+
<Link>README.md</Link>
64+
</Content>
65+
<Content Include="..\SECURITY.md">
66+
<Link>SECURITY.md</Link>
67+
</Content>
68+
</ItemGroup>
69+
3470
<PropertyGroup>
3571
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\LaunchDarkly.ServerSdk.Consul.xml</DocumentationFile>
3672
</PropertyGroup>

pkgs/dotnet-server-sdk-dynamodb/src/LaunchDarkly.ServerSdk.DynamoDB.csproj

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,48 @@
2020
<IncludeSymbols>true</IncludeSymbols>
2121
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2222
<RootNamespace>LaunchDarkly.Sdk.Server.Integrations</RootNamespace>
23+
<Configurations>Debug;Release;DebugLocalReferences</Configurations>
24+
<Platforms>AnyCPU</Platforms>
25+
</PropertyGroup>
26+
27+
<PropertyGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
28+
<DefineConstants>DEBUG;TRACE</DefineConstants>
2329
</PropertyGroup>
2430

2531
<ItemGroup>
2632
<PackageReference Include="AWSSDK.DynamoDBv2" Version="[4.0.0.0,5.0.0.0)" />
33+
</ItemGroup>
34+
35+
<!-- Use PackageReference in Debug/Release -->
36+
<ItemGroup Condition="'$(Configuration)' != 'DebugLocalReferences'">
2737
<PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.0.0,9.0.0)" />
2838
</ItemGroup>
2939

40+
<!-- Use ProjectReference in DebugLocalReferences -->
41+
<ItemGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
42+
<ProjectReference Include="../../sdk/server/src/LaunchDarkly.ServerSdk.csproj" />
43+
</ItemGroup>
44+
<ItemGroup>
45+
<Content Include="..\CHANGELOG.md">
46+
<Link>CHANGELOG.md</Link>
47+
</Content>
48+
<Content Include="..\CONTRIBUTING.md">
49+
<Link>CONTRIBUTING.md</Link>
50+
</Content>
51+
<Content Include="..\docfx.json">
52+
<Link>docfx.json</Link>
53+
</Content>
54+
<Content Include="..\index.md">
55+
<Link>index.md</Link>
56+
</Content>
57+
<Content Include="..\README.md">
58+
<Link>README.md</Link>
59+
</Content>
60+
<Content Include="..\SECURITY.md">
61+
<Link>SECURITY.md</Link>
62+
</Content>
63+
</ItemGroup>
64+
3065
<PropertyGroup>
3166
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\LaunchDarkly.ServerSdk.DynamoDB.xml</DocumentationFile>
3267
</PropertyGroup>

pkgs/dotnet-server-sdk-redis/src/LaunchDarkly.ServerSdk.Redis.csproj

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,45 @@
2020
<IncludeSymbols>true</IncludeSymbols>
2121
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2222
<RootNamespace>LaunchDarkly.Sdk.Server.Integrations</RootNamespace>
23+
<Configurations>Debug;Release;DebugLocalReferences</Configurations>
24+
<Platforms>AnyCPU</Platforms>
25+
</PropertyGroup>
26+
27+
<PropertyGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
28+
<DefineConstants>DEBUG;TRACE</DefineConstants>
2329
</PropertyGroup>
2430

2531
<ItemGroup>
26-
<PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.0.0, 9.0.0)" />
2732
<PackageReference Include="StackExchange.Redis" Version="[2.0.513,]" />
2833
</ItemGroup>
2934

35+
<!-- Use PackageReference in Debug/Release -->
36+
<ItemGroup Condition="'$(Configuration)' != 'DebugLocalReferences'">
37+
<PackageReference Include="LaunchDarkly.ServerSdk" Version="[8.0.0, 9.0.0)" />
38+
</ItemGroup>
39+
40+
<!-- Use ProjectReference in DebugLocalReferences -->
41+
<ItemGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
42+
<ProjectReference Include="../../sdk/server/src/LaunchDarkly.ServerSdk.csproj" />
43+
</ItemGroup>
44+
<ItemGroup>
45+
<Content Include="..\CHANGELOG.md">
46+
<Link>CHANGELOG.md</Link>
47+
</Content>
48+
<Content Include="..\CONTRIBUTING.md">
49+
<Link>CONTRIBUTING.md</Link>
50+
</Content>
51+
<Content Include="..\docfx.json">
52+
<Link>docfx.json</Link>
53+
</Content>
54+
<Content Include="..\README.md">
55+
<Link>README.md</Link>
56+
</Content>
57+
<Content Include="..\SECURITY.md">
58+
<Link>SECURITY.md</Link>
59+
</Content>
60+
</ItemGroup>
61+
3062
<PropertyGroup>
3163
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\LaunchDarkly.ServerSdk.Redis.xml</DocumentationFile>
3264
</PropertyGroup>

pkgs/sdk/client/src/LaunchDarkly.ClientSdk.csproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@
3737

3838
<!-- fail if XML comments are missing or invalid -->
3939
<WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors>
40+
<Configurations>Debug;Release;DebugLocalReferences</Configurations>
41+
<Platforms>AnyCPU</Platforms>
42+
</PropertyGroup>
43+
44+
<PropertyGroup Condition="'$(Configuration)' == 'DebugLocalReferences'">
45+
<DefineConstants>DEBUG;TRACE</DefineConstants>
4046
</PropertyGroup>
4147

4248
<ItemGroup>
@@ -118,6 +124,23 @@
118124
<SubType></SubType>
119125
</Compile>
120126
</ItemGroup>
127+
<ItemGroup>
128+
<Content Include="..\CHANGELOG.md">
129+
<Link>CHANGELOG.md</Link>
130+
</Content>
131+
<Content Include="..\CONTRIBUTING.md">
132+
<Link>CONTRIBUTING.md</Link>
133+
</Content>
134+
<Content Include="..\index.md">
135+
<Link>index.md</Link>
136+
</Content>
137+
<Content Include="..\README.md">
138+
<Link>README.md</Link>
139+
</Content>
140+
<Content Include="..\toc.yml">
141+
<Link>toc.yml</Link>
142+
</Content>
143+
</ItemGroup>
121144
<PropertyGroup Condition="'$(Configuration)'=='Release'">
122145
<AssemblyOriginatorKeyFile>../../../../LaunchDarkly.ClientSdk.snk</AssemblyOriginatorKeyFile>
123146
<SignAssembly>true</SignAssembly>

0 commit comments

Comments
 (0)