Skip to content

Some Microsoft.AspNetCore.Server.IIS.dll APIs are not available on source-build #63783

@NikolaMilosavljevic

Description

@NikolaMilosavljevic

Related to #63782

It seems that some sources are not compiled on source-build. This was introduced with #50685 due to a new dependency that could not be built on source-build.

Is this still the case? Are there are any options to enable this?

Here's the list differences between source-built binary and the one produced in regular (Microsoft) build on Linux.

error CP0001: Type 'Microsoft.AspNetCore.Builder.IISServerOptions' exists on msft/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll but not on sb/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll
error CP0001: Type 'Microsoft.AspNetCore.Http.Features.IServerVariablesFeature' exists on msft/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll but not on sb/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll
error CP0001: Type 'Microsoft.AspNetCore.Server.IIS.BadHttpRequestException' exists on msft/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll but not on sb/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll
error CP0001: Type 'Microsoft.AspNetCore.Server.IIS.HttpContextExtensions' exists on msft/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll but not on sb/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll
error CP0001: Type 'Microsoft.AspNetCore.Server.IIS.IIISEnvironmentFeature' exists on msft/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll but not on sb/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll
error CP0001: Type 'Microsoft.AspNetCore.Server.IIS.IISServerDefaults' exists on msft/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll but not on sb/shared/Microsoft.AspNetCore.App/x.y.z/Microsoft.AspNetCore.Server.IIS.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkfeature-iisIncludes: IIS, ANCM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions