-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
When the project is in the new .NET Core csproj format ("SDK-style" project), the custom tool doesn't work. There's no error, but nothing is generated.
The Scripty.MSBuild package doesn't work either; the build fails with this error:
Microsoft.Build.Exceptions.InvalidProjectFileException: The imported project "C:\Users\ThomasLEVESQUE\.nuget\packages\scripty.msbuild\0.7.4\tools\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Sample project that demonstrates both issues:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net462</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Scripty.MsBuild" Version="0.7.4" />
</ItemGroup>
<ItemGroup>
<None Update="Foo.csx">
<Generator>ScriptyGenerator</Generator>
</None>
</ItemGroup>
</Project>Metadata
Metadata
Assignees
Labels
No labels