Skip to content

Commit f2b347a

Browse files
committed
Don't reuse global.json
1 parent 8ef4ecd commit f2b347a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

crates/cli/src/subcommands/init.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ pub async fn exec_init_csharp(args: &ArgMatches) -> anyhow::Result<()> {
178178
(include_str!("project/csharp/StdbModule._csproj"), "StdbModule.csproj"),
179179
(include_str!("project/csharp/Lib._cs"), "Lib.cs"),
180180
(include_str!("project/csharp/_gitignore"), ".gitignore"),
181-
// Reuse global.json from modules instead of a separate template to ensure that we stay in sync.
182-
(include_str!("../../../../modules/global.json"), "global.json"),
181+
(include_str!("project/csharp/global._json"), "global.json"),
183182
];
184183

185184
// Check all dependencies
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "8.0.400",
4+
"rollForward": "latestMinor"
5+
}
6+
}

0 commit comments

Comments
 (0)