diff --git a/CSharp/Applications/UniversalEditor.TestProject/Program.cs b/CSharp/Applications/UniversalEditor.TestProject/Program.cs new file mode 100644 index 00000000..8cd00c65 --- /dev/null +++ b/CSharp/Applications/UniversalEditor.TestProject/Program.cs @@ -0,0 +1,20 @@ +using System; +using UniversalEditor.Accessors; +using UniversalEditor.DataFormats.Package.OpenPackagingConvention; +using UniversalEditor.ObjectModels.Package; + +namespace UniversalEditor.TestProject +{ + class MainClass + { + public static void Main (string [] args) + { + string fileName = "/tmp/UETest/test.opc"; + + PackageObjectModel om = new PackageObjectModel (); + OPCDataFormat df = new OPCDataFormat (); + + Document.Save (om, df, new FileAccessor (fileName, true, true)); + } + } +} diff --git a/CSharp/Applications/UniversalEditor.TestProject/Properties/AssemblyInfo.cs b/CSharp/Applications/UniversalEditor.TestProject/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..69fd85b4 --- /dev/null +++ b/CSharp/Applications/UniversalEditor.TestProject/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle ("UniversalEditor.TestProject")] +[assembly: AssemblyDescription ("")] +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyCopyright ("Mike Becker")] +[assembly: AssemblyTrademark ("")] +[assembly: AssemblyCulture ("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion ("1.0.*")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] diff --git a/CSharp/Applications/UniversalEditor.TestProject/UniversalEditor.TestProject.csproj b/CSharp/Applications/UniversalEditor.TestProject/UniversalEditor.TestProject.csproj new file mode 100644 index 00000000..8a610c77 --- /dev/null +++ b/CSharp/Applications/UniversalEditor.TestProject/UniversalEditor.TestProject.csproj @@ -0,0 +1,55 @@ + + + + Debug + AnyCPU + {242A32D8-9A3A-4FE3-902B-AB9C3154723A} + Exe + UniversalEditor.TestProject + UniversalEditor.TestProject + v4.7 + + + true + full + false + bin\Debug + DEBUG; + prompt + 4 + true + + + true + bin\Release + prompt + 4 + true + + + + + + + + + + + {4698BC3F-EC29-42EB-9AED-3D8F9983A108} + UniversalEditor.Plugins.Microsoft + + + {30467E5C-05BC-4856-AADC-13906EF4CADD} + UniversalEditor.Essential + + + {2D4737E6-6D95-408A-90DB-8DFF38147E85} + UniversalEditor.Core + + + {76FD1306-9CA4-428F-993B-B7E4EEEACBF3} + UniversalEditor.Plugins.FileSystem + + + + \ No newline at end of file diff --git a/CSharp/UniversalEditor.sln b/CSharp/UniversalEditor.sln index 4931b3f0..3a25a9c4 100644 --- a/CSharp/UniversalEditor.sln +++ b/CSharp/UniversalEditor.sln @@ -133,6 +133,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Fam EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.FamilyTreeMaker.UserInterface", "Plugins.UserInterface\UniversalEditor.Plugins.FamilyTreeMaker.UserInterface\UniversalEditor.Plugins.FamilyTreeMaker.UserInterface.csproj", "{E6C8A539-F219-4BD0-A2F4-E7064ABF6777}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.TestProject", "Applications\UniversalEditor.TestProject\UniversalEditor.TestProject.csproj", "{242A32D8-9A3A-4FE3-902B-AB9C3154723A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -385,6 +387,10 @@ Global {E6C8A539-F219-4BD0-A2F4-E7064ABF6777}.Debug|Any CPU.Build.0 = Debug|Any CPU {E6C8A539-F219-4BD0-A2F4-E7064ABF6777}.Release|Any CPU.ActiveCfg = Release|Any CPU {E6C8A539-F219-4BD0-A2F4-E7064ABF6777}.Release|Any CPU.Build.0 = Release|Any CPU + {242A32D8-9A3A-4FE3-902B-AB9C3154723A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {242A32D8-9A3A-4FE3-902B-AB9C3154723A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {242A32D8-9A3A-4FE3-902B-AB9C3154723A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {242A32D8-9A3A-4FE3-902B-AB9C3154723A}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution {6F0AB1AF-E1A1-4D19-B19C-05BBB15C94B2} = {05D15661-E684-4EC9-8FBD-C014BA433CC5} @@ -447,6 +453,7 @@ Global {B8573BB1-A0CD-41F4-A775-E0CB79555C59} = {20F315E0-52AE-479F-AF43-3402482C1FC8} {74A835FD-93B8-4268-B120-1ACAA128AC7B} = {2ED32D16-6C06-4450-909A-40D32DA67FB4} {E6C8A539-F219-4BD0-A2F4-E7064ABF6777} = {2ED32D16-6C06-4450-909A-40D32DA67FB4} + {242A32D8-9A3A-4FE3-902B-AB9C3154723A} = {05D15661-E684-4EC9-8FBD-C014BA433CC5} EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution Policies = $0