Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

499
Views
Add all files in folder (including sub dir) as embedded resource?

I have a database project, and I am embedding all files within a certain folder structure. The problem is that I also will be creating additional folders within that structure.

I can specify a specific folder to include all *.sql files and that works perfectly. However, in this instance I won't know what future folders there are. Is there any way to do a --recurse?

I was using this as a reference: How can I have an entire folder be an embedded resource in a Visual Studio project?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This should include all *.sql files recursively:

<EmbeddedResource Include="SqlFiles\**\*.sql" />

Note the ** to indicate recursion.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!