dotnet / dotnet/project-system

Legacy designers expect DTAR to not find assemblies not referenced by the project

Open
#4,094 2 comments 0 reactions 1 assignee Claimed by @davkean View on GitHub
Blocking-Partner Feature-WinForms Feature-XAML Parity-Legacy-Feature Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Promoting the following comment in DesignTimeAssemblyResolution code to a work item:
```
internal partial class DesignTimeAssemblyResolution : IVsDesignTimeAssemblyResolution, IDisposable
{

// This implementation will work for .NET Core based projects, but we might run into unexpected behavior when bringing up legacy projects where designers/components
// expect to ask for/use types that are not currently referenced by the project. We should revisit at that time.

```

Winforms implementation of TypeResolutionService expects that DTAR resolves only assemblies that are referenced by the project in the drag-and-drop from the toolbox scenario.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.