diff --git a/Gruntfile.js b/Gruntfile.js
index b1b8c7a..9d1285b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -89,7 +89,7 @@ module.exports = function(grunt) {
author: '<%= pkgMeta.author %>',
authorUrl: '<%= pkgMeta.authorUrl %>',
- files: [{ path: '..\\..\\..\\<%= dest %>\\**', target: 'content\\App_Plugins\\Archetype'}]
+ files: [{ path: '..\\..\\..\\<%= package_temp_dir %>\\nuget\\**', target: 'content\\App_Plugins\\Archetype'}]
}
},
'files': {
@@ -120,7 +120,7 @@ module.exports = function(grunt) {
},
nuget_prepare: {
files: [
- {expand: true, cwd: '<%= dest %>/', src: ['**/*', '!bin', '!bin/*'], dest: '<%= package_temp_dir %>/nuget/content/', flatten: false},
+ {expand: true, cwd: '<%= dest %>/', src: ['**/*', '!bin', '!bin/*'], dest: '<%= package_temp_dir %>/nuget/content/App_Plugins/Archetype', flatten: false},
{expand: true, cwd: '<%= dest %>/', src: ['bin/**/*.dll'], dest: '<%= package_temp_dir %>/nuget/lib/net40/', flatten: true}
]
},
diff --git a/pkg/nuget/package.nuspec b/pkg/nuget/package.nuspec
index 6baaa87..f414221 100644
--- a/pkg/nuget/package.nuspec
+++ b/pkg/nuget/package.nuspec
@@ -12,9 +12,4 @@
http://github.com/imulus/archetype/raw/master/assets/logo.png
<%= licenseUrl %>
-
- <% files.forEach(function(file) { %>
-
- <% }); %>
-
\ No newline at end of file