{"record":{"id":"74b4700654b49a8f","repo":"clockworklabs/SpacetimeDB","slug":"looks-like-your-project-is-using-the-deprecated-n","errorCode":null,"errorMessage":"Looks like your project is using the deprecated .NET 7.0 WebAssembly bindings.\nPlease migrate your project to the new .NET 8.0 template and delete the folders: bin, bin~, obj, obj~","messagePattern":"Looks like your project is using the deprecated \\.NET 7\\.0 WebAssembly bindings\\.\nPlease migrate your project to the new \\.NET 8\\.0 template and delete the folders: bin, bin~, obj, obj~","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/cli/src/tasks/csharp.rs","lineNumber":425,"sourceCode":"        target_framework.into(),\n        \"-v\".into(),\n        \"quiet\".into(),\n    ]);\n    if matches!(build_path, CsharpBuildPath::Net8Aot | CsharpBuildPath::Net8Jit) {\n        publish_args.push(\"--no-restore\".into());\n        publish_args.push(\"--force\".into());\n        publish_args.push(format!(\"-p:{target_frameworks_override}\").into());\n    }\n    duct::cmd(\"dotnet\", publish_args).dir(project_path).run()?;\n\n    // check for the old .NET 7 path for projects that haven't migrated yet\n    let bad_output_paths = [\n        project_path.join(format!(\"bin/{config_name}/net7.0/StdbModule.wasm\")),\n        // for some reason there is sometimes a tilde here?\n        project_path.join(format!(\"bin~/{config_name}/net7.0/StdbModule.wasm\")),\n    ];\n    if bad_output_paths.iter().any(|p| p.exists()) {\n        anyhow::bail!(concat!(\n            \"Looks like your project is using the deprecated .NET 7.0 WebAssembly bindings.\\n\",\n            \"Please migrate your project to the new .NET 8.0 template and delete the folders: bin, bin~, obj, obj~\"\n        ));\n    }\n    let possible_output_paths = [\n        // Standard publish output paths (JIT and some AOT builds)\n        project_path.join(format!(\n            \"bin/{config_name}/{target_framework}/wasi-wasm/{subdir}/StdbModule.wasm\"\n        )),\n        project_path.join(format!(\n            \"bin~/{config_name}/{target_framework}/wasi-wasm/{subdir}/StdbModule.wasm\"\n        )),\n        // NativeAOT-LLVM outputs to 'native' subdirectory instead of 'publish'\n        project_path.join(format!(\n            \"bin/{config_name}/{target_framework}/wasi-wasm/{subdir}/StdbModule.wasm\"\n        )),\n        project_path.join(format!(\n            \"bin~/{config_name}/{target_framework}/wasi-wasm/{subdir}/StdbModule.wasm\"","sourceCodeStart":407,"sourceCodeEnd":443,"githubUrl":"https://github.com/clockworklabs/SpacetimeDB/blob/524b4487d949b61a07d4f39c862d1290259dfd20/crates/cli/src/tasks/csharp.rs#L407-L443","documentation":"Error \"Looks like your project is using the deprecated .NET 7.0 WebAssembly bindings.\nPlease migrate your project to the new .NET 8.0 template and delete the folders: bin, bin~, obj, obj~\" thrown in clockworklabs/SpacetimeDB.","triggerScenarios":"Thrown at crates/cli/src/tasks/csharp.rs:425 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"524b4487d949b61a07d4f39c862d1290259dfd20","analyzedAt":"2026-08-16T23:58:54.611Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}