Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded Project to Core 8 #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions ChoETL.NACHA.Core/ChoETL.NACHA.NETStandard.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>

<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Version>1.0.2.3</Version>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Cinchoo</Authors>
<Company>Cinchoo Inc.</Company>
Expand All @@ -21,12 +18,9 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>


<ItemGroup>
<Compile Include="..\ChoETL.NACHA\ChoNACHABatchWriter.cs" Link="ChoNACHABatchWriter.cs" />
<Compile Include="..\ChoETL.NACHA\ChoNACHAEntryDetailWriter.cs" Link="ChoNACHAEntryDetailWriter.cs" />
Expand All @@ -46,16 +40,13 @@
<Compile Include="..\ChoETL.NACHA\Shared\ChoImmediateOriginValidatorAttribute.cs" Link="Shared\ChoImmediateOriginValidatorAttribute.cs" />
<Compile Include="..\ChoETL.NACHA\Shared\ChoNACHARunningStat.cs" Link="Shared\ChoNACHARunningStat.cs" />
</ItemGroup>

<ItemGroup>
<Folder Include="Configuration\" />
<Folder Include="Exceptions\" />
<Folder Include="Shared\" />
<Folder Include="Records\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="ChoETL.NETStandard" Version="1.2.1.28" />
</ItemGroup>

