I am new to this project and eager to test the power I am hoping it will provide me. I have been able to finally get a build to compile. However, I had to do a few things manually to get everything happy. Below is the list. Please confirm if this is expected behavior, a known issue or something else that may be unique to me.
Observations:
1) Barking about Microsoft.CSharp.dll not being found (and a couple other related errors). Located some info about that being due to use of Lamda expressions, which I do. No problem, added the explicit reference to the DLL and all good.
2) As confirmed in another recent thread, base view type is not being set for the views, just the model set in <> and no type. I have tried using my custom base view, fully qualifying the view, and even using the built-in view. Nothing produces a complete base type reference in the class and I have to manually add the base type so it can compile.
3) Additionally, none of my added namespaces in the web.config are being added to the generated class, thus tons of reference issues. Seems like web.config in neither the Views folder nor root level is being used. Adding the namespaces explicitly to each view, allows it to compile.
4) While model is explicitly set in the view, any use of the generic HTML editor helpers end up with an object reference thus the Lamda expressions are failing. Tried a couple different things, but cleanest workaround was to fully qualify the model class, even though the namespace had been added to the view already. For example, this didn't work:
@using VideoLibrary.Application.Messages
@model VideoMessage
But this did:
@using VideoLibrary.Application.Messages
@model VideoLibrary.Application.Messages.VideoMessage
Observations:
1) Barking about Microsoft.CSharp.dll not being found (and a couple other related errors). Located some info about that being due to use of Lamda expressions, which I do. No problem, added the explicit reference to the DLL and all good.
2) As confirmed in another recent thread, base view type is not being set for the views, just the model set in <> and no type. I have tried using my custom base view, fully qualifying the view, and even using the built-in view. Nothing produces a complete base type reference in the class and I have to manually add the base type so it can compile.
3) Additionally, none of my added namespaces in the web.config are being added to the generated class, thus tons of reference issues. Seems like web.config in neither the Views folder nor root level is being used. Adding the namespaces explicitly to each view, allows it to compile.
4) While model is explicitly set in the view, any use of the generic HTML editor helpers end up with an object reference thus the Lamda expressions are failing. Tried a couple different things, but cleanest workaround was to fully qualify the model class, even though the namespace had been added to the view already. For example, this didn't work:
@using VideoLibrary.Application.Messages
@model VideoMessage
But this did:
@using VideoLibrary.Application.Messages
@model VideoLibrary.Application.Messages.VideoMessage