[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Nov 5 17:20:45 CDT 2010


branch "master" has been updated
       via  ea1d108e4b673aeda2be89e6ab7ea08edc21de6b (commit)
      from  bbe894a4f3e385bbd7738647f83fe9062f3d0c3f (commit)

Summary of changes:
 AsteriskSCFDotNetAPI.csproj |   97 +++++++++++++++++++++++++++++++++++++++++++
 AsteriskSCFDotNetAPI.sln    |   20 +++++++++
 Properties/AssemblyInfo.cs  |   36 ++++++++++++++++
 README_VISUALSTUDIO.txt     |   34 +++++++++++++++
 4 files changed, 187 insertions(+), 0 deletions(-)
 create mode 100644 AsteriskSCFDotNetAPI.csproj
 create mode 100644 AsteriskSCFDotNetAPI.sln
 create mode 100644 Properties/AssemblyInfo.cs
 create mode 100644 README_VISUALSTUDIO.txt


- Log -----------------------------------------------------------------
commit ea1d108e4b673aeda2be89e6ab7ea08edc21de6b
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Fri Nov 5 17:17:29 2010 -0500

    Added Visual Studio solution for building .Net assembly of the
    slice-defined API.

diff --git a/AsteriskSCFDotNetAPI.csproj b/AsteriskSCFDotNetAPI.csproj
new file mode 100644
index 0000000..fd6b1f5
--- /dev/null
+++ b/AsteriskSCFDotNetAPI.csproj
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{EE231540-8BC5-43F5-95E3-BEBFABC7751F}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>AsteriskSCF</RootNamespace>
+    <AssemblyName>AsteriskSCFDotNetApi</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <StartupObject>
+    </StartupObject>
+  </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>
+    <RegisterForComInterop>false</RegisterForComInterop>
+  </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="Ice, Version=3.4.1.0, Culture=neutral, PublicKeyToken=1f998c50fec78381, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\..\..\..\..\..\..\Ice-3.4.1\bin\Ice.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Xml.Linq">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data.DataSetExtensions">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Core\Discovery\ServiceLocatorEventsIf.cs" />
+    <Compile Include="Core\Discovery\ServiceLocatorIf.cs" />
+    <Compile Include="Core\Endpoint\EndpointIf.cs" />
+    <Compile Include="Core\Routing\RoutingIf.cs" />
+    <Compile Include="Media\MediaIf.cs" />
+    <Compile Include="Media\RTP\MediaRTPIf.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="SessionCommunications\SessionCommunicationsIf.cs" />
+    <Compile Include="System\Component\ComponentServiceIf.cs" />
+    <Compile Include="System\Component\ReplicaIf.cs" />
+    <Compile Include="System\Logger\LoggerIf.cs" />
+    <Compile Include="System\Time\TimeIf.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Core\Discovery\ServiceLocatorEventsIf.ice" />
+    <None Include="Core\Discovery\ServiceLocatorIf.ice" />
+    <None Include="Core\Endpoint\EndpointIf.ice" />
+    <None Include="Core\Routing\RoutingIf.ice" />
+    <None Include="Media\MediaIf.ice" />
+    <None Include="Media\RTP\MediaRTPIf.ice" />
+    <None Include="SessionCommunications\SessionCommunicationsIf.ice" />
+    <None Include="System\Component\ComponentServiceIf.ice" />
+    <None Include="System\Component\ReplicaIf.ice" />
+    <None Include="System\Logger\LoggerIf.ice" />
+    <None Include="System\Time\TimeIf.ice" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="README_VISUALSTUDIO.txt" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\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>
+  -->
+  <ProjectExtensions>
+    <VisualStudio>
+      <UserProperties ZerocIce_IncludePath="." ZerocIce_Prefix="True" ZerocIce_HomeExpanded="C:\Ice-3.4.1" ZerocIce_Enabled="True" ZerocIce_Home="C:\Ice-3.4.1" />
+    </VisualStudio>
+  </ProjectExtensions>
+</Project>
\ No newline at end of file
diff --git a/AsteriskSCFDotNetAPI.sln b/AsteriskSCFDotNetAPI.sln
new file mode 100644
index 0000000..d1c3cdd
--- /dev/null
+++ b/AsteriskSCFDotNetAPI.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsteriskSCFDotNetAPI", "AsteriskSCFDotNetAPI.csproj", "{EE231540-8BC5-43F5-95E3-BEBFABC7751F}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{EE231540-8BC5-43F5-95E3-BEBFABC7751F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{EE231540-8BC5-43F5-95E3-BEBFABC7751F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{EE231540-8BC5-43F5-95E3-BEBFABC7751F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{EE231540-8BC5-43F5-95E3-BEBFABC7751F}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..ecc6a38
--- /dev/null
+++ b/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+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("AsteriskSCFDotNetAPI")]
+[assembly: AssemblyDescription("Asterisk SCF .Net API")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Digium, Inc")]
+[assembly: AssemblyProduct("AsteriskSCFDotNetAPI")]
+[assembly: AssemblyCopyright("Copyright (C) 2010")]
+[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("9beac456-de4e-4cf7-b80b-bbb6749b8648")]
+
+// 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 Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("0.0.1.0")]
+[assembly: AssemblyFileVersion("0.0.1.0")]
diff --git a/README_VISUALSTUDIO.txt b/README_VISUALSTUDIO.txt
new file mode 100644
index 0000000..88550a6
--- /dev/null
+++ b/README_VISUALSTUDIO.txt
@@ -0,0 +1,34 @@
+
+-----------------------
+README_VISUALSTUDIO.txt
+-----------------------
+
+- The Visual Studio solution builds a .Net assembly to support creating
+Asterisk SCF components using .Net languages such as C#. The solution 
+only builds the non-component-specific APIs of Asterisk SCF. The assembly 
+that is built should be included in your Asterisck SCF component projects
+as a Reference. 
+
+(NOTE: CMake will generate Visual Studio solutions for unmanaged C++
+components. If you wish to build on Windows using unmanaged (i.e. 
+native) C++, you do not need to build this solution.
+
+- This project is configured to use .Net 3.5. You must have the .Net
+framework installed.
+
+- You must install ZeroC's Visual Studio plugin for Ice to compile 
+slice files (.ice extension) from Visual Studio. 
+
+   http://www.zeroc.com/vsplugin.html
+
+  The plugin settings are stored in the project file, so no additional 
+  configuration should be required. 
+
+- The project / solution files were created in Visual Studio 2008. 
+VS 2010 can automatically convert the project to VS 2010 
+format if needed. 
+
+- You may need to update the Ice node in the References branch of the solution
+based on where you installed Ice. 
+
+

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list