No context type was found in the assembly 'WebApi.Service'. EF 6
up vote
0
down vote
favorite
Why Enable-Migrations doesn't work:
I also tried
Enable-Migrations -ProjectName WebApi.Service -StartUpProjectName Webapi -Verbose
but it didn't work.
entity-framework
add a comment |
up vote
0
down vote
favorite
Why Enable-Migrations doesn't work:
I also tried
Enable-Migrations -ProjectName WebApi.Service -StartUpProjectName Webapi -Verbose
but it didn't work.
entity-framework
1
Please, do not use pictures for error description.
– Alexander
Nov 10 at 10:01
Possible duplicate of EF 5 Enable-Migrations : No context type was found in the assembly
– Alexander
Nov 10 at 10:03
Just callEnable-Migrations
for project that contains definition of your context class.
– Alexander
Nov 10 at 10:05
If this is not the project where the context is you need to define that project in the command tha you entered.
– Llazar
Nov 10 at 13:35
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Why Enable-Migrations doesn't work:
I also tried
Enable-Migrations -ProjectName WebApi.Service -StartUpProjectName Webapi -Verbose
but it didn't work.
entity-framework
Why Enable-Migrations doesn't work:
I also tried
Enable-Migrations -ProjectName WebApi.Service -StartUpProjectName Webapi -Verbose
but it didn't work.
entity-framework
entity-framework
edited Nov 10 at 15:54
user6910411
31.6k76592
31.6k76592
asked Nov 10 at 9:26
dhrumil shah
11
11
1
Please, do not use pictures for error description.
– Alexander
Nov 10 at 10:01
Possible duplicate of EF 5 Enable-Migrations : No context type was found in the assembly
– Alexander
Nov 10 at 10:03
Just callEnable-Migrations
for project that contains definition of your context class.
– Alexander
Nov 10 at 10:05
If this is not the project where the context is you need to define that project in the command tha you entered.
– Llazar
Nov 10 at 13:35
add a comment |
1
Please, do not use pictures for error description.
– Alexander
Nov 10 at 10:01
Possible duplicate of EF 5 Enable-Migrations : No context type was found in the assembly
– Alexander
Nov 10 at 10:03
Just callEnable-Migrations
for project that contains definition of your context class.
– Alexander
Nov 10 at 10:05
If this is not the project where the context is you need to define that project in the command tha you entered.
– Llazar
Nov 10 at 13:35
1
1
Please, do not use pictures for error description.
– Alexander
Nov 10 at 10:01
Please, do not use pictures for error description.
– Alexander
Nov 10 at 10:01
Possible duplicate of EF 5 Enable-Migrations : No context type was found in the assembly
– Alexander
Nov 10 at 10:03
Possible duplicate of EF 5 Enable-Migrations : No context type was found in the assembly
– Alexander
Nov 10 at 10:03
Just call
Enable-Migrations
for project that contains definition of your context class.– Alexander
Nov 10 at 10:05
Just call
Enable-Migrations
for project that contains definition of your context class.– Alexander
Nov 10 at 10:05
If this is not the project where the context is you need to define that project in the command tha you entered.
– Llazar
Nov 10 at 13:35
If this is not the project where the context is you need to define that project in the command tha you entered.
– Llazar
Nov 10 at 13:35
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
draft saved
draft discarded
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237601%2fno-context-type-was-found-in-the-assembly-webapi-service-ef-6%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Please, do not use pictures for error description.
– Alexander
Nov 10 at 10:01
Possible duplicate of EF 5 Enable-Migrations : No context type was found in the assembly
– Alexander
Nov 10 at 10:03
Just call
Enable-Migrations
for project that contains definition of your context class.– Alexander
Nov 10 at 10:05
If this is not the project where the context is you need to define that project in the command tha you entered.
– Llazar
Nov 10 at 13:35