1

I have a package that contains some files that I want added at a solution level rather than a project level. I am able to add a folder at the solution level, but cannot determine how to add my files into to this folder.

Jay Walker
  • 4,654
  • 5
  • 47
  • 53
brunch
  • 623
  • 1
  • 6
  • 11

1 Answers1

1

You can do this by placing your code in the init.ps1 file. install.ps1 only executes with project-level packages. Because the code will be in init.ps1, it will run every time the solution loads - not just at install. so you will need to safeguard against re-execution. See this post for a code example - You'll just need to add a step to copy from the tools folder to the solution folder.

Community
  • 1
  • 1
Jay Walker
  • 4,654
  • 5
  • 47
  • 53