Skip to content

Conversation

Meir017
Copy link

@Meir017 Meir017 commented Jun 1, 2025

just need to setup the git submodules manually

sharplab-aspire.mp4

small issue in the client UI, getting 403 error from local storage-account
image

<ItemGroup>
<PackageReference Include="Argument" Version="1.3.1" />
<PackageReference Include="AshMind.Extensions" Version="3.0.0-pre-20190808-01" />
<PackageReference Include="Autofac" Version="4.9.2" />
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the old version of Autofac togather with the new AddServiceDefaults failed to start with the error

Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'instance')
at Autofac.RegistrationExtensions.RegisterInstance[T](ContainerBuilder builder, T instance)
at Autofac.Extensions.DependencyInjection.AutofacRegistration.Register(ContainerBuilder builder, IEnumerable`1 descriptors, Object lifetimeScopeTagForSingletons)
at Autofac.Extensions.DependencyInjection.AutofacRegistration.Populate(ContainerBuilder builder, IEnumerable`1 descriptors, Object lifetimeScopeTagForSingletons)
at Autofac.Extensions.DependencyInjection.AutofacRegistration.Populate(ContainerBuilder builder, IEnumerable`1 descriptors)
at Autofac.Extensions.DependencyInjection.AutofacServiceProviderFactory.CreateBuilder(IServiceCollection services)
Microsoft.AspNetCore.Builder.ConfigureHostBuilder.ServiceProviderFactoryAdapter`1.CreateBuilder(IServiceCollection services)
at Microsoft.Extensions.Hosting.HostApplicationBuilder.<>c__DisplayClass30_0`1.<ConfigureContainer>b__0()
at Microsoft.Extensions.Hosting.HostApplicationBuilder.Build()
at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build()
at SharpLab.Server.Program.Main(String[] args) in C:\github\sharplab\source\Server\Program.cs:line 27

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updating Autofac to a recent version broke the dependency on Autofac.Extras.FileSystemRegistration So I copied the source-files of that library into a folder in this component

@Meir017 Meir017 mentioned this pull request Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants