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

Constants class clash in recaptcha views (v9) #657

Closed
AaronSadlerUK opened this issue Oct 14, 2021 · 1 comment
Closed

Constants class clash in recaptcha views (v9) #657

AaronSadlerUK opened this issue Oct 14, 2021 · 1 comment

Comments

@AaronSadlerUK
Copy link

If you have another package installed which contains a public class called Constants the Umbraco Forms views for the recaptcha 2 & 3 in the default theme break, and stop the publish working in Visual Studio.

You can an error saying Constants is an ambiguous reference.

Manually fixing these files does not work, as on every build they are overwritten with the files from the nuget file.

I suggest mapping the Constants in these files using the full namespace do the fact they cannot be edited without being overwritten, additionally the copy function should check for changes before overwriting.

@AndyButland
Copy link

Good point - thanks. I've fully qualified these now, which will be in the next release.

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

No branches or pull requests

2 participants