Closed boechat107 closed 6 years ago
Where in the README? I'm not sure what you are doing with the PackageReferences.
I followed the .NET Core support section and I didn't change anything in the *.fsproj
file generated by the template.
The issue is the Microsoft.NET.Test.Sdk
.
It will add a new file into your build with a Main
.
But you don't want this synthesized main, you want to keep your own.
So add this to a PropertyGroup
:
<GenerateProgramFile>false</GenerateProgramFile>
@boechat107 I released a new version of a template with the
<GenerateProgramFile>false</GenerateProgramFile>
line in PropertyGroup
. So right now everything should be ok.
Thanks, @0x53A and @MNie. I'll check it out on the weekend.
Perfect! It is working smoothly.
Thanks!
My settings:
dotnet
version: 2.1.302I just followed the instructions on REAME and I get a build failure. I think I'm missing something very simple.
I'm not an experienced .NET developer, but the compilation order seems correct to me in ExpectoTest.fsproj: