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

Web.config file in View/{ProjectName}/ is not copied #40

Closed
luuksommers opened this issue Dec 6, 2018 · 2 comments
Closed

Web.config file in View/{ProjectName}/ is not copied #40

luuksommers opened this issue Dec 6, 2018 · 2 comments
Milestone

Comments

@luuksommers
Copy link
Contributor

luuksommers commented Dec 6, 2018

When you put a web.config in Views/{ProjectName}/ it is not copied to the output. In the Sample you can reproduce by adding a web.config file like:

image

in Feature1. With version 1.0.0.0 it is working though, but when you update to the latest, it's broken.

@richardszalay
Copy link
Owner

Thanks for letting me know. Web.config files are ignored to prevent issues with transforms, but it should probably by only ignore files that conflict with transforms.

@angelakim
Copy link

Using the latest code provided the web.config files are still not being included in the Views folders.
By removing OR '%(DestinationRelativePath)' == 'Views$(ProjectConfigFileName)' from the _HelixModuleWebConfigsToExclude condition in the CollectFilesFromHelixModules target we were able to have web.config files from the Views folder included in the build artifact.
Did I miss a switch that needed be set to prevent the Views web.config files from being excluded?
Thank you for your assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants