You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eto Forms Preview in Visual Studio Mac is not able to load classes from the same project, without getting a compile error.
Steps to Reproduce the Problem
Create project using "dotnet new etoapp -sln -s -xm -m preview"
Create class in subnamespace
Import namespace and instantiate class
Preview Crashes and can not display the content of the form
Code that Demonstrates the Problem
using System;
using Eto.Forms;
using Eto.Drawing;
using TestApp.Model;
namespace TestApp
{
partial class MainForm : Form
{
TestObj t;
void InitializeComponent()
{
Title = "My Eto Form";
ClientSize = new Size(400, 350);
Padding = 10;
t = new TestObj();
}
}
}
using System;
using Eto.Forms;
using Eto.Drawing;
using TestApp.Model;
namespace TestApp
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
}
}
using System;
namespace TestApp.Model
{
public class TestObj
{
}
}
Specifications
Version: 2.4.1.1 and current development build
Platform(s): Visual Studio Mac
Operating System(s): macOS 10.14
The text was updated successfully, but these errors were encountered:
Eto Forms Preview in Visual Studio Mac is not able to load classes from the same project, without getting a compile error.
Steps to Reproduce the Problem
Code that Demonstrates the Problem
Specifications
The text was updated successfully, but these errors were encountered: