Skip to content

Commit

Permalink
number of changes and new features
Browse files Browse the repository at this point in the history
  • Loading branch information
DinisCruz committed Jul 17, 2012
1 parent 7ea1fe8 commit ea5e297
Show file tree
Hide file tree
Showing 22 changed files with 358 additions and 301 deletions.
Expand Up @@ -14,19 +14,14 @@ public static XElement xElement(this XTypedElement xTypedElement)
{ {
return (XElement)xTypedElement.prop("Untyped"); return (XElement)xTypedElement.prop("Untyped");
} }

public static string xElementName(this XTypedElement xTypedElement) public static string xElementName(this XTypedElement xTypedElement)
{ {
return xTypedElement.xElement().Name.str(); return xTypedElement.xElement().Name.str();
} }



} }


public static class XTypedElement_ExtensionMethods_TreeView public static class XTypedElement_ExtensionMethods_TreeView
{ {

public static TreeNode add_Node(this TreeView treeView, XElement xElement) public static TreeNode add_Node(this TreeView treeView, XElement xElement)
{ {
return treeView.add_Node(xElement.name(), xElement, xElement.hasDataForChildTreeNodes()); return treeView.add_Node(xElement.name(), xElement, xElement.hasDataForChildTreeNodes());
Expand Down
7 changes: 4 additions & 3 deletions Misc_Microsoft_MPL_Libs/O2_Misc_Microsoft_MPL_Libs.csproj
Expand Up @@ -56,9 +56,6 @@
<Reference Include="Microsoft.Build.Utilities.v3.5"> <Reference Include="Microsoft.Build.Utilities.v3.5">
<RequiredTargetFramework>3.5</RequiredTargetFramework> <RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference> </Reference>
<Reference Include="O2_FluentSharp_CoreLib, Version=4.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\FluentSharp.CoreLib.4.0.0.1\lib\net40\O2_FluentSharp_CoreLib.dll</HintPath>
</Reference>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Core"> <Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework> <RequiredTargetFramework>3.5</RequiredTargetFramework>
Expand Down Expand Up @@ -425,6 +422,10 @@
<Project>{DF7E73CB-02AC-4689-BB8C-AC21FFCCDDC5}</Project> <Project>{DF7E73CB-02AC-4689-BB8C-AC21FFCCDDC5}</Project>
<Name>O2.FluentSharp.BCL</Name> <Name>O2.FluentSharp.BCL</Name>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\..\O2.FluentSharp\O2.FluentSharp.CoreLib\O2.FluentSharp.CoreLib.csproj">
<Project>{0A7CE0E0-B092-43B5-AB80-99BA909019C9}</Project>
<Name>O2.FluentSharp.CoreLib</Name>
</ProjectReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
4 changes: 2 additions & 2 deletions Misc_Microsoft_MPL_Libs/Properties/AssemblyInfo.cs
Expand Up @@ -31,6 +31,6 @@
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("4.1.0.*")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
6 changes: 6 additions & 0 deletions O2.Platform.exe/O2_Platform.csproj
Expand Up @@ -147,6 +147,12 @@
<DefaultIcon>O2Logo.ico</DefaultIcon> <DefaultIcon>O2Logo.ico</DefaultIcon>
</FileAssociation> </FileAssociation>
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\O2.FluentSharp\O2.FluentSharp.CoreLib\O2.FluentSharp.CoreLib.csproj">
<Project>{0A7CE0E0-B092-43B5-AB80-99BA909019C9}</Project>
<Name>O2.FluentSharp.CoreLib</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- 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. Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
10 changes: 5 additions & 5 deletions O2.Platform.exe/Program.cs
Expand Up @@ -2,7 +2,7 @@
using System; using System;
using System.Reflection; using System.Reflection;
using System.IO; using System.IO;
//using O2.Kernel; using O2.Kernel;


namespace O2.Platform namespace O2.Platform
{ {
Expand All @@ -16,11 +16,11 @@ static class Program
static void Main(string[] args) static void Main(string[] args)
{ {
//new O2_Setup().startO2(args); //new O2_Setup().startO2(args);
//launch.o2Gui(args); launch.o2Gui(args);
launch_O2Gui_Via_Emebeded_Assembly(args); //launch_O2Gui_Via_Emebeded_Assembly(args);
} }


public static void launch_O2Gui_Via_Emebeded_Assembly(string[] args) /* public static void launch_O2Gui_Via_Emebeded_Assembly(string[] args)
{ {
var resourceName = "O2.Platform._Dlls_Embeded.O2_FluentSharp_CoreLib.dll"; var resourceName = "O2.Platform._Dlls_Embeded.O2_FluentSharp_CoreLib.dll";
var assemblyStream = Assembly.GetEntryAssembly().GetManifestResourceStream(resourceName); var assemblyStream = Assembly.GetEntryAssembly().GetManifestResourceStream(resourceName);
Expand All @@ -29,7 +29,7 @@ public static void launch_O2Gui_Via_Emebeded_Assembly(string[] args)
var type = assembly.GetType("O2.Kernel.launch"); var type = assembly.GetType("O2.Kernel.launch");
var method = type.GetMethod("o2Gui"); var method = type.GetMethod("o2Gui");
method.Invoke(null, new object[] { args }); method.Invoke(null, new object[] { args });
} } */




} }
Expand Down
4 changes: 2 additions & 2 deletions O2.Platform.exe/Properties/AssemblyInfo.cs
Expand Up @@ -32,6 +32,6 @@
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.*")] [assembly: AssemblyVersion("4.1.0.*")]
[assembly: AssemblyFileVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")]
3 changes: 3 additions & 0 deletions O2.Platform.exe/app.config
Expand Up @@ -8,4 +8,7 @@
<add key="ClientSettingsProvider.ServiceUri" value=""/> <add key="ClientSettingsProvider.ServiceUri" value=""/>
<add key="Offline" value="false"/> <add key="Offline" value="false"/>
</appSettings> </appSettings>
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
</configuration> </configuration>
4 changes: 2 additions & 2 deletions O2.Platform.exe_3.5_x64/Properties/AssemblyInfo.cs
Expand Up @@ -32,6 +32,6 @@
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.*")] [assembly: AssemblyVersion("4.1.0.*")]
[assembly: AssemblyFileVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")]
4 changes: 2 additions & 2 deletions O2.Platform.exe_3.5_x86/Properties/AssemblyInfo.cs
Expand Up @@ -32,6 +32,6 @@
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.*")] [assembly: AssemblyVersion("4.1.0.*")]
[assembly: AssemblyFileVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")]
4 changes: 2 additions & 2 deletions O2.Platform.exe_4.0_x64/Properties/AssemblyInfo.cs
Expand Up @@ -32,6 +32,6 @@
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.*")] [assembly: AssemblyVersion("4.1.0.*")]
[assembly: AssemblyFileVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")]
Binary file modified O2.VisualStudio.AddIn/AssemblyInfo.cs
Binary file not shown.

0 comments on commit ea5e297

Please sign in to comment.