view Implab/Implab.csproj @ 187:dd4a3590f9c6 ref20160224

Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler Any unhandled OperationCanceledException will cause the promise cancelation
author cin
date Tue, 19 Apr 2016 17:35:20 +0300
parents c32688129f14
children d45bdf510514 98eeb63cedb2
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{F550F1F8-8746-4AD0-9614-855F4C4B7F05}</ProjectGuid>
    <OutputType>Library</OutputType>
    <RootNamespace>Implab</RootNamespace>
    <AssemblyName>Implab</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <ReleaseVersion>0.2</ReleaseVersion>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>TRACE;DEBUG;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ConsolePause>false</ConsolePause>
    <RunCodeAnalysis>true</RunCodeAnalysis>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>full</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ConsolePause>false</ConsolePause>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug 4.5|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>TRACE;DEBUG;NET_4_5</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <RunCodeAnalysis>true</RunCodeAnalysis>
    <ConsolePause>false</ConsolePause>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release 4.5|AnyCPU' ">
    <Optimize>true</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ConsolePause>false</ConsolePause>
    <DefineConstants>NET_4_5</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMono|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>TRACE;DEBUG;NET_4_5;MONO</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <RunCodeAnalysis>true</RunCodeAnalysis>
    <ConsolePause>false</ConsolePause>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMono|AnyCPU' ">
    <Optimize>true</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <DefineConstants>NET_4_5;MONO;</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ConsolePause>false</ConsolePause>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <Reference Include="mscorlib" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="CustomEqualityComparer.cs" />
    <Compile Include="Diagnostics\ConsoleTraceListener.cs" />
    <Compile Include="Diagnostics\EventText.cs" />
    <Compile Include="Diagnostics\LogChannel.cs" />
    <Compile Include="Diagnostics\LogicalOperation.cs" />
    <Compile Include="Diagnostics\TextFileListener.cs" />
    <Compile Include="Diagnostics\TraceLog.cs" />
    <Compile Include="Diagnostics\TraceEvent.cs" />
    <Compile Include="Diagnostics\TraceEventType.cs" />
    <Compile Include="ICancellable.cs" />
    <Compile Include="IProgressHandler.cs" />
    <Compile Include="IProgressNotifier.cs" />
    <Compile Include="IPromiseT.cs" />
    <Compile Include="IPromise.cs" />
    <Compile Include="IServiceLocator.cs" />
    <Compile Include="ITaskController.cs" />
    <Compile Include="Parallels\DispatchPool.cs" />
    <Compile Include="Parallels\ArrayTraits.cs" />
    <Compile Include="Parallels\MTQueue.cs" />
    <Compile Include="Parallels\WorkerPool.cs" />
    <Compile Include="ProgressInitEventArgs.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Parallels\AsyncPool.cs" />
    <Compile Include="Safe.cs" />
    <Compile Include="ValueEventArgs.cs" />
    <Compile Include="PromiseExtensions.cs" />
    <Compile Include="SyncContextPromise.cs" />
    <Compile Include="Diagnostics\OperationContext.cs" />
    <Compile Include="Diagnostics\TraceContext.cs" />
    <Compile Include="Diagnostics\LogEventArgs.cs" />
    <Compile Include="Diagnostics\LogEventArgsT.cs" />
    <Compile Include="Diagnostics\Extensions.cs" />
    <Compile Include="PromiseEventType.cs" />
    <Compile Include="Parallels\AsyncQueue.cs" />
    <Compile Include="PromiseT.cs" />
    <Compile Include="IDeferred.cs" />
    <Compile Include="IDeferredT.cs" />
    <Compile Include="Promise.cs" />
    <Compile Include="PromiseTransientException.cs" />
    <Compile Include="Parallels\Signal.cs" />
    <Compile Include="Parallels\SharedLock.cs" />
    <Compile Include="Diagnostics\ILogWriter.cs" />
    <Compile Include="Diagnostics\ListenerBase.cs" />
    <Compile Include="Parallels\BlockingQueue.cs" />
    <Compile Include="AbstractEvent.cs" />
    <Compile Include="AbstractPromise.cs" />
    <Compile Include="AbstractPromiseT.cs" />
    <Compile Include="FuncTask.cs" />
    <Compile Include="FuncTaskBase.cs" />
    <Compile Include="FuncTaskT.cs" />
    <Compile Include="ActionChainTaskBase.cs" />
    <Compile Include="ActionChainTask.cs" />
    <Compile Include="ActionChainTaskT.cs" />
    <Compile Include="FuncChainTaskBase.cs" />
    <Compile Include="FuncChainTask.cs" />
    <Compile Include="FuncChainTaskT.cs" />
    <Compile Include="ActionTaskBase.cs" />
    <Compile Include="ActionTask.cs" />
    <Compile Include="ActionTaskT.cs" />
    <Compile Include="ICancellationToken.cs" />
    <Compile Include="SuccessPromise.cs" />
    <Compile Include="SuccessPromiseT.cs" />
    <Compile Include="PromiseAwaiterT.cs" />
    <Compile Include="PromiseAwaiter.cs" />
    <Compile Include="Components\ComponentContainer.cs" />
    <Compile Include="Components\Disposable.cs" />
    <Compile Include="Components\DisposablePool.cs" />
    <Compile Include="Components\ObjectPool.cs" />
    <Compile Include="Components\ServiceLocator.cs" />
    <Compile Include="Components\IInitializable.cs" />
    <Compile Include="TaskController.cs" />
    <Compile Include="Components\App.cs" />
    <Compile Include="Components\IRunnable.cs" />
    <Compile Include="Components\ExecutionState.cs" />
    <Compile Include="Components\RunnableComponent.cs" />
    <Compile Include="Components\IFactory.cs" />
    <Compile Include="Automaton\IAlphabet.cs" />
    <Compile Include="Automaton\ParserException.cs" />
    <Compile Include="Automaton\IndexedAlphabetBase.cs" />
    <Compile Include="Automaton\IAlphabetBuilder.cs" />
    <Compile Include="Automaton\RegularExpressions\AltToken.cs" />
    <Compile Include="Automaton\RegularExpressions\BinaryToken.cs" />
    <Compile Include="Automaton\RegularExpressions\CatToken.cs" />
    <Compile Include="Automaton\RegularExpressions\StarToken.cs" />
    <Compile Include="Automaton\RegularExpressions\SymbolToken.cs" />
    <Compile Include="Automaton\RegularExpressions\EmptyToken.cs" />
    <Compile Include="Automaton\RegularExpressions\Token.cs" />
    <Compile Include="Automaton\RegularExpressions\IVisitor.cs" />
    <Compile Include="Automaton\AutomatonTransition.cs" />
    <Compile Include="Formats\JSON\JSONElementContext.cs" />
    <Compile Include="Formats\JSON\JSONElementType.cs" />
    <Compile Include="Formats\JSON\JSONGrammar.cs" />
    <Compile Include="Formats\JSON\JSONParser.cs" />
    <Compile Include="Formats\JSON\JSONScanner.cs" />
    <Compile Include="Formats\JSON\JsonTokenType.cs" />
    <Compile Include="Formats\JSON\JSONWriter.cs" />
    <Compile Include="Formats\JSON\JSONXmlReader.cs" />
    <Compile Include="Formats\JSON\JSONXmlReaderOptions.cs" />
    <Compile Include="Formats\JSON\StringTranslator.cs" />
    <Compile Include="Automaton\MapAlphabet.cs" />
    <Compile Include="Formats\CharAlphabet.cs" />
    <Compile Include="Formats\ByteAlphabet.cs" />
    <Compile Include="Automaton\IDFATable.cs" />
    <Compile Include="Automaton\IDFATableBuilder.cs" />
    <Compile Include="Automaton\DFATable.cs" />
    <Compile Include="Automaton\RegularExpressions\RegularExpressionVisitor.cs" />
    <Compile Include="Automaton\RegularExpressions\ITaggedDFABuilder.cs" />
    <Compile Include="Formats\TextScanner.cs" />
    <Compile Include="Formats\StringScanner.cs" />
    <Compile Include="Formats\ReaderScanner.cs" />
    <Compile Include="Formats\ScannerContext.cs" />
    <Compile Include="Formats\Grammar.cs" />
    <Compile Include="Automaton\RegularExpressions\EndTokenT.cs" />
    <Compile Include="Automaton\RegularExpressions\EndToken.cs" />
    <Compile Include="Automaton\RegularExpressions\RegularExpressionVisitorT.cs" />
    <Compile Include="Automaton\AutomatonConst.cs" />
    <Compile Include="Automaton\RegularExpressions\RegularDFA.cs" />
    <Compile Include="Components\LazyAndWeak.cs" />
    <Compile Include="AbstractTask.cs" />
    <Compile Include="AbstractTaskT.cs" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <ItemGroup />
  <ProjectExtensions>
    <MonoDevelop>
      <Properties>
        <Policies>
          <CSharpFormattingPolicy IndentSwitchBody="True" NamespaceBraceStyle="EndOfLine" ClassBraceStyle="EndOfLine" InterfaceBraceStyle="EndOfLine" StructBraceStyle="EndOfLine" EnumBraceStyle="EndOfLine" MethodBraceStyle="EndOfLine" ConstructorBraceStyle="EndOfLine" DestructorBraceStyle="EndOfLine" BeforeMethodDeclarationParentheses="False" BeforeMethodCallParentheses="False" BeforeConstructorDeclarationParentheses="False" NewLineBeforeConstructorInitializerColon="NewLine" NewLineAfterConstructorInitializerColon="SameLine" BeforeIndexerDeclarationBracket="False" BeforeDelegateDeclarationParentheses="False" NewParentheses="False" SpacesBeforeBrackets="False" inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp" />
          <TextStylePolicy FileWidth="120" EolMarker="Unix" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp" />
          <DotNetNamingPolicy DirectoryNamespaceAssociation="PrefixedHierarchical" ResourceNamePolicy="MSBuild" />
          <TextStylePolicy FileWidth="120" TabsToSpaces="False" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="application/xml" />
          <XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
          <TextStylePolicy FileWidth="120" TabsToSpaces="False" inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain" />
          <NameConventionPolicy>
            <Rules>
              <NamingRule Name="Namespaces" AffectedEntity="Namespace" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Types" AffectedEntity="Class, Struct, Enum, Delegate" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Interfaces" AffectedEntity="Interface" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True">
                <RequiredPrefixes>
                  <String>I</String>
                </RequiredPrefixes>
              </NamingRule>
              <NamingRule Name="Attributes" AffectedEntity="CustomAttributes" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True">
                <RequiredSuffixes>
                  <String>Attribute</String>
                </RequiredSuffixes>
              </NamingRule>
              <NamingRule Name="Event Arguments" AffectedEntity="CustomEventArgs" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True">
                <RequiredSuffixes>
                  <String>EventArgs</String>
                </RequiredSuffixes>
              </NamingRule>
              <NamingRule Name="Exceptions" AffectedEntity="CustomExceptions" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True">
                <RequiredSuffixes>
                  <String>Exception</String>
                </RequiredSuffixes>
              </NamingRule>
              <NamingRule Name="Methods" AffectedEntity="Methods" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Static Readonly Fields" AffectedEntity="ReadonlyField" VisibilityMask="Internal, Protected, Public" NamingStyle="CamelCase" IncludeInstanceMembers="False" IncludeStaticEntities="True" />
              <NamingRule Name="Fields (Non Private)" AffectedEntity="Field" VisibilityMask="Internal, Public" NamingStyle="CamelCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="ReadOnly Fields (Non Private)" AffectedEntity="ReadonlyField" VisibilityMask="Internal, Public" NamingStyle="CamelCase" IncludeInstanceMembers="True" IncludeStaticEntities="False" />
              <NamingRule Name="Fields (Private)" AffectedEntity="Field, ReadonlyField" VisibilityMask="Private, Protected" NamingStyle="CamelCase" IncludeInstanceMembers="True" IncludeStaticEntities="False">
                <RequiredPrefixes>
                  <String>m_</String>
                </RequiredPrefixes>
              </NamingRule>
              <NamingRule Name="Static Fields (Private)" AffectedEntity="Field" VisibilityMask="Private" NamingStyle="CamelCase" IncludeInstanceMembers="False" IncludeStaticEntities="True">
                <RequiredPrefixes>
                  <String>_</String>
                </RequiredPrefixes>
              </NamingRule>
              <NamingRule Name="ReadOnly Fields (Private)" AffectedEntity="ReadonlyField" VisibilityMask="Private, Protected" NamingStyle="CamelCase" IncludeInstanceMembers="True" IncludeStaticEntities="False">
                <RequiredPrefixes>
                  <String>m_</String>
                </RequiredPrefixes>
              </NamingRule>
              <NamingRule Name="Constant Fields" AffectedEntity="ConstantField" VisibilityMask="VisibilityMask" NamingStyle="AllUpper" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Properties" AffectedEntity="Property" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Events" AffectedEntity="Event" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Enum Members" AffectedEntity="EnumMember" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Parameters" AffectedEntity="Parameter, LocalVariable" VisibilityMask="VisibilityMask" NamingStyle="CamelCase" IncludeInstanceMembers="True" IncludeStaticEntities="True" />
              <NamingRule Name="Type Parameters" AffectedEntity="TypeParameter" VisibilityMask="VisibilityMask" NamingStyle="PascalCase" IncludeInstanceMembers="True" IncludeStaticEntities="True">
                <RequiredPrefixes>
                  <String>T</String>
                </RequiredPrefixes>
              </NamingRule>
            </Rules>
          </NameConventionPolicy>
        </Policies>
      </Properties>
    </MonoDevelop>
  </ProjectExtensions>
  <ItemGroup>
    <Folder Include="Components\" />
    <Folder Include="Automaton\RegularExpressions\" />
    <Folder Include="Formats\" />
    <Folder Include="Formats\JSON\" />
  </ItemGroup>
</Project>