From 7903810280d4fe438748b1b5e207f7bba9ad8297 Mon Sep 17 00:00:00 2001 From: jweber Date: Fri, 6 May 2016 15:28:20 -0700 Subject: [PATCH] Fixing issues with nuget package building --- rakefile.rb | 4 +++- source/WcfClientProxyGenerator/WcfClientProxyGenerator.csproj | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rakefile.rb b/rakefile.rb index fa070f9..8f11434 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -96,7 +96,9 @@ end desc 'Creates the nuspec file' - nugets_pack :pack => ['build:all'] do |p| + nugets_pack :pack => ['clean', 'build:all'] do |p| + mkpath ARTIFACTS_PATH unless Dir.exists? ARTIFACTS_PATH + p.configuration = 'Release' p.target = 'net45' p.files = FileList['source/WcfClientProxyGenerator/WcfClientProxyGenerator.csproj'] diff --git a/source/WcfClientProxyGenerator/WcfClientProxyGenerator.csproj b/source/WcfClientProxyGenerator/WcfClientProxyGenerator.csproj index e6066f6..8cec896 100644 --- a/source/WcfClientProxyGenerator/WcfClientProxyGenerator.csproj +++ b/source/WcfClientProxyGenerator/WcfClientProxyGenerator.csproj @@ -30,6 +30,8 @@ TRACE prompt 4 + bin\Release\ + bin\Release\WcfClientProxyGenerator.xml NET45