diff --git a/build.cake b/build.cake
index 53b7106b..401706a9 100644
--- a/build.cake
+++ b/build.cake
@@ -91,8 +91,12 @@ Task("Pack")
.IsDependentOn("Test")
.Does(() =>
{
- GitLink3("./source/Halibut/bin/Release/net45/Halibut.pdb");
- GitLink3("./source/Halibut/bin/Release/netstandard1.5/Halibut.pdb");
+ var pdbs = GetFiles($"./source/Halibut/bin/{configuration}/**/Halibut.pdb");
+ foreach(var pdb in pdbs)
+ {
+ GitLink3(pdb);
+ }
+
DotNetCorePack("./source/Halibut", new DotNetCorePackSettings
{
Configuration = configuration,
diff --git a/global.json b/global.json
deleted file mode 100644
index 4d61027a..00000000
--- a/global.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "sdk": {
- "version": "2.0.0"
- }
-}
\ No newline at end of file
diff --git a/source/Halibut/Halibut.csproj b/source/Halibut/Halibut.csproj
index bb5f5985..3e02f613 100644
--- a/source/Halibut/Halibut.csproj
+++ b/source/Halibut/Halibut.csproj
@@ -12,6 +12,7 @@
https://github.com/OctopusDeploy/Halibut/
https://github.com/OctopusDeploy/Halibut/blob/master/LICENSE
false
+ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
True
@@ -41,15 +42,4 @@
$(DefineConstants);NET40;HAS_REAL_PROXY;SUPPORTS_WEB_SOCKET_CLIENT
-
-
- true
- lib\net45\
-
-
- true
- lib\netstandard1.5\
-
-
-