Last active
December 30, 2019 18:36
-
-
Save Nihlus/330279348697561a7002b2972ee54bbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using project '/home/jarl/Programming/EFCore.Repro/EFCore.Repro/EFCore.Repro.csproj'. | |
Using startup project '/home/jarl/Programming/EFCore.Repro/EFCore.Repro/EFCore.Repro.csproj'. | |
Writing '/home/jarl/Programming/EFCore.Repro/EFCore.Repro/obj/EFCore.Repro.csproj.EntityFrameworkCore.targets'... | |
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/tmp/tmpkVzdx4.tmp /verbosity:quiet /nologo /home/jarl/Programming/EFCore.Repro/EFCore.Repro/EFCore.Repro.csproj | |
Writing '/home/jarl/Programming/EFCore.Repro/EFCore.Repro/obj/EFCore.Repro.csproj.EntityFrameworkCore.targets'... | |
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=/tmp/tmpQuRkYT.tmp;TargetFramework=netcoreapp3.0 /verbosity:quiet /nologo /home/jarl/Programming/EFCore.Repro/EFCore.Repro/EFCore.Repro.csproj | |
dotnet build /home/jarl/Programming/EFCore.Repro/EFCore.Repro/EFCore.Repro.csproj --framework netcoreapp3.0 /verbosity:quiet /nologo | |
Build succeeded. | |
0 Warning(s) | |
0 Error(s) | |
Time Elapsed 00:00:01.43 | |
dotnet exec --depsfile /home/jarl/Programming/EFCore.Repro/EFCore.Repro/bin/Debug/netcoreapp3.0/EFCore.Repro.deps.json --additionalprobingpath /home/jarl/.nuget/packages --additionalprobingpath /usr/share/dotnet/sdk/NuGetFallbackFolder /home/jarl/.dotnet/tools/.store/dotnet-ef/2.2.6/dotnet-ef/2.2.6/tools/netcoreapp2.2/any/tools/netcoreapp2.0/any/ef.dll migrations add Test --assembly /home/jarl/Programming/EFCore.Repro/EFCore.Repro/bin/Debug/netcoreapp3.0/EFCore.Repro.dll --startup-assembly /home/jarl/Programming/EFCore.Repro/EFCore.Repro/bin/Debug/netcoreapp3.0/EFCore.Repro.dll --project-dir /home/jarl/Programming/EFCore.Repro/EFCore.Repro/ --language C# --working-dir /home/jarl/Programming/EFCore.Repro/EFCore.Repro --verbose --root-namespace EFCore.Repro | |
Using assembly 'EFCore.Repro'. | |
Using startup assembly 'EFCore.Repro'. | |
Using application base '/home/jarl/Programming/EFCore.Repro/EFCore.Repro/bin/Debug/netcoreapp3.0'. | |
Using working directory '/home/jarl/Programming/EFCore.Repro/EFCore.Repro'. | |
Using root namespace 'EFCore.Repro'. | |
Using project directory '/home/jarl/Programming/EFCore.Repro/EFCore.Repro/'. | |
Finding DbContext classes... | |
Finding IDesignTimeDbContextFactory implementations... | |
Finding application service provider... | |
Finding IWebHost accessor... | |
No entry point was found for assembly 'EFCore.Repro'. | |
No application service provider was found. | |
Finding DbContext classes in the project... | |
Found DbContext 'ReproDatabaseContext'. | |
Using context 'ReproDatabaseContext'. | |
System.IO.FileLoadException: Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) | |
File name: 'System.ComponentModel.Annotations, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' | |
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) | |
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) | |
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) | |
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) | |
at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable) | |
at System.Attribute.InternalIsDefined(PropertyInfo element, Type attributeType, Boolean inherit) | |
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NotMappedMemberAttributeConvention.Apply(InternalEntityTypeBuilder entityTypeBuilder) | |
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.ImmediateConventionScope.OnEntityTypeAdded(InternalEntityTypeBuilder entityTypeBuilder) | |
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.RunVisitor.VisitOnEntityTypeAdded(OnEntityTypeAddedNode node) | |
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.ConventionVisitor.VisitConventionScope(ConventionScope node) | |
at Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.ConventionDispatcher.ConventionBatch.Run() | |
at Microsoft.EntityFrameworkCore.Metadata.Internal.InternalModelBuilder.Entity(TypeIdentity& type, ConfigurationSource configurationSource, Boolean allowOwned, Boolean throwOnQuery) | |
at Microsoft.EntityFrameworkCore.Metadata.Internal.InternalModelBuilder.Entity(Type type, ConfigurationSource configurationSource, Boolean allowOwned, Boolean throwOnQuery) | |
at Microsoft.EntityFrameworkCore.ModelBuilder.Entity(Type type) | |
at Microsoft.EntityFrameworkCore.Infrastructure.ModelCustomizer.FindSets(ModelBuilder modelBuilder, DbContext context) | |
at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelCustomizer.FindSets(ModelBuilder modelBuilder, DbContext context) | |
at Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelCustomizer.Customize(ModelBuilder modelBuilder, DbContext context) | |
at Microsoft.EntityFrameworkCore.Infrastructure.ModelSource.CreateModel(DbContext context, IConventionSetBuilder conventionSetBuilder, IModelValidator validator) | |
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) | |
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) | |
at System.Lazy`1.CreateValue() | |
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.CreateModel() | |
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.get_Model() | |
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope) | |
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProviderEngineScope scope) | |
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProviderEngineScope scope) | |
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) | |
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) | |
at Microsoft.EntityFrameworkCore.DbContext.get_DbContextDependencies() | |
at Microsoft.EntityFrameworkCore.DbContext.get_InternalServiceProvider() | |
at Microsoft.EntityFrameworkCore.Internal.InternalAccessorExtensions.GetService[TService](IInfrastructure`1 accessor) | |
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory) | |
at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType) | |
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType) | |
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType) | |
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0() | |
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) | |
Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment