Open rodrigoramos opened 3 years ago
Hi, thanks for reporting - I will take a look at this
For now I have only workaround please add in the top of the script
or add this - but when using this other references can be needed
Unfortunately that does not work for us. The only workaround that worked for us is by adding:
#addin nuget:?package=System.Data.SqlClient&version=4.8.3
Description
Creating a new cake script using
dotnet tool
and try to use any alias from Cake.SqlServer, we get the following error:Steps to Reproduce
Steps
Create a build.cake script with the following contents:
Expected Result
The script should run without issues and create the database "EXAMPLE_DATABASE"
Actual Result
The following output (with errors) is presented:
Environment
SO: Linux Manjaro Dotnet SDK: 5.0.400 Dotnet Runtime: