diff --git a/README.md b/README.md index 288b649..c9352e6 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,7 @@ For more information about how to use it, go to https://github.com/fpanaccia/Wkh # But i don't want to see another repository -You will need to put this files with this following structure, this need to be done because nuget cant copy those files, only puts a link with the full path and will only work on your computer. - -The structure will need to be on the folder of your project - - . - ├── Example - | ├── Example.csproj - | └── Rotativa - | | ├── Linux - | | | └── wkhtmltopdf - | | ├── Mac - | | | └── wkhtmltopdf - | | └── Windows - | | └── wkhtmltopdf.exe - └── Example.sln - -Those files will need to be included in your project with the propierty "Copy Always", then add to your Startup.cs in ConfigureServices method, this line "services.AddWkhtmltopdf();", like this +Add to your Startup.cs in ConfigureServices method, this line "services.AddWkhtmltopdf();", like this // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) diff --git a/Wkhtmltopdf.NetCore/Wkhtmltopdf.NetCore.csproj b/Wkhtmltopdf.NetCore/Wkhtmltopdf.NetCore.csproj index 9b5dad3..3c4a3d8 100644 --- a/Wkhtmltopdf.NetCore/Wkhtmltopdf.NetCore.csproj +++ b/Wkhtmltopdf.NetCore/Wkhtmltopdf.NetCore.csproj @@ -26,6 +26,7 @@ For more information about how to use it, go to https://github.com/fpanaccia/Wkh + diff --git a/Wkhtmltopdf.NetCore/build/Wkhtmltopdf.NetCore.props b/Wkhtmltopdf.NetCore/build/Wkhtmltopdf.NetCore.props new file mode 100644 index 0000000..c86f818 --- /dev/null +++ b/Wkhtmltopdf.NetCore/build/Wkhtmltopdf.NetCore.props @@ -0,0 +1,14 @@ + + + + + + + + + + + + + +