Skip to content

VB.NET projects transformation is not supported to .NET 5 #289

Open
@cChevez

Description

Hi, I'm trying to migrate a VB.NET project to .NET5, but there's a line that is not removed, i.e,

...
Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets"
...

I was reviewing your code and the problems seems to be related with the following code:

private static readonly string[] RemoveMSBuildImports =
{
@"$(MSBuildToolsPath)\Microsoft.CSharp.targets",
@"$(MSBuildBinPath)\Microsoft.CSharp.targets",
@"$(MSBuildExtensionsPath)$(MSBuildToolsVersion)\Microsoft.Common.props",
};

Could you please add the same elements but for VB.NET.

private static readonly string[] RemoveMSBuildImports =
{
@"$(MSBuildToolsPath)\Microsoft.VisualBasic.targets",
@"$(MSBuildBinPath)\Microsoft.VisualBasic.targets",

@"$(MSBuildToolsPath)\Microsoft.CSharp.targets",
@"$(MSBuildBinPath)\Microsoft.CSharp.targets",
@"$(MSBuildExtensionsPath)$(MSBuildToolsVersion)\Microsoft.Common.props",
};

Regards.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions