From 4aab663052af4696f2174e0cebb076f2ce37c7e1 Mon Sep 17 00:00:00 2001 From: bobeaton Date: Tue, 30 Apr 2024 05:47:46 -0500 Subject: [PATCH] don't build the Ptx plugin in x86, since it can't be used there anyway --- SEC VS2019.sln | 1 - .../TestBwdc/TestBwdc.csproj | 44 +++++++++---------- .../TestBwdc/TestFiles/TestModel.cs | 8 +++- src/SilConvertersXML/SilConvertersXML.csproj | 4 +- 4 files changed, 30 insertions(+), 27 deletions(-) diff --git a/SEC VS2019.sln b/SEC VS2019.sln index 58eb1db4..8578ca29 100644 --- a/SEC VS2019.sln +++ b/SEC VS2019.sln @@ -959,7 +959,6 @@ Global {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Debug|x64.ActiveCfg = Debug|x64 {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Debug|x64.Build.0 = Debug|x64 {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Debug|x86.ActiveCfg = Debug|x86 - {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Debug|x86.Build.0 = Debug|x86 {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Release|x64.ActiveCfg = Release|x64 {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Release|x64.Build.0 = Release|x64 {0BFFA5D9-FF49-4F16-BBC6-27F9394341A5}.Release|x86.ActiveCfg = Release|x86 diff --git a/src/SILConvertersWordML/TestBwdc/TestBwdc.csproj b/src/SILConvertersWordML/TestBwdc/TestBwdc.csproj index 4c40490a..8080ba80 100644 --- a/src/SILConvertersWordML/TestBwdc/TestBwdc.csproj +++ b/src/SILConvertersWordML/TestBwdc/TestBwdc.csproj @@ -58,7 +58,7 @@ true bin\x64\Debug\ - DEBUG;TRACE + TRACE;DEBUG;X64 full x64 latest @@ -67,7 +67,7 @@ bin\x64\Release\ - TRACE + TRACE;X64 true pdbonly x64 @@ -127,7 +127,7 @@ Resources.resx - + @@ -288,25 +288,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/src/SILConvertersWordML/TestBwdc/TestFiles/TestModel.cs b/src/SILConvertersWordML/TestBwdc/TestFiles/TestModel.cs index 8261f62b..e78bbfbe 100644 --- a/src/SILConvertersWordML/TestBwdc/TestFiles/TestModel.cs +++ b/src/SILConvertersWordML/TestBwdc/TestFiles/TestModel.cs @@ -1,7 +1,5 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -using Paratext.PluginInterfaces; -using SIL.ParatextBackTranslationHelperPlugin; using System; using System.Collections.Generic; using System.Dynamic; @@ -10,6 +8,10 @@ using System.Reflection; using System.Text; using System.Threading.Tasks; +#if X64 +using Paratext.PluginInterfaces; +using SIL.ParatextBackTranslationHelperPlugin; +#endif namespace TestBwdc.TestFiles { @@ -21,6 +23,7 @@ public static string ToJson(T obj) return json; } +#if X64 public static Dictionary> LoadKeyedListOfTokens(string embeddedResourceName) { var contents = LoadEmbeddedResourceFileAsStringExecutingAssembly(embeddedResourceName); @@ -80,6 +83,7 @@ public static List ToListTokens(object value) } return tokens; } +#endif public static T LoadFromFileJson(string embeddedResourceName) { diff --git a/src/SilConvertersXML/SilConvertersXML.csproj b/src/SilConvertersXML/SilConvertersXML.csproj index 27489865..a66b4533 100644 --- a/src/SilConvertersXML/SilConvertersXML.csproj +++ b/src/SilConvertersXML/SilConvertersXML.csproj @@ -40,7 +40,7 @@ true - bin\x86\debug\ + ..\..\output\x86\debug\ DEBUG;TRACE full x86 @@ -66,7 +66,7 @@ true - bin\x64\Debug\ + ..\..\output\x64\Debug\ DEBUG;TRACE full x64