Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
first commit
  • Loading branch information
Ivan Pozdnyakov authored and Ivan Pozdnyakov committed Jul 24, 2015
0 parents commit 2dcf00e
Show file tree
Hide file tree
Showing 9 changed files with 1,132 additions and 0 deletions.
225 changes: 225 additions & 0 deletions BasicApp.App/BasicApp.App.csproj
@@ -0,0 +1,225 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F7EBFB21-F051-4053-B3F9-D5545CC506D3}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BasicApp.App</RootNamespace>
<AssemblyName>BasicApp.App</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</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|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="CollectionGen, Version=1.0.834.34691, Culture=neutral">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\CollectionGen.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="dotless.Core, Version=1.2.2.0, Culture=neutral, PublicKeyToken=96b446c9e63eae34, processorArchitecture=MSIL">
<HintPath>..\..\packages\dotless.1.2.2.0\lib\dotless.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\ICSharpCode.SharpZipLib.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Interop.MsmMergeTypeLib, Version=2.0.0.0, Culture=neutral">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\Interop.MsmMergeTypeLib.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</Reference>
<Reference Include="Interop.StarTeam, Version=1.0.0.0, Culture=neutral">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\Interop.StarTeam.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</Reference>
<Reference Include="Interop.WindowsInstaller, Version=1.0.0.0, Culture=neutral">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\Interop.WindowsInstaller.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</Reference>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.exe</HintPath>
<ExecutableExtension>.exe</ExecutableExtension>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.CompressionTasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.CompressionTasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.Contrib.Tasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.Contrib.Tasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.Core, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.DotNetTasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.DotNetTasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.Extensions.Tasks, Version=0.1.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.Extensions.Tasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.MSNetTasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.MSNetTasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.SourceControlTasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.SourceControlTasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.VisualCppTasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.VisualCppTasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.VSNetTasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.VSNetTasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAnt.Win32Tasks, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAnt.Win32Tasks.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NAntContrib, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NAntContrib.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="NDoc.Documenter.NAnt, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\NDoc.Documenter.NAnt.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="scvs, Version=0.36.5.0, Culture=neutral">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\scvs.exe</HintPath>
<ExecutableExtension>.exe</ExecutableExtension>
<Private>True</Private>
</Reference>
<Reference Include="SLiNgshoT, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\SLiNgshoT.exe</HintPath>
<ExecutableExtension>.exe</ExecutableExtension>
<Private>True</Private>
</Reference>
<Reference Include="SLiNgshoT.Core, Version=0.92.4543.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\SLiNgshoT.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="SourceSafe.Interop, Version=5.1.0.0, Culture=neutral">
<HintPath>..\packages\NAnt.Extensions.0.1.2.4\lib\SourceSafe.Interop.dll</HintPath>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</Reference>
<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.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utilities.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="file.txt" />
<Content Include="Images\glyphicons-halflings-white.png" />
<Content Include="Images\glyphicons-halflings.png" />
<Content Include="Scripts\bootstrap-alert.js" />
<Content Include="Scripts\bootstrap-button.js" />
<Content Include="Scripts\bootstrap-carousel.js" />
<Content Include="Scripts\bootstrap-collapse.js" />
<Content Include="Scripts\bootstrap-dropdown.js" />
<Content Include="Scripts\bootstrap-modal.js" />
<Content Include="Scripts\bootstrap-popover.js" />
<Content Include="Scripts\bootstrap-scrollspy.js" />
<Content Include="Scripts\bootstrap-tab.js" />
<Content Include="Scripts\bootstrap-tooltip.js" />
<Content Include="Scripts\bootstrap-transition.js" />
<Content Include="Scripts\bootstrap-typeahead.js" />
</ItemGroup>
<ItemGroup>
<None Include="Content\Stylesheets\bootstrap\accordion.less" />
<None Include="Content\Stylesheets\bootstrap\alerts.less" />
<None Include="Content\Stylesheets\bootstrap\bootstrap.less" />
<None Include="Content\Stylesheets\bootstrap\breadcrumbs.less" />
<None Include="Content\Stylesheets\bootstrap\button-groups.less" />
<None Include="Content\Stylesheets\bootstrap\buttons.less" />
<None Include="Content\Stylesheets\bootstrap\carousel.less" />
<None Include="Content\Stylesheets\bootstrap\close.less" />
<None Include="Content\Stylesheets\bootstrap\code.less" />
<None Include="Content\Stylesheets\bootstrap\component-animations.less" />
<None Include="Content\Stylesheets\bootstrap\dropdowns.less" />
<None Include="Content\Stylesheets\bootstrap\forms.less" />
<None Include="Content\Stylesheets\bootstrap\grid.less" />
<None Include="Content\Stylesheets\bootstrap\hero-unit.less" />
<None Include="Content\Stylesheets\bootstrap\labels.less" />
<None Include="Content\Stylesheets\bootstrap\layouts.less" />
<None Include="Content\Stylesheets\bootstrap\mixins.less" />
<None Include="Content\Stylesheets\bootstrap\modals.less" />
<None Include="Content\Stylesheets\bootstrap\navbar.less" />
<None Include="Content\Stylesheets\bootstrap\navs.less" />
<None Include="Content\Stylesheets\bootstrap\pager.less" />
<None Include="Content\Stylesheets\bootstrap\pagination.less" />
<None Include="Content\Stylesheets\bootstrap\popovers.less" />
<None Include="Content\Stylesheets\bootstrap\progress-bars.less" />
<None Include="Content\Stylesheets\bootstrap\reset.less" />
<None Include="Content\Stylesheets\bootstrap\responsive.less" />
<None Include="Content\Stylesheets\bootstrap\scaffolding.less" />
<None Include="Content\Stylesheets\bootstrap\sprites.less" />
<None Include="Content\Stylesheets\bootstrap\tables.less" />
<None Include="Content\Stylesheets\bootstrap\thumbnails.less" />
<None Include="Content\Stylesheets\bootstrap\tooltip.less" />
<None Include="Content\Stylesheets\bootstrap\type.less" />
<None Include="Content\Stylesheets\bootstrap\utilities.less" />
<None Include="Content\Stylesheets\bootstrap\variables.less" />
<None Include="Content\Stylesheets\bootstrap\wells.less" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- 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>
22 changes: 22 additions & 0 deletions BasicApp.App/Program.cs
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BasicApp.App.Utilities;

namespace BasicApp.Main
{
class Program
{
static void Main(string[] args)
{
UtilitiesDate utility = new UtilitiesDate();
utility.SetMonthsUsingWriterInput("emptyFile.txt");
Console.WriteLine(utility.GetMonths());
Console.WriteLine(utility.GetWeeks(DateTime.Now.AddDays(-42), DateTime.Now));
Console.WriteLine(utility.GetDays(DateTime.Now.AddDays(-42), DateTime.Now));
Console.WriteLine("Press enter to close...");
Console.ReadLine();
}
}
}
36 changes: 36 additions & 0 deletions BasicApp.App/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("BasicApp.App")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("BasicApp.App")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2015")]
[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("fa8a923b-9fb8-4092-a783-ed0220a848eb")]

// 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 comments on commit 2dcf00e

Please sign in to comment.