diff --git a/.drone,yml b/.drone,yml
new file mode 100644
index 0000000..b471a16
--- /dev/null
+++ b/.drone,yml
@@ -0,0 +1,38 @@
+kind: pipeline
+name: default
+
+steps:
+ - name: build
+ image: mcr.microsoft.com/dotnet/sdk:8.0
+ settings:
+ nuget_apikey:
+ from_secret: drone_release
+ nuget_uri: https://git.ivasoft.cz/api/packages/Ivasoft/nuget/index.json
+ commands:
+ - dotnet build --configuration Release DllExports/DllExports.csproj
+ - dotnet build --configuration Release DllExports.MSBuild/DllExports.MSBuild.csproj
+ - dotnet pack --configuration Release DllExports.MSBuild/DllExports.MSBuild.csproj
+ ## Following is based on build.ps1
+ - unzip -d DllExports.MSBuild/bin/Release/nupkg DllExports.MSBuild/bin/Release/IvDllExports.0.1.1.nupkg
+ - cp -r DllExports.MSBuild/bin/Release/nupkg/lib DllExports.MSBuild/bin/Release/nupkg/tasks
+ - find DllExports.MSBuild/bin/Release/nupkg/lib ! -name 'DllExports.dll' -type f -exec rm -f {} +
+ # Tasks are not supported on netstandard2.0
+ - rm -rf DllExports.MSBuild/bin/Release/nupkg/tasks/netstandard2.0
+ # We don't need libs for net472 and net5.0
+ - rm -rf DllExports.MSBuild/bin/Release/nupkg/lib/net472
+ - rm -rf DllExports.MSBuild/bin/Release/nupkg/lib/net5.0
+ - sed -i -E '/(NETFramework4.7.2|net5.0)/d' DllExports.MSBuild/bin/Release/nupkg/IvDllExports.nuspec
+ # Re-pack
+ - rm DllExports.MSBuild/bin/Release/IvDllExports.0.1.1.nupkg
+ - (cd DllExports.MSBuild/bin/Release/nupkg; zip -r ../IvDllExports.0.1.1.nupkg ./)
+
+ - name: release
+ image: mcr.microsoft.com/dotnet/sdk:8.0
+ settings:
+ nuget_apikey:
+ from_secret: drone_release
+ nuget_uri: https://git.ivasoft.cz/api/packages/Ivasoft/nuget/index.json
+ commands:
+ - dotnet nuget push DllExports.MSBuild/bin/Release/IvDllExports.0.1.1.nupkg --api-key $$PLUGIN_NUGET_APIKEY --source $$PLUGIN_NUGET_URI --skip-duplicate
+ when:
+ event: tag
\ No newline at end of file
diff --git a/DllExports.MSBuild/DllExports.MSBuild.csproj b/DllExports.MSBuild/DllExports.MSBuild.csproj
index 6ff7db4..aaa68c3 100644
--- a/DllExports.MSBuild/DllExports.MSBuild.csproj
+++ b/DllExports.MSBuild/DllExports.MSBuild.csproj
@@ -6,8 +6,8 @@