Debugging loc; debugging approval of costs

This commit is contained in:
Rick Falkvinge
2021-07-03 15:39:08 +02:00
parent 1eb092e1de
commit 9a87233dd8
6 changed files with 136 additions and 13 deletions
+12
View File
@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Localization
{
public class Class1
{
}
}
+61
View File
@@ -0,0 +1,61 @@
<?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>04028270-5ff8-4aa6-8ed8-9b1aa0d4b99a</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Localization</RootNamespace>
<AssemblyName>Localization</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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' ">
<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="Class1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</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>
+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("Localization")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Localization")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[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("04028270-5ff8-4aa6-8ed8-9b1aa0d4b99a")]
// 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")]
@@ -23,11 +23,11 @@ public partial class Pages_v5_Finance_Json_ApprovableCosts : DataV5Base
this._approvableCosts = new ApprovableCosts();
this._approvedCosts = new ApprovableCosts();
PopulateCashAdvances();
PopulateExpenses();
//PopulateCashAdvances();
//PopulateExpenses();
PopulateInboundInvoices();
PopulateSalaries();
PopulateParleys();
//PopulateSalaries();
//PopulateParleys();
// Format as JSON and return
+3 -9
View File
@@ -45,10 +45,6 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="AutoMapper, Version=3.1.1.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
<HintPath>..\packages\NGeoIP.1.0.1\lib\net45\AutoMapper.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="AutoMapper.Net4, Version=3.1.1.0, Culture=neutral, PublicKeyToken=be96cd2c38ef1005, processorArchitecture=MSIL">
<HintPath>..\packages\NGeoIP.1.0.1\lib\net45\AutoMapper.Net4.dll</HintPath>
<Private>True</Private>
@@ -87,10 +83,6 @@
</Reference>
<Reference Include="System.Net.Http" />
<Reference Include="System.Numerics" />
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
<Private>True</Private>
@@ -2286,7 +2278,9 @@
<Content Include="Automation\web.config" />
<Content Include="Controls\v5\Meta\web.config" />
<Content Include="Images\web.config" />
<Content Include="machineKey.config" />
<Content Include="machineKey.config">
<SubType>Designer</SubType>
</Content>
<Content Include="Master-v5.master" />
<Content Include="Pages\v5\Public\GeoLookupHelpers.js.include" />
<Content Include="Pages\v5\Public\web.config" />
+20
View File
@@ -44,6 +44,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Frontend-Socket", "FrontSoc
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DebugConsole", "DebugConsole\DebugConsole.csproj", "{22ABE11A-416C-4859-83A1-B3E32B4725C0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Localization", "Localization\Localization.csproj", "{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Autobuild|.NET = Autobuild|.NET
@@ -227,6 +229,24 @@ Global
{22ABE11A-416C-4859-83A1-B3E32B4725C0}.Release|Any CPU.Build.0 = Release|Any CPU
{22ABE11A-416C-4859-83A1-B3E32B4725C0}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{22ABE11A-416C-4859-83A1-B3E32B4725C0}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Autobuild|.NET.ActiveCfg = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Autobuild|.NET.Build.0 = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Autobuild|Any CPU.ActiveCfg = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Autobuild|Any CPU.Build.0 = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Autobuild|Mixed Platforms.ActiveCfg = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Autobuild|Mixed Platforms.Build.0 = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Debug|.NET.ActiveCfg = Debug|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Debug|.NET.Build.0 = Debug|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Release|.NET.ActiveCfg = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Release|.NET.Build.0 = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Release|Any CPU.Build.0 = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{04028270-5FF8-4AA6-8ED8-9B1AA0D4B99A}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE