Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cChevez opened this issue Nov 19, 2021 · 0 comments
Open

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

cChevez opened this issue Nov 19, 2021 · 0 comments

Comments

@cChevez
Copy link

cChevez commented Nov 19, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant