Skip to content

Remove prebuilt dependency on jnm2.ReferenceAssemblies.net35, now handled by Microsoft.NETFramework.ReferenceAssemblies #6935

@dagood

Description

@dagood

The jnm2.ReferenceAssemblies.net35 1.0.1 package is a prebuilt dependency for source-build 6.0:

<PackageReference Include="jnm2.ReferenceAssemblies.net35" PrivateAssets="All" />

<PackageReference Update="jnm2.ReferenceAssemblies.net35" Version="1.0.1" />

The package is deprecated: https://www.nuget.org/packages/jnm2.ReferenceAssemblies.net35/1.0.1

image

I think it can be removed without adding anything else back in, because the SDK will automatically use the official reference package to build the net35 target framework.

Maybe this also needs to be removed to prevent downgrade (or maybe it needs an update to the new version that supports net35):

<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
<GlobalPackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>


This usage doesn't show up in the prebuilt report--I suppose due to MSBuild.SourceBuild.slnf:

<PackageReference Include="jnm2.ReferenceAssemblies.net35" PrivateAssets="All" />


I'm trying out a targeted removal of the reference in src/StringTools/StringTools.csproj for source-build 6.0, but maybe something broader could be done here.

Metadata

Metadata

Assignees

Labels

Area: Our Own BuildProblems affecting the build or build infrastructure of the MSBuild repo itself.Breaking ChangeFor considerationUsed for items on the backlog to raise them to the top of that list for discussionregressiontriaged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions