mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed bad Test project error when test project is set as startup project
This commit is contained in:
parent
23dafd4e6d
commit
a825b392ea
1 changed files with 1 additions and 1 deletions
|
@ -10564,7 +10564,7 @@ namespace IDE
|
|||
}
|
||||
}
|
||||
|
||||
if ((mWorkspace.mStartupProject != null) && (mWorkspace.mStartupProject.mGeneralOptions.mTargetType == .BeefTest))
|
||||
if ((compileKind != .Test) && (mWorkspace.mStartupProject != null) && (mWorkspace.mStartupProject.mGeneralOptions.mTargetType == .BeefTest))
|
||||
{
|
||||
OutputErrorLine("Test project '{}' has been selected as the Startup Project. Use the 'Test' menu to run or debug tests.", mWorkspace.mStartupProject.mProjectName);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue