I am trying to use a solution file with the dotnet plugin.
It seems that solution files are not supported – only .csproj files.
As a simple test case I did the following.
dotnet new sln --name FooBar
dotnet new console --name Foo --output Foo
dotnet new console --name Bar --output Bar
dotnet sln add .\Foo\Foo.csproj
dotnet sln add .\Bar\Bar.csproj
At this point I had a working solution.
I then put together a small yaml file like this:
summary: Snap dotnet solution software
description: Compile a solution
grade: devel # must be ‘stable’ to release into candidate/stable channels
confinement: devmode # use ‘strict’ once you have the right plugs and slots
The snapcraft is able to build and publish the solution, and then it fails.
Is there a way to get the dotnet plugin to support a solution file.