Scripty icon indicating copy to clipboard operation
Scripty copied to clipboard

Scripty still runs even if file is excluded from project

Open naasking opened this issue 8 years ago • 3 comments

Scripty still tries to run the .csx file, even if it's excluded from project.

naasking avatar Feb 02 '18 15:02 naasking

Note that this may be a VS 2017-specific issue, because I've had similar issues where it tries to build regular .cs files that are excluded from the project file too.

naasking avatar Feb 02 '18 15:02 naasking

Is this one of the new SDK-style project files or an older classic .csproj file?

daveaglick avatar Feb 03 '18 00:02 daveaglick

Brand new project .NET standard project started in VS 2017, but it has a .csproj file. VS 2017 has been very weird so far. For instance, if I exclude the .csx file and the generated .cs file then try to build, it still tries to build the generated .cs file. I have to actually delete the generated file to build properly, so I'm not sure this is Scripty's doing.

naasking avatar Feb 03 '18 15:02 naasking