Convert to webapp not working for me
My ascx was having an issue adding new items to the designer so I deleted the designer with the intent of re-adding via the Convert To Web Application right-click context menu.
However I get this error: screencast.com/.../DQaATyHEJ
Found the Culprit(s)
When I add these lines to the ascx it craps out
Just a wild guest - the <sitefinity:> prefix is by default registered in your web.config like this:
<add tagPrefix="sitefinity" namespace="Telerik.Sitefinity.Web.UI.Fields" assembly="Telerik.Sitefinity" />
Hmm interesting...this is what I have defined
No, I don't think these should cause any conflicts. I would like to ask a logical question - does this problem happen on some other web application project or just in Sitefinity? It looks to me like this is not a Sitefinity issue.
Well...I mean it's clearly VS2010 doing something strange, but it ONLY happens when you have a phsyical JS\CSS Embedd control on the page.
Like if you put one on the page, then try to add another control after it (Label Control for example), it doesn't work. The Label doesnt get added to the .designer. If you then delete the JS\CSS Embedd controls, the label is then back into the .desiger file.
I was able to reproduce the issue. I'm not sure what is causing this however. The type initializer for the Res class is a private static constructor with not much code in it. I'm sorry I can't give you a workaround at the moment. We will investigate this further.
Thank you for reporting the issue.