cake-build / cake-build/bakery
duplicated .cake file
- Dominant language
- C#
- Stars
- 30
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
**Using VsCode 1.17 with C# 1.13.0-beta4**
I added the line
```cake
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
```
in a `.cake` file.
Running it the first time worked.
After that, I continued to edit the file.
When I hit Ctrl+Space to get intellisense I noticed another directory of `Cake.Recipe` was downloaded.
Before:

After:

The complete cake script:
```cake
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Openshift",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Openshift",
appVeyorAccountName: "cakecontrib");
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context);
Build.RunDotNetCore();
```
It downloaded another copy of `Cake.Recipe` only when my cursor was in the method `BuildParameters.SetParameters` to get more details about more arguments for the method
Then I get the following error:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.