Browse Source

C#: Fix uses of old Configuration names

Ignacio Etcheverry 5 years ago
parent
commit
66c0b7ce98
2 changed files with 4 additions and 4 deletions
  1. 3 3
      modules/mono/godotsharp_dirs.cpp
  2. 1 1
      modules/mono/mono_gd/gd_mono_assembly.cpp

+ 3 - 3
modules/mono/godotsharp_dirs.cpp

@@ -49,13 +49,13 @@ namespace GodotSharpDirs {
 
 String _get_expected_build_config() {
 #ifdef TOOLS_ENABLED
-	return "Tools";
+	return "Debug";
 #else
 
 #ifdef DEBUG_ENABLED
-	return "Debug";
+	return "ExportDebug";
 #else
-	return "Release";
+	return "ExportRelease";
 #endif
 
 #endif

+ 1 - 1
modules/mono/mono_gd/gd_mono_assembly.cpp

@@ -78,7 +78,7 @@ void GDMonoAssembly::fill_search_dirs(Vector<String> &r_search_dirs, const Strin
 	if (p_custom_config.empty()) {
 		r_search_dirs.push_back(GodotSharpDirs::get_res_assemblies_dir());
 	} else {
-		String api_config = p_custom_config == "Release" ? "Release" : "Debug";
+		String api_config = p_custom_config == "ExportRelease" ? "Release" : "Debug";
 		r_search_dirs.push_back(GodotSharpDirs::get_res_assemblies_base_dir().plus_file(api_config));
 	}