Last post Jul 24, 2020 09:36 AM by yij sun
Jul 23, 2020 05:44 AM|sking|LINK
Why doesn't vs2019 publish all the folders and their contents? I see if I right click on one of the unpublished folder I can publish the folder. My question, why isn't the folder published automatically with the rest of the site when I go to publish the
site to a folder on my computer? Why do I have to manually right click and do this?
Jul 23, 2020 09:48 AM|PatriceSc|LINK
Some more context could help.
My first guess would be that https://docs.microsoft.com/en-us/visualstudio/ide/build-actions?view=vs-2019 is not set properly for files found in those folders (for
example being "None" rather than "Content").
Jul 24, 2020 09:36 AM|yij sun|LINK
As far as I think,you could click F4 and to check the properties and set it:
1.Build Action : this should be Content
2.Copy to Output Directory: this should be like the other file are configured