Skip to content
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

--file-extensions-to-ignore option doesn't seem to be working #23

Open
henpatel opened this issue Nov 4, 2021 · 0 comments
Open

--file-extensions-to-ignore option doesn't seem to be working #23

henpatel opened this issue Nov 4, 2021 · 0 comments

Comments

@henpatel
Copy link

henpatel commented Nov 4, 2021

Hello!
Thank you for creating this project and making it available as Free and MIT license. This was really helpful for me to create templates for microservices.

While using it, I found multiple issues:

  1. --file-extensions-to-ignore option isn't quite working. I tried it with value ".csproj.user" option but it seemed files were still being copied. It didn't work with commandline arguments or from-file with config file option.

  2. when using solution-snapshotter.exe from-file input.config if the input.config has below as the value for folders to ignore, then it doesn't really ignore them. I tried the below possible variations and non of them worked.
    <add key="folders to ignore" value="bin, packages, obj, lib, .git, .vs, node_modules, TestResults" />
    another way
    <add key="folders to ignore" value="bin packages obj lib .git .vs node_modules TestResults" />
    May be there is another way to use it. Can you please clarify if am I doing something wrong?

  3. For some reason all the files that get copied, I noticed the UTF-8 bom gets removed hence the stylecop warning comes up. I verified that the original solution does have the UTF-8 bom but once I install the template and try to create a solution from it, all the files get installed with utf-8 encoding instead of UTF-8 BOM. It is easier to fix but wanted to bring it up. I have code-analysis RULE: SA1412 turned on so if a consumer of the template creates the solution, by default they are not able to build the projects with success without fixing all the files with UTF-8 BOM.

Once again, thank you so much for such useful utility. Feel free to reach out to me if you have any questions or suggestions or comments on me using it incorrectly, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant