Skip to content

File-based apps can include other code files #53204

@adegeo

Description

@adegeo

Type of issue

Outdated article

Description

.NET 11 introduced the #:include syntax to include another code file. This is being backported to .NET SDK 10.0.3xx (not yet available).

#:include helpers.cs
#:include models/customer.cs

Console.WriteLine("Hello!");

This article needs to be updated to document this new feature area of file-based apps. It should be noted that this feature was introduced with .NET 11 Preview 3 and .NET SDK 10.0.3XX.

Page URL

https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/sdk/file-based-apps.md

Document Version Independent Id

d03da876-f782-a111-02b5-b87b2cedad11

Platform Id

bd9ae45e-1b55-0e01-0514-29c5f6c34d94

Article author

@gewarren

Metadata

  • ID: 646ac25f-6d99-4dfe-e8b3-d7de28a502ae
  • PlatformId: bd9ae45e-1b55-0e01-0514-29c5f6c34d94
  • Service: dotnet-fundamentals

Related Issues


Associated WorkItem - 571738

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions