-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Preview Image Ignored File #75
Conversation
Added a new ignored file to support preview images called sw-file-previewimage.png, following the convention from sw-file-icon.png.
Thanks @RehanSaeed have you tried it with a pattern like sw-* to see if that works? I'd like to find a general pattern that we can use here. |
I've now done some testing. Adding this line removes the images from the generated project but the icons no longer appear in the VS New Project dialogue. You get the default project icon instead.
Removing I also noticed the line below. I tried playing with it but it seems to have not effect. I haven't done much MSBuild for some time so I'm not sure what it does.
|
Ok thanks, that's what I was afraid of.
I converted the copy from the template source to obj folder to use robocopy.exe to copy the files. That property contains the cmd line parameters to robocopy.exe for overall excludes like I was hoping we could get this to work w/o changes to the CreateTemplateTask but that doesn't look feasible. I think we can do the following.
I think this would be pretty easy to get added, if you agree do you think you could help? FYI making changes to TemplateBuilder sources and then testing that with SideWaffle is easy. Do the following.
To do a local end-to-end test using the nuget pkg generated from sources you can do the following.
Thoughts? |
Updated (#77) to remove _preprocess.xml from the robocopy which fixes replacements. Everything seems to be working now :) I will do some thorough testing this weekend before pushing out my ASP.NET 5 update to ASP.NET MVC Boilerplate. |
@RehanSaeed I think we can close this since your other PR was merged. Let me know if I'm wrong here. |
Excellent, Thank you! |
Added a new ignored file to support preview images called sw-file-previewimage.png, following the convention from sw-file-icon.png.