diff --git a/.gitignore b/.gitignore index b34fbd3ac..04d00da67 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,5 @@ test/FsAutoComplete.Tests.Lsp/TestResults/ .tool-versions BenchmarkDotNet.Artifacts/ -*.sarif \ No newline at end of file +*.sarif +artifacts diff --git a/Directory.Build.props b/Directory.Build.props index d63f1e4e3..2716d537e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,6 +3,7 @@ FsAutoComplete FsAutoComplete + $(MSBuildThisFileDirectory)artifacts Apache-2.0 $(NoWarn);3186,0042 diff --git a/src/FsAutoComplete/FsAutoComplete.fsproj b/src/FsAutoComplete/FsAutoComplete.fsproj index 9784db058..b1015b2e4 100644 --- a/src/FsAutoComplete/FsAutoComplete.fsproj +++ b/src/FsAutoComplete/FsAutoComplete.fsproj @@ -2,9 +2,11 @@ Exe - net6.0 + net6.0;net7.0;net8.0 net6.0;net7.0 net6.0;net7.0;net8.0 + + win-x64;linux-x64;linux-arm64;osx-x64;osx-arm64;linux-musl-x64;linux-musl-arm64 fsautocomplete true true @@ -17,6 +19,10 @@ en true true + true + true + embedded + true @@ -64,6 +70,12 @@ $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage + + + + + + @@ -72,5 +84,37 @@ Include="@(ReferenceCopyLocalPaths -> WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" /> + + + + + <_RIDS Include="$(RuntimeIdentifiers)" /> + + <_TFMS + Include="$(TargetFrameworks)" + RID="%(_RIDS.Identity)" /> + + <_RIDSpecificFSACBuild + Include="$(MSBuildThisFile)" + AdditionalProperties="RuntimeIdentifier=%(_TFMS.RID);TargetFramework=%(_TFMS.Identity)" /> + + + + + +