dotnet / netcorecli-fsc

[DEPRECATED] F# and .NET Core SDK working together

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pack project files should not be .csproj

enricosada opened this issue · comments

dotnet pack support all .*proj, there is no need for FSharp.NET.Sdk.csproj to be a .csproj because it's just used to create a nupkg with content files, no c# files/assembly exists.
Same for FSharp.Sdk

  • so rename src/FSharp.NET.Sdk/FSharp.NET.Sdk.csproj to FSharp.NET.Sdk.proj
  • add property PackProjectInputFile set to project name (or full path of current project using known msbuild prop?)
  • the --no-build arg passed to dotnet pack should be embdded in FSharp.NET.Sdk.proj as another msbuild prop, so just dotnet pack will do