</Project>
</Project>
8 changes: 4 additions & 4 deletions ChoETL.NACHA.sln
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2015
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChoETL.NACHA", "ChoETL.NACHA\ChoETL.NACHA.csproj", "{8BDB0366-75FD-452F-9AF0-E3ED320575B7}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChoETL.NACHA", "ChoETL.NACHA\ChoETL.NACHA.csproj", "{8BDB0366-75FD-452F-9AF0-E3ED320575B7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChoETL.NACHATest", "ChoETL.NACHATest\ChoETL.NACHATest.csproj", "{E5F7D6E2-B0CE-4DAE-A8F1-9F0B37EB9FE1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChoETL.NACHATest", "ChoETL.NACHATest\ChoETL.NACHATest.csproj", "{E5F7D6E2-B0CE-4DAE-A8F1-9F0B37EB9FE1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChoETL.NACHA.NETStandard", "ChoETL.NACHA.Core\ChoETL.NACHA.NETStandard.csproj", "{0714B848-9C89-4844-96F2-08EBB6A51D2B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChoETL.NACHA.NETStandard", "ChoETL.NACHA.Core\ChoETL.NACHA.NETStandard.csproj", "{0714B848-9C89-4844-96F2-08EBB6A51D2B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
88 changes: 11 additions & 77 deletions ChoETL.NACHA/ChoETL.NACHA.csproj
Original file line number Diff line number Diff line change
@@ -1,34 +1,10 @@
<?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')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8BDB0366-75FD-452F-9AF0-E3ED320575B7}</ProjectGuid>
<TargetFramework>net8.0-windows</TargetFramework>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ChoETL.NACHA</RootNamespace>
<AssemblyName>ChoETL.NACHA</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</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>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand All @@ -37,53 +13,11 @@
<AssemblyOriginatorKeyFile>ChoETL.NACHA.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="ChoETL, Version=1.2.1.28, Culture=neutral, PublicKeyToken=8138733ed69d3172, processorArchitecture=MSIL">
<HintPath>..\packages\ChoETL.1.2.1.28\lib\net45\ChoETL.dll</HintPath>
</Reference>
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Web" />
<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="ChoNACHAEntryDetailWriter.cs" />
<Compile Include="Records\ChoNACHAReturnAddendaRecord.cs" />
<Compile Include="Records\ChoNACHABatchControlRecord.cs" />
<Compile Include="Records\ChoNACHABatchHeaderRecord.cs" />
<Compile Include="Records\ChoNACHAAddendaRecord.cs" />
<Compile Include="Records\ChoNACHAFileControlRecord.cs" />
<Compile Include="Records\ChoNACHAFileHeaderRecord.cs" />
<Compile Include="Records\ChoNACHAEntryDetailRecord.cs" />
<Compile Include="ChoNACHABatchWriter.cs" />
<Compile Include="Exceptions\ChoNACHAException.cs" />
<Compile Include="ChoNACHAReader.cs" />
<Compile Include="ChoNACHAWriter.cs" />
<Compile Include="Configuration\ChoNACHAConfiguration.cs" />
<Compile Include="Exceptions\ChoNACHAConfigurationException.cs" />
<Compile Include="Enums.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Shared\ChoImmediateOriginValidatorAttribute.cs" />
<Compile Include="Shared\ChoNACHARunningStat.cs" />
</ItemGroup>
<ItemGroup>
<None Include="ChoETL.NACHA.snk" />
<None Include="packages.config" />
<PackageReference Include="ChoETL" Version="1.2.1.28" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters" Version="1.3.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
</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 changes: 0 additions & 36 deletions ChoETL.NACHA/Properties/AssemblyInfo.cs

This file was deleted.

4 changes: 0 additions & 4 deletions ChoETL.NACHA/packages.config

This file was deleted.

97 changes: 27 additions & 70 deletions ChoETL.NACHATest/ChoETL.NACHATest.csproj
Original file line number Diff line number Diff line change
@@ -1,81 +1,38 @@
<?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')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E5F7D6E2-B0CE-4DAE-A8F1-9F0B37EB9FE1}</ProjectGuid>
<TargetFramework>net8.0-windows</TargetFramework>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ChoETL.NACHATest</RootNamespace>
<AssemblyName>ChoETL.NACHATest</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</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>
<UseVSHostingProcess>false</UseVSHostingProcess>
</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="ChoETL, Version=1.2.1.28, Culture=neutral, PublicKeyToken=8138733ed69d3172, processorArchitecture=MSIL">
<HintPath>..\packages\ChoETL.1.2.1.28\lib\net45\ChoETL.dll</HintPath>
</Reference>
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Web" />
<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" />
<ProjectReference Include="..\ChoETL.NACHA\ChoETL.NACHA.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="20151027B0000327P018CHK.ACH" />
<None Include="App.config" />
<None Include="packages.config" />
<PackageReference Include="ChoETL" Version="1.2.1.28" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
<PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters" Version="1.3.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ChoETL.NACHA\ChoETL.NACHA.csproj">
<Project>{8bdb0366-75fd-452f-9af0-e3ed320575b7}</Project>
<Name>ChoETL.NACHA</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>COPY $(ProjectDir)*ACH $(TargetDir)</PostBuildEvent>
</PropertyGroup>
<!-- 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>
-->

<!--<PropertyGroup>
<PostBuildEvent>call postbuild.bat $(TargetPath)</PostBuildEvent>
COPY $(ProjectDir)*ACH $(TargetDir)
</PropertyGroup>-->

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="echo ******** PRE BUILD EVENT ******** &#xD;&#xA;echo Configuration: $(Configuration)&#xD;&#xA;echo DevEnvDir: $(DevEnvDir)&#xD;&#xA;echo OutDir: $(OutDir)&#xD;&#xA;echo ProjectDir: $(ProjectDir)&#xD;&#xA;echo TargetDir: $(TargetDir)&#xD;&#xA;echo TargetPath: $(TargetPath)&#xD;&#xA;echo VisualStudioVersion: $(VisualStudioVersion)&#xD;&#xA;echo AssemblySearchPaths: $(AssemblySearchPaths)&#xD;&#xA;echo AssemblyName: $(AssemblyName)&#xD;&#xA;echo BaseIntermediateOutputPath: $(BaseIntermediateOutputPath)&#xD;&#xA;echo CscToolPath: $(CscToolPath)&#xD;&#xA;echo ******** PRE BUILD EVENT ******** &#xD;&#xA;" />
</Target>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="echo ******** POST BUILD EVENT ******** &#xD;&#xA;echo Output written to $(TargetDir)" />
<Exec Command="COPY $(ProjectDir)*ACH $(TargetDir)" />
</Target>

</Project>
36 changes: 0 additions & 36 deletions ChoETL.NACHATest/Properties/AssemblyInfo.cs

This file was deleted.

4 changes: 0 additions & 4 deletions ChoETL.NACHATest/packages.config

This file was deleted.