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

pac package init does not generate .gitignore #273

Open
filcole opened this issue Aug 22, 2022 · 3 comments
Open

pac package init does not generate .gitignore #273

filcole opened this issue Aug 22, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@filcole
Copy link

filcole commented Aug 22, 2022

I just created a new package deployer project using pac package init and realised that a .gitignore file was not created. pac plugin init and pac pcf init both create .gitignore. It would be good if a .gitignore was also created for packages.

Here's the .gitignore created for plugins

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# msbuild output directories
/bin
/obj

# vs intermediate directory
/.vs

Occurs in pac 1.17.5

@davidjenni davidjenni added the bug Something isn't working label Aug 30, 2022
@davidjenni
Copy link
Member

davidjenni commented Aug 30, 2022

tracking bug AB#2901247

@joem-msft
Copy link
Contributor

This project uses standard dotnet output folders. Simply make a call to dotnet new gitignore.

@filcole
Copy link
Author

filcole commented Sep 1, 2022

This project uses standard dotnet output folders. Simply make a call to dotnet new gitignore.

Thanks for the info. I will use that, but I do think that .gitignore should be created as part of pac package init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants