We have a web site with a lot of profile definitions. Due to the amount, we put them in a separate file (Profile.config) and referenced the file in web.config:
Resharper does not recognize these profile definitions and reports error when they are used in code:
private void SetInitialValues()
DateTimeSpanPicker.EndDateTimeChecked = !Profile.AlarmEventDistribution.EndNow;
The web site builds and runs without problems.
The error disappear if I replace the file reference in web.config with the profile definitions.
Is there a way to make Resharper recognize these definitions?
Attached is web site files to show the problem.