Fix building for external tools

This commit is contained in:
YoshiRulz 2020-03-12 13:16:37 +10:00
parent 9dd9b4cc0d
commit f7caa414b6
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ using Community.CsharpSqlite.SQLiteClient;
namespace BizHawk.DBManTool namespace BizHawk.DBManTool
{ {
[ExternalTool("DBMan", "DB Manager")] [ExternalTool("DBMan", Description = "DB Manager")]
public class CustomMainForm : Form, IExternalToolForm public class CustomMainForm : Form, IExternalToolForm
{ {
public CustomMainForm() public CustomMainForm()

View File

@ -1,6 +1,6 @@
<Project> <Project>
<Import Project="$(ProjectDir)../../Common.props" /> <Import Project="../Common.props" />
<Import Project="$(ProjectDir)../../CommonNullable.props" /> <Import Project="../CommonNullable.props" />
<PropertyGroup> <PropertyGroup>
<CodeAnalysisRuleSet>$(ProjectDir)../../Common.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>$(ProjectDir)../../Common.ruleset</CodeAnalysisRuleSet>
<OutputPath>$(ProjectDir)bin/$(Configuration)/</OutputPath> <OutputPath>$(ProjectDir)bin/$(Configuration)/</OutputPath>

View File

@ -11,7 +11,7 @@ using DisplayType = BizHawk.Client.Common.DisplayType;
namespace HelloWorld namespace HelloWorld
{ {
/// <remarks>All of this is example code, but it's at least a little more substantiative than a simple "hello world".</remarks> /// <remarks>All of this is example code, but it's at least a little more substantiative than a simple "hello world".</remarks>
[ExternalTool("HelloWorld", "An example of how to interact with EmuHawk")] [ExternalTool("HelloWorld", Description = "An example of how to interact with EmuHawk")]
// [ExternalToolApplicability.SingleRom(CoreSystem.NES, "EA343F4E445A9050D4B4FBAC2C77D0693B1D0922")] // example of limiting tool usage (this is SMB1) // [ExternalToolApplicability.SingleRom(CoreSystem.NES, "EA343F4E445A9050D4B4FBAC2C77D0693B1D0922")] // example of limiting tool usage (this is SMB1)
[ExternalToolEmbeddedIcon("HelloWorld.icon_Hello.ico")] [ExternalToolEmbeddedIcon("HelloWorld.icon_Hello.ico")]
public partial class CustomMainForm : Form, IExternalToolForm public partial class CustomMainForm : Form, IExternalToolForm