In Visual Studio I have checked the “Add missing using directive on paste” option.
Once I paste the name of, say, a DataGridView defined as
private Wisej.Web.DataGridView dataGridView1;
Visual Studio (Version 17.3.4) adds
using System.Windows.Forms;
This hits me off guard every once in a while, as the project won’t compile any more.
Is this a Visual Studio thing or can Wisej do anything about it?
Cheers, Gerhard
Hi Gerhard,
to give you a quick update:
This is currently being worked on and in QA. If it´s okay, it will be included in the next release.
Best regards
Frank
Hi Gerhard,
You’ll have to add an alias to System.Windows.Forms.
Simply go to References>Assemblies> Select System.Windows.Forms
In the properties window, you’ll see an Alias property, you’ll have to assign some alias to it, you can change it to “swf” for example.
I have attached a screenshot!
HTH,
Alaa
Nope, does not work …
Hi Gerhard,
This issue is fixed now in our latest release.
Please download the latest VSIX installer from here:
Visual Studio 2022: Wisej.NET 3 VS 2022
Visual Studio 2019: Wisej.NET 3 VS 2019
This is required for the new templates to be installed.
Best,
Alaa
Please login first to submit.