diff --git a/packaging/nuget/package.gsl b/packaging/nuget/package.gsl
index b0e31c2e..9ec8d4c6 100644
--- a/packaging/nuget/package.gsl
+++ b/packaging/nuget/package.gsl
@@ -176,14 +176,9 @@
$\(MSBuildThisFileDirectory)bin\\;%(AdditionalLibraryDirectories)
-
-
- SODIUM_EXPORT=__declspec(dllimport);DLL_EXPORT;%(PreprocessorDefinitions)
-
-
- SODIUM_EXPORT=;SODIUM_STATIC;%(PreprocessorDefinitions)
+ SODIUM_STATIC;%(PreprocessorDefinitions)
diff --git a/packaging/nuget/package.targets b/packaging/nuget/package.targets
index c27ef37a..4afc268d 100644
--- a/packaging/nuget/package.targets
+++ b/packaging/nuget/package.targets
@@ -20,14 +20,9 @@
$(MSBuildThisFileDirectory)bin\;%(AdditionalLibraryDirectories)
-
-
- SODIUM_EXPORT=__declspec(dllimport);DLL_EXPORT;%(PreprocessorDefinitions)
-
-
- SODIUM_EXPORT=;SODIUM_STATIC;%(PreprocessorDefinitions)
+ SODIUM_STATIC;%(PreprocessorDefinitions)