msbuild - Wildcard pattern does not match literal dot? -


in targets file, have following item group:

<itemgroup>   <mygroup include="$(msbuildthisfiledirectory)..\dist\**\*.*">   </mygroup> </itemgroup> 

i want match files have extension (contain dot in name), pattern above matching files have no extension (e.g., readme). doing wrong?

you may in 2 steps :

<itemgroup>   <tmp include="$(msbuildthisfiledirectory)..\dist\**\*.*">   </tmp>   <mygroup include="@(tmp)" condition="'%(tmp.extension)' != ''" >   </mygroup> </itemgroup>  <message text="@(mygroup)" /> <message text="@(tmp)" /> 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -