The csi project targets netcoreapp3.1 and outputs an Exe, so it uses Microsoft.NETCore.App.Host.linux-x64/3.1.18:
|
<PropertyGroup> |
|
<OutputType>Exe</OutputType> |
|
<RootNamespace>CSharpInteractive</RootNamespace> |
|
<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks> |
|
</PropertyGroup> |
This is a prebuilt dependency during source-build. The apphost pack contains binaries, so it isn't possible to make it available via https://github.com/dotnet/source-build-reference-packages.
I see that in the Microsoft-built SDK, csi doesn't seem to make it in, even as a framework-dependent DLL:
$ find . -iname csi*
[no output]
As a sanity check, csc does make it into the SDK as a framework-dependent assembly:
$ find . -iname csc*
./sdk/6.0.100-rc.2.21505.57/Roslyn/bincore/csc.deps.json
./sdk/6.0.100-rc.2.21505.57/Roslyn/bincore/csc.dll
./sdk/6.0.100-rc.2.21505.57/Roslyn/bincore/csc.runtimeconfig.json
csc uses <UseAppHost>false</UseAppHost>, which avoids this prebuilt:
|
<UseAppHost>false</UseAppHost> |
- Is it safe to add to
csi for source-build?
- Is the framework-dependent executable needed for the Microsoft build, or can we remove apphost usage altogether for
csi to unify the builds?
@sharwell @jaredpar
The
csiproject targetsnetcoreapp3.1and outputs an Exe, so it usesMicrosoft.NETCore.App.Host.linux-x64/3.1.18:roslyn/src/Interactive/csi/csi.csproj
Lines 5 to 9 in 1a415d2
This is a prebuilt dependency during source-build. The apphost pack contains binaries, so it isn't possible to make it available via https://github.com/dotnet/source-build-reference-packages.
I see that in the Microsoft-built SDK,
csidoesn't seem to make it in, even as a framework-dependent DLL:cscuses<UseAppHost>false</UseAppHost>, which avoids this prebuilt:roslyn/src/Compilers/CSharp/csc/csc.csproj
Line 13 in 1a415d2
csifor source-build?csito unify the builds?@sharwell @jaredpar
fsi/fscand I'll be asking them, too: Resolve "uncategorized" prebuilts for the fsharp repo for 6.0 source-build#2526. I learned that source-build is no longer going with upgrading repos to build against the newest framework during source-build as the way to remove this kind of prebuilt usage. (Which is great news for source-build maintainability.)