pack project files should not be .csproj
enricosada opened this issue · comments
Enrico Sada commented
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
toFSharp.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 todotnet pack
should be embdded inFSharp.NET.Sdk.proj
as another msbuild prop, so justdotnet pack
will do