-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: **Many** Items cannot be Dragged and dropped onto a Form in Designer #92
Comments
I had the exact same thing happening in a pure .NET project, I don't know if this is a compatibility issue? |
I can confirm that the delete error is seen once the an initial "Drag-Drop" error is seen :-( |
Not sure #66 is as that is a different error (Root cause might be the same tho'...) |
The following needs to go into a FAQ - As it is a Feature of Visual Studio (16.9.x anyway!) With the fixes I have done.. It is possible to load all of the Toolkits into a Target application that has a *Single Target framework. IF the project is MultiTarget: Then it is NOT possible to use some of the Toolkit designer elements ! At least when Linking directly from the source of the Toolkit to the Project (Same will probably apply via NuGet as the Designer will not know which to use first !) |
Yay.. Found the workaround.. But it has to go into the Forms project....
<ItemGroup>
<Reference Include="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="$(TargetFramework.StartsWith('net4'))">
<SpecificVersion>True</SpecificVersion>
<Version>4.0.0.0</Version>
<TreatAsUsed>False</TreatAsUsed>
</Reference>
<Reference Include="System.Design, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="$(TargetFramework.StartsWith('net5'))">
<SpecificVersion>True</SpecificVersion>
<Version>5.0.0.0</Version>
<TreatAsUsed>False</TreatAsUsed>
</Reference>
<Reference Include="System.Design, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Condition="$(TargetFramework.StartsWith('net6'))">
<SpecificVersion>True</SpecificVersion>
<Version>6.0.0.0</Version>
<TreatAsUsed>False</TreatAsUsed>
</Reference>
<Reference Include="System.Design" Condition="'$(TargetFramework)' == 'net35'" />
<!--TODO: Need to specify version here-->
</ItemGroup>
|
Available August 2021 (Canary) |
It's the controls that have a designer that is derived from |
|
…ent "Pre-Loading" of the wrong system.Designer dll in Multi-Target projects - Sort out the reference assemblies information to ensure correct loading of controls in designer - Remove references to V2.0.0.0 of the System.Design when using the `MultilineStringEditor` - remove nullabel messages caused by `CS8618` Fixes #92
then only need to include dlls derived from `ParentControlDesigner` resolves #92
Available in build 2108.1 |
Describe the bug
Whilst testing #91 reproduction steps in Standard-Toolkit-Demo's I found that many of the toolkit items cannot simple be dragged and dropped onto a from.
Also of those items that have successfully been draged, then they cannot be deleted ! (This may be due to cascade error form the initial designer failures)
To Reproduce
Expected behaviour
Be able to use designer for *ALL Krypton elements
Desktop (please complete the following information):
Additional context
<ProjectReference Include="..\..\..\..\Standard-Toolkit\Source\Krypton Components\Krypton.Toolkit\Krypton.Toolkit 2019.csproj" />
The text was updated successfully, but these errors were encountered: