forked from nissl-lab/toxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add build scripts for .NET 2, .NET 4 and .NET 4.5
- Loading branch information
Showing
6 changed files
with
191 additions
and
4 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ToxyFramework", "ToxyFramework\ToxyFramework_dotnet45.csproj", "{CCB814A5-A750-4B96-AFD3-F7E4D868F231}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Toxy.Test", "Toxy.Test\Toxy.Test.csproj", "{E16C30D3-D4EB-4608-A292-5BCFBE86F230}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{CCB814A5-A750-4B96-AFD3-F7E4D868F231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{CCB814A5-A750-4B96-AFD3-F7E4D868F231}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{CCB814A5-A750-4B96-AFD3-F7E4D868F231}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{CCB814A5-A750-4B96-AFD3-F7E4D868F231}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{E16C30D3-D4EB-4608-A292-5BCFBE86F230}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{E16C30D3-D4EB-4608-A292-5BCFBE86F230}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{E16C30D3-D4EB-4608-A292-5BCFBE86F230}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{E16C30D3-D4EB-4608-A292-5BCFBE86F230}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.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>{CCB814A5-A750-4B96-AFD3-F7E4D868F231}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Toxy</RootNamespace> | ||
<AssemblyName>Toxy</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>..\Build\Net45\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>..\Build\Net45\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="DCSoft.RTF"> | ||
<HintPath>..\3rdParty\DCSoft.RTF.dll</HintPath> | ||
</Reference> | ||
<Reference Include="HtmlAgilityPack"> | ||
<HintPath>..\3rdParty\HtmlAgilityPack.dll</HintPath> | ||
</Reference> | ||
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\3rdParty\NPOI\dotnet2\ICSharpCode.SharpZipLib.dll</HintPath> | ||
</Reference> | ||
<Reference Include="itextsharp"> | ||
<HintPath>..\3rdParty\itextsharp-dll-core\itextsharp.dll</HintPath> | ||
</Reference> | ||
<Reference Include="LumenWorks.Framework.IO"> | ||
<HintPath>..\3rdParty\LumenWorks.Framework.IO.dll</HintPath> | ||
</Reference> | ||
<Reference Include="NPOI, Version=2.1.3.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\3rdParty\NPOI\dotnet4\NPOI.dll</HintPath> | ||
</Reference> | ||
<Reference Include="NPOI.OOXML, Version=2.1.3.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\3rdParty\NPOI\dotnet4\NPOI.OOXML.dll</HintPath> | ||
</Reference> | ||
<Reference Include="NPOI.OpenXml4Net, Version=2.1.3.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\3rdParty\NPOI\dotnet4\NPOI.OpenXml4Net.dll</HintPath> | ||
</Reference> | ||
<Reference Include="NPOI.OpenXmlFormats, Version=2.1.3.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\3rdParty\NPOI\dotnet4\NPOI.OpenXmlFormats.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="Thought.vCards"> | ||
<HintPath>..\3rdParty\Thought.vCards\Thought.vCards.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="3rdParty\DateTimeParser.cs" /> | ||
<Compile Include="3rdParty\EMLReader.cs" /> | ||
<Compile Include="Entities\ToxyAddress.cs" /> | ||
<Compile Include="Entities\ToxyBusinessCard\ToxyBusinessCard.cs" /> | ||
<Compile Include="Entities\ToxyBusinessCard\ToxyBusinessCards.cs" /> | ||
<Compile Include="Entities\ToxyBusinessCard\ToxyContact.cs" /> | ||
<Compile Include="Entities\ToxyDom\ToxyDom.cs" /> | ||
<Compile Include="Entities\ToxyDom\ToxyNode.cs" /> | ||
<Compile Include="Entities\ToxyName.cs" /> | ||
<Compile Include="Entities\ToxySpreadsheet\MergeCellRange.cs" /> | ||
<Compile Include="Entities\ToxySpreadsheet\ToxyCell.cs" /> | ||
<Compile Include="Entities\ToxySpreadsheet\ToxyRow.cs" /> | ||
<Compile Include="Entities\ToxySpreadsheet\ToxyTable.cs" /> | ||
<Compile Include="Parsers\EMLTextParser.cs" /> | ||
<Compile Include="Parsers\HtmlDomParser.cs" /> | ||
<Compile Include="IDomParser.cs" /> | ||
<Compile Include="IEmailParser.cs" /> | ||
<Compile Include="IDocumentParser.cs" /> | ||
<Compile Include="Entities\IToxyProperties.cs" /> | ||
<Compile Include="Parsers\EMLEmailParser.cs" /> | ||
<Compile Include="Parsers\ExcelSpreadsheetParser.cs" /> | ||
<Compile Include="ITextParser.cs" /> | ||
<Compile Include="ParserContext.cs" /> | ||
<Compile Include="ISpreadsheetParser.cs" /> | ||
<Compile Include="Parsers\PDFTextParser.cs" /> | ||
<Compile Include="Parsers\RTFTextParser.cs" /> | ||
<Compile Include="Parsers\VCardDocumentParser.cs" /> | ||
<Compile Include="Parsers\VCardTextParser.cs" /> | ||
<Compile Include="Parsers\WordDocumentParser.cs" /> | ||
<Compile Include="Entities\ToxyDocument.cs" /> | ||
<Compile Include="Entities\ToxyEmail.cs" /> | ||
<Compile Include="Entities\ToxySpreadsheet\ToxySpreadsheet.cs" /> | ||
<Compile Include="ParserFactory.cs" /> | ||
<Compile Include="Parsers\PlainTextParser.cs" /> | ||
<Compile Include="Parsers\CSVSpreadsheetParser.cs" /> | ||
<Compile Include="Parsers\PDFDocumentParser.cs" /> | ||
<Compile Include="Parsers\WordTextParser.cs" /> | ||
<Compile Include="Parsers\XMLDomParser.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Utility.cs" /> | ||
</ItemGroup> | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@echo off | ||
|
||
set fdir=%WINDIR%\Microsoft.NET\Framework64 | ||
|
||
if not exist %fdir% ( | ||
set fdir=%WINDIR%\Microsoft.NET\Framework | ||
) | ||
|
||
set msbuild=%fdir%\v4.0.30319\msbuild.exe | ||
|
||
%msbuild% ToxyFramework\ToxyFramework_dotnet45.csproj /p:Configuration=Release /t:Rebuild /p:OutputPath=..\Build\Net45\Release | ||
|
||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% ToxyFramework\ToxyFramework_dotnet4.csproj /p:Configuration=Release /t:Rebuild /p:OutputPath=..\Build\Net40\Release | ||
|
||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% ToxyFramework\ToxyFramework.csproj /p:Configuration=Release /t:Rebuild /p:OutputPath=..\Build\Net20\Release | ||
|
||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% ToxyFramework\ToxyFramework_dotnet45.csproj /p:Configuration=Debug /t:Rebuild /p:OutputPath=..\Build\Net45\Debug | ||
|
||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% ToxyFramework\ToxyFramework_dotnet4.csproj /p:Configuration=Debug /t:Rebuild /p:OutputPath=..\Build\Net40\Debug | ||
|
||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% ToxyFramework\ToxyFramework.csproj /p:Configuration=Debug /t:Rebuild /p:OutputPath=..\Build\Net20\Debug | ||
|
||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
pause |