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
3 changes: 2 additions & 1 deletion .devcontainer/backend/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
}
},
"containerEnv": {
"DOTNET_LOCAL_DEV": "1",
"DOTNET_LOCAL_DEV": "${localEnv:DOTNET_LOCAL_DEV:1}",
"DOTNET_LOCAL_DEV_SINGLE_TARGET_FRAMEWORK": "${localEnv:DOTNET_LOCAL_DEV_SINGLE_TARGET_FRAMEWORK:0}",
"CLAUDE_CONFIG_DIR": "/home/vscode/.claude",
"HISTFILE": "/home/vscode/.commandhistory/.zsh_history"
},
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
</PropertyGroup>

<!--
Local dev only builds the single target framework that local runs and tests use.
Single-target local dev only builds the target framework that local runs and tests use.
Comment thread
tobias-tengler marked this conversation as resolved.
Resolved
Analyzers and source generators keep netstandard2.0 so they still load into Roslyn.
-->
<PropertyGroup Condition="'$(DOTNET_LOCAL_DEV)' == '1'">
<PropertyGroup Condition="'$(DOTNET_LOCAL_DEV_SINGLE_TARGET_FRAMEWORK)' == '1'">
<LocalDevTargetFramework>net10.0</LocalDevTargetFramework>
<TargetFrameworks>$(LocalDevTargetFramework)</TargetFrameworks>
<ExtendedTargetFrameworks>$(LocalDevTargetFramework);$(AnalyzerTargetFramework)</ExtendedTargetFrameworks>
Expand Down
Loading