diff --git a/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeploy.csproj b/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeployCSharp.csproj similarity index 89% rename from csrc/mmdeploy/apis/csharp/MMDeploy/MMDeploy.csproj rename to csrc/mmdeploy/apis/csharp/MMDeploy/MMDeployCSharp.csproj index e605d2da37..ac140348d9 100644 --- a/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeploy.csproj +++ b/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeployCSharp.csproj @@ -4,7 +4,7 @@ netcoreapp3.1;net48; 9.0 enable - MMDeploy + MMDeployCSharp MMDeploy true true @@ -20,12 +20,12 @@ PreserveNewest true - runtimes\win-x64\native\mmdeploy_extern.dll + runtimes\win-x64\native\mmdeploy.dll - + PreserveNewest true - build\net48\MMDeploy.props + build\net48\MMDeployCSharp.props diff --git a/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeploy.props b/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeployCSharp.props similarity index 90% rename from csrc/mmdeploy/apis/csharp/MMDeploy/MMDeploy.props rename to csrc/mmdeploy/apis/csharp/MMDeploy/MMDeployCSharp.props index 1cc0130c96..f893a03766 100644 --- a/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeploy.props +++ b/csrc/mmdeploy/apis/csharp/MMDeploy/MMDeployCSharp.props @@ -3,8 +3,8 @@ $(MSBuildThisFileDirectory)..\..\runtimes - - mmdeploy_extern.dll + + mmdeploy.dll PreserveNewest diff --git a/csrc/mmdeploy/apis/csharp/MMDeploy/NativeAPIs/NativeMethods.cs b/csrc/mmdeploy/apis/csharp/MMDeploy/NativeAPIs/NativeMethods.cs index 1afcb763c9..e287232c7f 100644 --- a/csrc/mmdeploy/apis/csharp/MMDeploy/NativeAPIs/NativeMethods.cs +++ b/csrc/mmdeploy/apis/csharp/MMDeploy/NativeAPIs/NativeMethods.cs @@ -5,6 +5,6 @@ /// internal static partial class NativeMethods { - public const string DllExtern = "mmdeploy_extern"; + public const string DllExtern = "mmdeploy"; } }