diff --git a/native/cocos/2d/libcocos2d.vcxproj b/native/cocos/2d/libcocos2d.vcxproj
index c8055399b6..b0fb6eca5e 100644
--- a/native/cocos/2d/libcocos2d.vcxproj
+++ b/native/cocos/2d/libcocos2d.vcxproj
@@ -103,7 +103,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32\libs\Debug\*.*" "$(OutDir)"$(TargetDir)$(TargetName).lib
MachineX86
cocos2d.def
- sqlite3.lib;libcurl_imp.lib;websockets.lib;libmpg123.lib;libogg.lib;libvorbis.lib;libvorbisfile.lib;OpenAL32.lib;version.lib;libwebp.lib;%(AdditionalDependencies)
+ sqlite3.lib;libcrypto.lib;libssl.lib;libcurl.lib;websockets.lib;libmpg123.lib;libogg.lib;libvorbis.lib;libvorbisfile.lib;OpenAL32.lib;version.lib;libwebp.lib;%(AdditionalDependencies)
@@ -135,7 +135,7 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32\libs\*.*" "$(OutDir)"
- sqlite3.lib;libcurl_imp.lib;websockets.lib;libmpg123.lib;libogg.lib;libvorbis.lib;libvorbisfile.lib;OpenAL32.lib;version.lib;libwebp.lib;%(AdditionalDependencies)
+ sqlite3.lib;libcrypto.lib;libssl.lib;libcurl.lib;websockets.lib;libmpg123.lib;libogg.lib;libvorbis.lib;libvorbisfile.lib;OpenAL32.lib;version.lib;libwebp.lib;%(AdditionalDependencies)
$(OutDir)$(ProjectName).dll
$(OutDir);%(AdditionalLibraryDirectories)
LIBCMTD.lib;%(IgnoreSpecificDefaultLibraries)
diff --git a/native/cocos/network/HttpClient-apple.mm b/native/cocos/network/HttpClient-apple.mm
index c057509cd3..aa9619a4e5 100644
--- a/native/cocos/network/HttpClient-apple.mm
+++ b/native/cocos/network/HttpClient-apple.mm
@@ -507,7 +507,7 @@ void HttpClient::processResponse(HttpResponse* response, char* responseMessage)
break;
default:
- CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
+ CCASSERT(false , "CCHttpClient: unknown request type, only GET,POST,PUT or DELETE is supported");
break;
}
diff --git a/native/cocos/network/HttpClient.cpp b/native/cocos/network/HttpClient.cpp
index 94921ee21c..b196aa074f 100644
--- a/native/cocos/network/HttpClient.cpp
+++ b/native/cocos/network/HttpClient.cpp
@@ -558,7 +558,7 @@ void HttpClient::processResponse(HttpResponse* response, char* responseMessage)
break;
default:
- CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
+ CCASSERT(false , "CCHttpClient: unknown request type, only GET,POST,PUT or DELETE is supported");
break;
}
diff --git a/native/templates/js-template-binary/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj b/native/templates/js-template-binary/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
index f8078d221f..f552c65c82 100755
--- a/native/templates/js-template-binary/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
+++ b/native/templates/js-template-binary/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
@@ -112,7 +112,7 @@ xcopy /Y /Q "$(COCOS_X_ROOT)\prebuilt\win32\*.*" "$(OutDir)"
- libcurl_imp.lib;mozjs-33.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)
+ mozjs-33.lib;%(AdditionalDependencies)
$(OutDir);%(AdditionalLibraryDirectories)
libcmt.lib
true
@@ -183,7 +183,7 @@ xcopy /Y /Q "$(COCOS_X_ROOT)\prebuilt\win32\*.*" "$(OutDir)"
- libcurl_imp.lib;mozjs-33.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)
+ mozjs-33.lib;%(AdditionalDependencies)
$(OutDir);%(AdditionalLibraryDirectories)
libcmt.lib
Windows
diff --git a/native/templates/js-template-default/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj b/native/templates/js-template-default/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
index 124400545e..3781df0101 100755
--- a/native/templates/js-template-default/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
+++ b/native/templates/js-template-default/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
@@ -103,7 +103,7 @@
- libcurl_imp.lib;mozjs-33.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)
+ mozjs-33.lib;%(AdditionalDependencies)
$(OutDir);%(AdditionalLibraryDirectories)
true
Windows
@@ -166,7 +166,7 @@ copy "$(ProjectDir)..\..\..\project.json" "$(OutDir)\" /Y
- libcurl_imp.lib;mozjs-33.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)
+ mozjs-33.lib;%(AdditionalDependencies)
$(OutDir);%(AdditionalLibraryDirectories)
Windows
MachineX86
diff --git a/native/templates/js-template-link/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj b/native/templates/js-template-link/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
index c4cd8c7495..14bedcd75c 100755
--- a/native/templates/js-template-link/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
+++ b/native/templates/js-template-link/frameworks/runtime-src/proj.win32/HelloJavascript.vcxproj
@@ -103,7 +103,7 @@
- libcurl_imp.lib;mozjs-33.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)
+ mozjs-33.lib;%(AdditionalDependencies)
$(OutDir);%(AdditionalLibraryDirectories)
true
Windows
@@ -166,7 +166,7 @@ copy "$(ProjectDir)..\..\..\project.json" "$(OutDir)\" /Y
- libcurl_imp.lib;mozjs-33.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)
+ mozjs-33.lib;%(AdditionalDependencies)
$(OutDir);%(AdditionalLibraryDirectories)
Windows
MachineX86