Added Frontend Socket project

This commit is contained in:
Rick Falkvinge
2017-01-11 14:48:40 +01:00
parent 197f697ccc
commit 1546dd4d91
9 changed files with 157 additions and 3 deletions
+1
View File
@@ -114,6 +114,7 @@
<ItemGroup>
<None Include="app.config" />
<None Include="etcinitd\etcinitd-swarmops-backend" />
<None Include="etcsystemd\swarmops-backend.service" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8424E871-028B-4BFA-B956-E575A8F413E2}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Swarmops.Frontend.Socket</RootNamespace>
<AssemblyName>Swarmops.Frontend.Socket</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<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' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<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.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="etcsystemd\swarmops-frontend.service" />
</ItemGroup>
<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>
-->
</Project>
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FrontSocket
{
class Program
{
static void Main(string[] args)
{
}
}
}
+36
View File
@@ -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("FrontSocket")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FrontSocket")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[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("8424e871-028b-4bfa-b956-e575a8f413e2")]
// 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("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -0,0 +1,12 @@
[Unit]
Description=Swarmops Frontend
After=network.target
[Service]
ExecStart=/usr/bin/mono /usr/share/swarmops/frontend/Swarmops.Frontend.Socket.exe
WorkingDirectory=/usr/share/swarmops/frontend
Restart=on-abort
[Install]
WantedBy=multi-user.target
+1 -1
View File
@@ -394,7 +394,7 @@ namespace Resources {
}
/// <summary>
/// Looks up a localized string similar to Manage my Budgets.
/// Looks up a localized string similar to Manage My Budgets.
/// </summary>
internal static string Menu5_Financial_ManageBudgets {
get {
+1 -1
View File
@@ -214,7 +214,7 @@
<value>Salaries</value>
</data>
<data name="Menu5_Financial_ManageBudgets" xml:space="preserve">
<value>Manage my Budgets</value>
<value>Manage My Budgets</value>
</data>
<data name="Menu5_Financial_PayOutMoney" xml:space="preserve">
<value>Pay Out Money</value>
+23 -1
View File
@@ -1,5 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logic", "Logic\Logic.csproj", "{13E59551-34AC-43DC-9A03-EF5E4721DC61}"
ProjectSection(ProjectDependencies) = postProject
{BBF83512-8486-469E-9D7B-C3C1B78C3F4D} = {BBF83512-8486-469E-9D7B-C3C1B78C3F4D}
@@ -40,6 +42,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Site", "Site\Site.csproj",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Interface", "Interface\Interface.csproj", "{BA24FAF7-D518-49E8-952A-45595682877E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Frontend-Socket", "FrontSocket\Frontend-Socket.csproj", "{8424E871-028B-4BFA-B956-E575A8F413E2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Autobuild|.NET = Autobuild|.NET
@@ -200,6 +204,24 @@ Global
{BA24FAF7-D518-49E8-952A-45595682877E}.Release|Any CPU.Build.0 = Release|Any CPU
{BA24FAF7-D518-49E8-952A-45595682877E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{BA24FAF7-D518-49E8-952A-45595682877E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Autobuild|.NET.ActiveCfg = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Autobuild|.NET.Build.0 = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Autobuild|Any CPU.ActiveCfg = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Autobuild|Any CPU.Build.0 = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Autobuild|Mixed Platforms.ActiveCfg = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Autobuild|Mixed Platforms.Build.0 = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Debug|.NET.ActiveCfg = Debug|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Debug|.NET.Build.0 = Debug|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Release|.NET.ActiveCfg = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Release|.NET.Build.0 = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Release|Any CPU.Build.0 = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{8424E871-028B-4BFA-B956-E575A8F413E2}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE