You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some classes in a folder which I use across a whole website. Finally got around to upgrading from 1.0.0-beta.48 and it's now causing compilation issues such as:
[ERRO] Content/PostProcess » RenderContentPostProcessTemplates » ExecuteIf » ExecuteIf » RenderRazor » services/website-translation.cshtml(238,13): error CS0246: The type or namespace name 'Faq' could not be found (are you missing a using directive or an assembly reference?)
I'm sure it's to do with the move from .props to .targets. Nothing I'm using is in any of the reserved folder names. Is there something I should be doing differently now?
The text was updated successfully, but these errors were encountered:
It might indeed have something to do with the new .targets file - as it turns out, the .props file was never actually being applied as intended, so switching to .targets lights up functionality that was always supposed to be working.
Where is the type Faq defined in your project? Does it happen to be in a folder named extensions (see #994)? And what does the Razor code at and around the error in services/website-translation.cshtml look like?
I am sure there is probably a million better ways of doing this, but when I originally designed this I just wanted to take the nice stuff from Razor and have them statically compile.
Hi,
I have some classes in a folder which I use across a whole website. Finally got around to upgrading from 1.0.0-beta.48 and it's now causing compilation issues such as:
[ERRO] Content/PostProcess » RenderContentPostProcessTemplates » ExecuteIf » ExecuteIf » RenderRazor » services/website-translation.cshtml(238,13): error CS0246: The type or namespace name 'Faq' could not be found (are you missing a using directive or an assembly reference?)
I'm sure it's to do with the move from .props to .targets. Nothing I'm using is in any of the reserved folder names. Is there something I should be doing differently now?
The text was updated successfully, but these errors were encountered: