efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Could not load assembly 'TestProj5'. Ensure it is referenced by the startup project 'TestProj5'.

Open tpspencer opened this issue 10 years ago • 6 comments

Trying to get EFC for SQLite working. I got it working on one test project, then tried to reproduce it in 3 additional new test projects and am getting this error.

My db context is in the Model's folder in the same namespace as the project.

I am following the example in docs website. https://docs.efproject.net/en/latest/platforms/uwp/getting-started.html

efc1 efc2 efc3 efc4

tpspencer avatar Sep 01 '16 23:09 tpspencer

Any thoughts on this issue? It would be nice to start working with efc now with my Template10 projects.

tpspencer avatar Sep 06 '16 04:09 tpspencer

x64 was not supported by the Preview 2 tooling. Select x86 as the solution platform before running tools.

image

This issue should be resolved by our new tooling architecture. (See issue #5334)

bricelam avatar Sep 06 '16 15:09 bricelam

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.

divega avatar Sep 07 '16 18:09 divega

Select x86 as the solution platform before running tools

Thank you that worked.

tpspencer avatar Sep 07 '16 21:09 tpspencer

In my case I had to remove:

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
   <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>

from my csproj project file.

plipowczan avatar May 26 '20 13:05 plipowczan

In my case I had to remove:

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
   <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>

from my csproj project file.

thx this works for me

JoinDevv avatar Dec 20 '20 19:12 JoinDevv