Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding DI.External to runtime with its history #37103

Merged
merged 12 commits into from
Jun 3, 2020

Conversation

maryamariyan
Copy link
Member

No description provided.

@tarekgh
Copy link
Member

tarekgh commented May 27, 2020

Thanks @maryamariyan for brining in these tests

@maryamariyan maryamariyan requested a review from safern May 27, 2020 23:29
@maryamariyan
Copy link
Member Author

moved files slightly so that DI tests now contain 3 folders:

  • DI.External.Tests (with its own csproj)
  • DI.Specification.Tests (used in the other two)
  • DI.Tests (with its own csproj)

@maryamariyan
Copy link
Member Author

maryamariyan commented May 28, 2020

Failures on net472:

System.IO.FileLoadException : Could not load file or assembly 'Lamar, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
   at Microsoft.Extensions.DependencyInjection.Specification.LamarDependencyInjectionSpecificationTests.CreateServiceProviderImpl(IServiceCollection serviceCollection)
   at Microsoft.Extensions.DependencyInjection.Specification.DependencyInjectionSpecificationTests.OuterServiceCanHaveOtherServicesInjected() in /_/src/libraries/Microsoft.Extensions.DependencyInjection/tests/DI.Specification.Tests/DependencyInjectionSpecificationTests.cs:line 230

System.IO.FileLoadException : Could not load file or assembly 'DryIoc, Version=3.0.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
   at Microsoft.Extensions.DependencyInjection.Specification.DryIocDependencyInjectionSpecificationTests.CreateServiceProvider(IServiceCollection serviceCollection)
   at Microsoft.Extensions.DependencyInjection.Specification.DependencyInjectionSpecificationTests.ServicesRegisteredWithImplementationTypeCanBeResolved() in /_/src/libraries/Microsoft.Extensions.DependencyInjection/tests/DI.Specification.Tests/DependencyInjectionSpecificationTests.cs:line 24

cc: @safern

Moving around files in DI tests, correcting folder structure
Disable tests failing on mono and for netfx
@maryamariyan
Copy link
Member Author

The CI already went green. I just force pushed my changes now so that my commits-only were squashed together, keeping the commit history intact, doing a merge commit to submit the PR.

@maryamariyan maryamariyan merged commit dfbba33 into dotnet:master Jun 3, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants