Dotnet-Boxed / Templates

.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
https://RehanSaeed.com
MIT License
3.41k stars 492 forks source link

Error while generating project. #102

Closed parmarnishant closed 8 years ago

parmarnishant commented 8 years ago

Features

HttpException Selected: DefaultIsSelected: Referrer Meta Tag Selected: DefaultIsSelected: Humans.txt Selected: DefaultIsSelected: Search Selected: DefaultIsSelected: Atom Feed Selected: DefaultIsSelected: Web-App Capable Selected: DefaultIsSelected: Windows 8.1 IE 11/Edge Favicon Selected: DefaultIsSelected: Windows 8 IE 10 Favicon Selected: DefaultIsSelected: Google TV Favicon Selected: DefaultIsSelected: Android Chrome M39+ Selected: DefaultIsSelected: Android Chrome M36 to M38 Favicon Selected: DefaultIsSelected: Apple Mac Safari Favicon Selected: DefaultIsSelected: Apple iOS Favicons Selected: DefaultIsSelected: Twitter Cards Selected: DefaultIsSelected: Open Graph Selected: DefaultIsSelected: Author Meta Tag Selected: DefaultIsSelected: Contact Page Selected: DefaultIsSelected: About Page Selected: DefaultIsSelected: Redirect to Canonical URL Selected: DefaultIsSelected: Sitemap Selected: DefaultIsSelected: Robots.txt Selected: DefaultIsSelected: Glimpse Selected: DefaultIsSelected: Application Insights Selected: DefaultIsSelected: NWebSec Selected: DefaultIsSelected: HTTPS Everywhere Selected: DefaultIsSelected: CSHTML Minification (Experimental) Selected: DefaultIsSelected: XML Formatter None - True DataContractSerializer - False XmlSerializer - False Both - False

JSON Serializer Settings Camel-Case (e.g. camelCase) - True Title-Case (e.g. TitleCase) - False

JavaScript Test Framework Mocha - True Jasmine - False None - False

JavaScript Hint (JS-Hint) Selected: DefaultIsSelected: JavaScript Code Style (JSCS) Selected: DefaultIsSelected: TypeScript Selected: DefaultIsSelected: Front End Framework Bootstrap - True Zurb Foundation - False Semantic UI - False

Target Framework .NET Core - True .NET Framework 4.6.1 - True

Set the package.json or bower.json package name Selected: DefaultIsSelected: Set the AssemblyCopyright Selected: DefaultIsSelected: Set Random Ports Selected: DefaultIsSelected: Services Selected: DefaultIsSelected: JavaScript Lint Selected: DefaultIsSelected:

Exceptions

System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The directory is not empty.

at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at Boilerplate.Wizard.Services.FileSystemService.<>cDisplayClass13_0.b2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Boilerplate.Wizard.Services.FileSystemService.d13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Boilerplate.Wizard.ViewModels.MainViewModel.d__19.MoveNext() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.IO.IOException: The directory is not empty.

at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost) at Boilerplate.Wizard.Services.FileSystemService.<>cDisplayClass13_0.b2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Boilerplate.Wizard.Services.FileSystemService.d13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Boilerplate.Wizard.ViewModels.MainViewModel.d__19.MoveNext()<---

RehanSaeed commented 8 years ago

Thanks for reporting this issue. Based on the error, it's trying to delete a directory in the project based on your feature selections. However, it is unable to do so because something in the directory is being used or it does not have write permissions to the directory. Is there anything you can think of that might have caused this?

RehanSaeed commented 8 years ago

Feel free to reopen this if you have more info.