Visualstudio-docs: Need information about MSBuild for .NET Core vs .NET Framework

Created on 6 Dec 2018  Â·  6Comments  Â·  Source: MicrosoftDocs/visualstudio-docs

See discussion at https://github.com/Microsoft/msbuild/pull/3987#discussion_r239223544 for more info

/cc @rainersigwald @AaronRobinsonMSFT


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 911666fa-55ac-cbc1-ce79-66c058859ad9
  • Version Independent ID: 571eec5d-8fb9-2401-fc4c-8a7896723eb7
  • Content: MSBuild - Visual Studio
  • Content Source: docs/msbuild/msbuild.md
  • Product: visual-studio-dev15
  • GitHub Login: @Mikejo5000
  • Microsoft Alias: mikejo
Pri1 doc-bug msbuiltech visual-studio-dev1prod

Most helpful comment

The docs need to discuss ResolveComReference as another difference. I ended up here after running dotnet test Libraries.sln (in this repo) and getting the error:

  • C:\Program Files\dotnet\sdk\3.1.101\Microsoft.Common.CurrentVersion.targets(2726,5): error : MSB4803: The task "ResolveComReference" is not supported on the .NET Core version of MSBuild. Please use the .NET Framework version of MSBuild. See https://aka.ms/msbuild/MSB4803 for further details.

All 6 comments

Once this is available, we need to point to it from https://aka.ms/msbuild/MSB4803 (which currently just points to the root of the MSBuild docs).

2257 mentions EnableDefaultContentItems

1783 mentions LinkBase

4126 mentions ProjectGuid, TargetFramework, AssemblyTitle, Product, Copyright, OutputPath, and AppendTargetFrameworkToOutputPath

The .NET Core properties will be covered by dotnet/docs#2642.

The docs need to discuss ResolveComReference as another difference. I ended up here after running dotnet test Libraries.sln (in this repo) and getting the error:

  • C:\Program Files\dotnet\sdk\3.1.101\Microsoft.Common.CurrentVersion.targets(2726,5): error : MSB4803: The task "ResolveComReference" is not supported on the .NET Core version of MSBuild. Please use the .NET Framework version of MSBuild. See https://aka.ms/msbuild/MSB4803 for further details.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

suhailmahmood picture suhailmahmood  Â·  3Comments

Crono1981 picture Crono1981  Â·  3Comments

DaanV2 picture DaanV2  Â·  4Comments

wittelw picture wittelw  Â·  3Comments

michael-hawker picture michael-hawker  Â·  4Comments