lab icon indicating copy to clipboard operation
lab copied to clipboard

scaffolder not shown in VS2015 Update3

Open gomski opened this issue 8 years ago • 11 comments

Hi,

I cannot see the v4 scafolder in VS2015 Update3. extensions nugets scaffolder

gomski avatar Oct 09 '16 15:10 gomski

Same for me

jmseigneur avatar Nov 05 '16 12:11 jmseigneur

+1

atliuhui avatar Nov 08 '16 06:11 atliuhui

Same for me ... did any one find a solution ? Thank you.

McMounir avatar Nov 10 '16 10:11 McMounir

No I haven't found any solution and I had to code my odata V4 controller myself without scaffolding.

jmseigneur avatar Nov 10 '16 11:11 jmseigneur

ok @jmseigneur thank you for replaying, good luck

McMounir avatar Nov 10 '16 12:11 McMounir

if found a solution ... but i dont know if its gonna a work for you or not! :

  • install Microsoft.AspNet.OData => install the v5.5.1 not the v6.0.0,
  • install Microsoft.AspNet.WebApi.odata,
  • In WebApiConfig use config for OData V4 and not for OData v3, the same for the Usings System.web.OData not System.web.Http.Odata.

nuget builder using scaffolding

By doing this i was ebale to use OData V4 FEATURES, like Nested $filter in $expand [.../Customers?$expand=Orders($filter=Id eq 10)]. and ohter V4 operations ...

McMounir avatar Nov 10 '16 14:11 McMounir

Thanks for your solution screenshots!

jmseigneur avatar Nov 10 '16 18:11 jmseigneur

Thank you @McMounir! It looks like the downgrade from v6+ was the critical move here. I went from 6.0.0 to 5.9.1 and it worked.

cdunlap avatar Mar 02 '17 14:03 cdunlap

+1 - also have this issue. Thanks @McMounir for the workaround! Also went from 6.0.0 down to 5.9.1 using nuget package manager, and was successful.

MrDadaGuy avatar Mar 06 '17 15:03 MrDadaGuy

The workaround is helpful, but does MS plan to make corrections so it isn't necessary to downgrade?

shellyfld avatar Apr 07 '17 15:04 shellyfld

Downgraded here to 5.10.0 version and also worked!

cigano avatar May 30 '17 06:05 cigano