Skip to content

Commit

Permalink
Added CSharpDevelop realisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Areso committed May 11, 2016
1 parent 814e209 commit 8550653
Show file tree
Hide file tree
Showing 13 changed files with 149 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CSharpDevelop/CSharpDevelop.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
# SharpDevelop 4.4
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSharpDevelop", "CSharpDevelop\CSharpDevelop.csproj", "{17DA372A-618A-4F70-8C6D-2E9BF5CD9730}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{17DA372A-618A-4F70-8C6D-2E9BF5CD9730}.Debug|Any CPU.Build.0 = Debug|Any CPU
{17DA372A-618A-4F70-8C6D-2E9BF5CD9730}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{17DA372A-618A-4F70-8C6D-2E9BF5CD9730}.Release|Any CPU.Build.0 = Release|Any CPU
{17DA372A-618A-4F70-8C6D-2E9BF5CD9730}.Release|Any CPU.ActiveCfg = Release|Any CPU
EndGlobalSection
EndGlobal
52 changes: 52 additions & 0 deletions CSharpDevelop/CSharpDevelop/CSharpDevelop.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<ProjectGuid>{17DA372A-618A-4F70-8C6D-2E9BF5CD9730}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Exe</OutputType>
<RootNamespace>CSharpDevelop</RootNamespace>
<AssemblyName>CSharpDevelop</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<AppDesignerFolder>Properties</AppDesignerFolder>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug\</OutputPath>
<DebugSymbols>True</DebugSymbols>
<DebugType>Full</DebugType>
<Optimize>False</Optimize>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release\</OutputPath>
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
38 changes: 38 additions & 0 deletions CSharpDevelop/CSharpDevelop/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Created by SharpDevelop.
* User: PRG2
* Date: 11.05.2016
* Time: 14:24
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;

namespace CSharpDevelop
{
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Performance test!");

// TODO: Implement Functionality Here
Int64 sum = 0;
DateTime time1;
DateTime time2;
TimeSpan time3;
string time3string;
time1 = DateTime.Now;
for (int i = 0; i < 1000000; i++)
{
sum = sum + i;
//Console.WriteLine(i);
}
time2 = DateTime.Now;
time3 = time2 - time1;
time3string = time3.ToString();
Console.WriteLine(time3string);
Console.WriteLine(sum);
}
}
}
31 changes: 31 additions & 0 deletions CSharpDevelop/CSharpDevelop/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#region Using directives

using System;
using System.Reflection;
using System.Runtime.InteropServices;

#endregion

// 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("CSharpDevelop")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CSharpDevelop")]
[assembly: AssemblyCopyright("Copyright 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// This sets the default COM visibility of types in the assembly to invisible.
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
[assembly: ComVisible(false)]

// The assembly version has following format :
//
// Major.Minor.Build.Revision
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.*")]
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
D:\Performance-Test\CSharpDevelop\CSharpDevelop\bin\Debug\CSharpDevelop.exe
D:\Performance-Test\CSharpDevelop\CSharpDevelop\bin\Debug\CSharpDevelop.pdb
D:\Performance-Test\CSharpDevelop\CSharpDevelop\obj\Debug\CSharpDevelop.csprojResolveAssemblyReference.cache
D:\Performance-Test\CSharpDevelop\CSharpDevelop\obj\Debug\CSharpDevelop.exe
D:\Performance-Test\CSharpDevelop\CSharpDevelop\obj\Debug\CSharpDevelop.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions lib/i386-win32/project1.compiled
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Compiler Value="C:\lazarus\fpc\2.6.4\bin\i386-win32\fpc.exe" Date="1195613038"/>
<Params Value=" -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -FiD:\Performance-Test\lib\i386-win32 -FuD:\Performance-Test\ -FUD:\Performance-Test\lib\i386-win32\ project1.lpr"/>
</CONFIG>
Binary file added lib/i386-win32/project1.o
Binary file not shown.
Binary file added project1.exe
Binary file not shown.

0 comments on commit 8550653

Please sign in to comment.