Skip to content

File-based apps: handle conversion of custom included item types#54251

Draft
jjonescz wants to merge 1 commit into
dotnet:mainfrom
jjonescz:sprint-include-custom-convert
Draft

File-based apps: handle conversion of custom included item types#54251
jjonescz wants to merge 1 commit into
dotnet:mainfrom
jjonescz:sprint-include-custom-convert

Conversation

@jjonescz
Copy link
Copy Markdown
Member

I wanted to change the default item mapping to include .dll=Reference (so one could reference DLLs, a common request, by doing #:include /path/to.dll) but realized conversion isn't handling custom item types like that properly, because conversion just copies the #:included items and relies on implicit includes like <Compile Include="**.cs"/> which are in the SDK (but there is of course no implicit <Reference Include="**.dll"/>). This should fix that hole in the project conversion. I will follow up with adding .dll=Reference to the default mapping next (that will be a simple change).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-run-file Items related to the "dotnet run <file>" effort

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant