From: <br...@us...> - 2008-06-09 11:52:33
|
Revision: 230 http://acmcontester.svn.sourceforge.net/acmcontester/?rev=230&view=rev Author: brus07 Date: 2008-06-09 04:52:40 -0700 (Mon, 09 Jun 2008) Log Message: ----------- Sample to solve task "Load_from_dll" Added Paths: ----------- ACMServer/trunk/tasks/Load_from_dll/ ACMServer/trunk/tasks/Load_from_dll/BasePlug/ ACMServer/trunk/tasks/Load_from_dll/BasePlug/BasePlug.csproj ACMServer/trunk/tasks/Load_from_dll/BasePlug/ICreaterPlugin.cs ACMServer/trunk/tasks/Load_from_dll/BasePlug/Properties/ ACMServer/trunk/tasks/Load_from_dll/BasePlug/Properties/AssemblyInfo.cs ACMServer/trunk/tasks/Load_from_dll/Plugin1/ ACMServer/trunk/tasks/Load_from_dll/Plugin1/CreaterPlugin.cs ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj.user ACMServer/trunk/tasks/Load_from_dll/Plugin1/Properties/ ACMServer/trunk/tasks/Load_from_dll/Plugin1/Properties/AssemblyInfo.cs ACMServer/trunk/tasks/Load_from_dll/PluginLoader.cs ACMServer/trunk/tasks/Load_from_dll/taskDll/ ACMServer/trunk/tasks/Load_from_dll/taskDll/PluginLoader.cs ACMServer/trunk/tasks/Load_from_dll/taskDll/Program.cs ACMServer/trunk/tasks/Load_from_dll/taskDll/Properties/ ACMServer/trunk/tasks/Load_from_dll/taskDll/Properties/AssemblyInfo.cs ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj.user ACMServer/trunk/tasks/Load_from_dll/taskDll.sln Property changes on: ACMServer/trunk/tasks/Load_from_dll ___________________________________________________________________ Name: svn:ignore + *.suo Property changes on: ACMServer/trunk/tasks/Load_from_dll/BasePlug ___________________________________________________________________ Name: svn:ignore + bin obj Added: ACMServer/trunk/tasks/Load_from_dll/BasePlug/BasePlug.csproj =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/BasePlug/BasePlug.csproj (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/BasePlug/BasePlug.csproj 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,47 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{3DE17E44-206E-4FC6-A700-0EA0161A2DC4}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>BasePlug</RootNamespace> + <AssemblyName>BasePlug</AssemblyName> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="ICreaterPlugin.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Added: ACMServer/trunk/tasks/Load_from_dll/BasePlug/ICreaterPlugin.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/BasePlug/ICreaterPlugin.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/BasePlug/ICreaterPlugin.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,9 @@ +using System; + +namespace BasePlug +{ + public interface ICreaterPlugin + { + int calc(); + } +} Added: ACMServer/trunk/tasks/Load_from_dll/BasePlug/Properties/AssemblyInfo.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/BasePlug/Properties/AssemblyInfo.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/BasePlug/Properties/AssemblyInfo.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("BasePlug")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Home")] +[assembly: AssemblyProduct("BasePlug")] +[assembly: AssemblyCopyright("Copyright © Home 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("94cb392c-2ca8-49c5-9368-31828939adbd")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Property changes on: ACMServer/trunk/tasks/Load_from_dll/Plugin1 ___________________________________________________________________ Name: svn:ignore + bin obj Added: ACMServer/trunk/tasks/Load_from_dll/Plugin1/CreaterPlugin.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/Plugin1/CreaterPlugin.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/Plugin1/CreaterPlugin.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,13 @@ +using System; +using BasePlug; + +namespace Dll.Plugins +{ + public class CreaterPlugin: ICreaterPlugin + { + public int calc() + { + return 2+3; + } + } +} Added: ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,53 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{CDE3968A-F7DE-4938-A5C8-22B0949B8565}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Plugin1</RootNamespace> + <AssemblyName>Plugin1</AssemblyName> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="CreaterPlugin.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\BasePlug\BasePlug.csproj"> + <Project>{3DE17E44-206E-4FC6-A700-0EA0161A2DC4}</Project> + <Name>BasePlug</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Added: ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj.user =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj.user (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/Plugin1/Plugin1.csproj.user 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,5 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <ProjectView>ProjectFiles</ProjectView> + </PropertyGroup> +</Project> \ No newline at end of file Added: ACMServer/trunk/tasks/Load_from_dll/Plugin1/Properties/AssemblyInfo.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/Plugin1/Properties/AssemblyInfo.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/Plugin1/Properties/AssemblyInfo.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Plugin1")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Home")] +[assembly: AssemblyProduct("Plugin1")] +[assembly: AssemblyCopyright("Copyright © Home 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("85c28bc9-eb2b-4087-8ede-502cc7aafba7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: ACMServer/trunk/tasks/Load_from_dll/PluginLoader.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/PluginLoader.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/PluginLoader.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,108 @@ +using System; +using System.Collections.Generic; +using System.Reflection; +using System.Text; +using TvEngine; +using TvLibrary.Log; +namespace SetupTv +{ + public class PluginLoader + { + List<ITvServerPlugin> _plugins = new List<ITvServerPlugin>(); + + /// <summary> + /// returns a list of all plugins loaded. + /// </summary> + /// <value>The plugins.</value> + public List<ITvServerPlugin> Plugins + { + get { return _plugins; } + } + /// <summary> + /// Loads all plugins. + /// </summary> + public void Load() + { + _plugins.Clear(); + try + { + if (System.IO.Directory.Exists("plugins")) + { + string[] strFiles = System.IO.Directory.GetFiles("plugins", "*.dll"); + foreach (string strFile in strFiles) + LoadPlugin(strFile); + } + } + catch (Exception) + { + } + } + /// <summary> + /// Loads the plugin. + /// </summary> + /// <param name="strFile">The STR file.</param> + void LoadPlugin(string strFile) + { + Type[] foundInterfaces = null; + + try + { + Assembly assem = Assembly.LoadFrom(strFile); + if (assem != null) + { + Type[] types = assem.GetExportedTypes(); + + foreach (Type t in types) + { + try + { + if (t.IsClass) + { + if (t.IsAbstract) continue; + + Object newObj = null; + ITvServerPlugin plugin = null; + TypeFilter myFilter2 = new TypeFilter(MyInterfaceFilter); + try + { + foundInterfaces = t.FindInterfaces(myFilter2, "TvEngine.ITvServerPlugin"); + if (foundInterfaces.Length > 0) + { + newObj = (object)Activator.CreateInstance(t); + plugin = (ITvServerPlugin)newObj; + _plugins.Add(plugin); + } + } + catch (System.Reflection.TargetInvocationException) + { + Log.WriteFile("PluginManager: {0} is incompatible with the current tvserver version and won't be loaded!", t.FullName); + continue; + } + catch (Exception iPluginException) + { + Log.WriteFile("Exception while loading IPlugin instances: {0}", t.FullName); + Log.WriteFile(iPluginException.ToString()); + Log.WriteFile(iPluginException.Message); + Log.WriteFile(iPluginException.StackTrace); + } + } + } + catch (System.NullReferenceException) + { } + } + } + } + catch (Exception ex) + { + Log.WriteFile("PluginManager: Plugin file {0} is broken or incompatible with the current tvserver version and won't be loaded!", strFile.Substring(strFile.LastIndexOf(@"\") + 1)); + Log.WriteFile("PluginManager: Exception: {0}", ex); + } + } + + bool MyInterfaceFilter(Type typeObj, Object criteriaObj) + { + return (typeObj.ToString().Equals(criteriaObj.ToString())); + } + + } +} Property changes on: ACMServer/trunk/tasks/Load_from_dll/taskDll ___________________________________________________________________ Name: svn:ignore + bin obj Added: ACMServer/trunk/tasks/Load_from_dll/taskDll/PluginLoader.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/taskDll/PluginLoader.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/taskDll/PluginLoader.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using BasePlug; +using System.Reflection; + +namespace Other +{ + public class PluginLoader + { + List<ICreaterPlugin> _plugins = new List<ICreaterPlugin>(); + + /// <summary> + /// returns a list of all plugins loaded. + /// </summary> + /// <value>The plugins.</value> + public List<ICreaterPlugin> Plugins + { + get { return _plugins; } + } + /// <summary> + /// Loads all plugins. + /// </summary> + public void Load() + { + _plugins.Clear(); + try + { + if (System.IO.Directory.Exists("Dll")) + { + string[] strFiles = System.IO.Directory.GetFiles("Dll", "*.dll"); + foreach (string strFile in strFiles) + LoadPlugin(strFile); + } + } + catch (Exception ex) + { + throw ex; + } + } + /// <summary> + /// Loads the plugin. + /// </summary> + /// <param name="strFile">The STR file.</param> + void LoadPlugin(string strFile) + { + Type[] foundInterfaces = null; + + try + { + Assembly assem = Assembly.LoadFrom(strFile); + if (assem != null) + { + Type[] types = assem.GetExportedTypes(); + + foreach (Type t in types) + { + try + { + if (t.IsClass) + { + if (t.IsAbstract) continue; + + Object newObj = null; + ICreaterPlugin plugin = null; + TypeFilter myFilter2 = new TypeFilter(MyInterfaceFilter); + try + { + foundInterfaces = t.FindInterfaces(myFilter2, "BasePlug.ICreaterPlugin"); + if (foundInterfaces.Length > 0) + { + newObj = (object)Activator.CreateInstance(t); + plugin = (ICreaterPlugin)newObj; + _plugins.Add(plugin); + } + } + catch (System.Reflection.TargetInvocationException ex) + { + throw ex; + } + catch (Exception ex) + { + throw ex; + } + } + } + catch (System.NullReferenceException ex) + { + throw ex; + } + } + } + } + catch (Exception ex) + { + throw ex; + } + } + + bool MyInterfaceFilter(Type typeObj, Object criteriaObj) + { + return (typeObj.ToString().Equals(criteriaObj.ToString())); + } + + } +} Added: ACMServer/trunk/tasks/Load_from_dll/taskDll/Program.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/taskDll/Program.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/taskDll/Program.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,26 @@ +using System; +using Other; +using BasePlug; + +namespace taskDll +{ + class Program + { + + /// <summary> + /// \xC4\xE5\xFF\xEA\xE8\xE9 Plugin \xEC\xE0\xBA \xED\xE0\xF1\xEB\xB3\xE4\xF3\xE2\xE0\xF2\xE8 \xB3\xED\xF2\xE5\xF0\xF4\xE5\xE9\xF1 ICreaterPlugin + /// \xCA\xEE\xE6\xE5\xED \xEF\xEB\xE0\xE3\xB3\xED \xEC\xE0\xBA \xEC\xB3\xF1\xF2\xE8\xF2\xE8\xF1\xFF \xF3 \xEF\xE0\xEF\xF6\xB3 Dll + /// </summary> + /// <param name="args"></param> + static void Main(string[] args) + { + PluginLoader plugins = new PluginLoader(); + plugins.Load(); + + foreach(ICreaterPlugin cp in plugins.Plugins) + { + Console.Out.WriteLine(cp.calc()); + } + } + } +} Added: ACMServer/trunk/tasks/Load_from_dll/taskDll/Properties/AssemblyInfo.cs =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/taskDll/Properties/AssemblyInfo.cs (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/taskDll/Properties/AssemblyInfo.cs 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("taskDll")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Home")] +[assembly: AssemblyProduct("taskDll")] +[assembly: AssemblyCopyright("Copyright © Home 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("013e5e40-00b8-437c-acd5-1ce439602fd4")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Added: ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,55 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{0AC9B72D-57AE-4EF9-9745-837F8E4343E5}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>taskDll</RootNamespace> + <AssemblyName>taskDll</AssemblyName> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <RunCodeAnalysis>false</RunCodeAnalysis> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="PluginLoader.cs" /> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\BasePlug\BasePlug.csproj"> + <Project>{3DE17E44-206E-4FC6-A700-0EA0161A2DC4}</Project> + <Name>BasePlug</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Added: ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj.user =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj.user (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/taskDll/taskDll.csproj.user 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,17 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <PublishUrlHistory>publish\</PublishUrlHistory> + <InstallUrlHistory> + </InstallUrlHistory> + <SupportUrlHistory> + </SupportUrlHistory> + <UpdateUrlHistory> + </UpdateUrlHistory> + <BootstrapperUrlHistory> + </BootstrapperUrlHistory> + <ApplicationRevision>0</ApplicationRevision> + <FallbackCulture>en-US</FallbackCulture> + <VerifyUploadedFiles>false</VerifyUploadedFiles> + <ProjectView>ProjectFiles</ProjectView> + </PropertyGroup> +</Project> \ No newline at end of file Added: ACMServer/trunk/tasks/Load_from_dll/taskDll.sln =================================================================== --- ACMServer/trunk/tasks/Load_from_dll/taskDll.sln (rev 0) +++ ACMServer/trunk/tasks/Load_from_dll/taskDll.sln 2008-06-09 11:52:40 UTC (rev 230) @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "taskDll", "taskDll\taskDll.csproj", "{0AC9B72D-57AE-4EF9-9745-837F8E4343E5}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dll", "Dll", "{CBD74D91-5EB9-4E4E-BF4B-D513ADD2B5D8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Plugin1", "Plugin1\Plugin1.csproj", "{CDE3968A-F7DE-4938-A5C8-22B0949B8565}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasePlug", "BasePlug\BasePlug.csproj", "{3DE17E44-206E-4FC6-A700-0EA0161A2DC4}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0AC9B72D-57AE-4EF9-9745-837F8E4343E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0AC9B72D-57AE-4EF9-9745-837F8E4343E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0AC9B72D-57AE-4EF9-9745-837F8E4343E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0AC9B72D-57AE-4EF9-9745-837F8E4343E5}.Release|Any CPU.Build.0 = Release|Any CPU + {CDE3968A-F7DE-4938-A5C8-22B0949B8565}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CDE3968A-F7DE-4938-A5C8-22B0949B8565}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CDE3968A-F7DE-4938-A5C8-22B0949B8565}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CDE3968A-F7DE-4938-A5C8-22B0949B8565}.Release|Any CPU.Build.0 = Release|Any CPU + {3DE17E44-206E-4FC6-A700-0EA0161A2DC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3DE17E44-206E-4FC6-A700-0EA0161A2DC4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3DE17E44-206E-4FC6-A700-0EA0161A2DC4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3DE17E44-206E-4FC6-A700-0EA0161A2DC4}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {CDE3968A-F7DE-4938-A5C8-22B0949B8565} = {CBD74D91-5EB9-4E4E-BF4B-D513ADD2B5D8} + EndGlobalSection +EndGlobal This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |