J
Jimmy Qin
Guest
Here is very basic example.
When create a WinForm project and set the target platform to x64.
The designer will always give you error, when open the UserControlTest.
Any idea if it's by design or a VS bug?
the base class UserControlBase.cs
using System.Windows.Forms;
namespace WindowsFormsTest
{
public class UserControlBase : UserControl
{
}
}
the Test class UserControlTest.cs
namespace WindowsFormsTest
{
public partial class UserControlTest : UserControlBase
{
public UserControlTest()
{
InitializeComponent();
}
}
}
Continue reading...
When create a WinForm project and set the target platform to x64.
The designer will always give you error, when open the UserControlTest.
Any idea if it's by design or a VS bug?
the base class UserControlBase.cs
using System.Windows.Forms;
namespace WindowsFormsTest
{
public class UserControlBase : UserControl
{
}
}
the Test class UserControlTest.cs
namespace WindowsFormsTest
{
public partial class UserControlTest : UserControlBase
{
public UserControlTest()
{
InitializeComponent();
}
}
}
Continue reading...