diff --git a/README.md b/README.md index adc6fb6..a503366 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Windows .NET INSTALLATION -To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build" +To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.bat" script. To install this module, copy the AlchemyAPI.dll file generated from the previous step into your desired @@ -92,7 +92,7 @@ adding your assigned AlchemyAPI API key. Compiling Code Samples: - 1. Run "build" (Compiles code using .NET) + 1. Run "build.bat" (Compiles code using .NET) Running Code Samples: diff --git a/example/build.bat b/example/build.bat index abdb262..21bb492 100644 --- a/example/build.bat +++ b/example/build.bat @@ -30,3 +30,5 @@ csc combined.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll csc taxonomy.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll csc image.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll + +csc ranked_image_keywords.cs -r:System.Data.dll -r:System.Web.dll -r:AlchemyAPI.dll -r:System.Drawing.dll diff --git a/module/build.bat b/module/build.bat index 1a1767d..38a3eca 100644 --- a/module/build.bat +++ b/module/build.bat @@ -1,4 +1,4 @@ -csc /target:library AlchemyAPI.cs AlchemyAPI_BaseParams.cs AlchemyAPI_CategoryParams.cs AlchemyAPI_ConceptParams.cs AlchemyAPI_ConstraintQueryParams.cs AlchemyAPI_EntityParams.cs AlchemyAPI_KeywordParams.cs AlchemyAPI_LanguageParams.cs AlchemyAPI_TextParams.cs AlchemyAPI_RelationParams.cs AlchemyAPI_TargetedSentimentParams.cs AlchemyAPI_CombinedDataParams.cs AlchemyAPI_TaxonomyParams.cs AlchemyAPI_ImageParams.cs -r:System.Data.dll -r:System.Web.dll +csc /target:library AlchemyAPI.cs AlchemyAPI_BaseParams.cs AlchemyAPI_CategoryParams.cs AlchemyAPI_ConceptParams.cs AlchemyAPI_ConstraintQueryParams.cs AlchemyAPI_EntityParams.cs AlchemyAPI_KeywordParams.cs AlchemyAPI_LanguageParams.cs AlchemyAPI_TextParams.cs AlchemyAPI_RelationParams.cs AlchemyAPI_TargetedSentimentParams.cs AlchemyAPI_CombinedDataParams.cs AlchemyAPI_TaxonomyParams.cs AlchemyAPI_ImageParams.cs AlchemyAPI_RankedImageKeywords.cs -r:System.Data.dll -r:System.Web.dll -r:System.Drawing.dll copy "AlchemyAPI.dll" "..\example\"