Asp.Net 5(Core 1.0) Class Library System.Text.Regularexpression

Asked

Viewed 84 times

3

How to use the namespace System.Text.Regularexpression in Asp.Net 5, I’m with a project and went to upgrade it to Asp.net 5, my problem was that I can’t use regular expressions in it and n can reference the namespace in question.

  • Just one addendum: ASP.NET is now called ASP.NET Core 1.0

  • jbueno, you know how to solve it? I already knew this, and Asp.net core will die too, because it will be attached to . net core q is about to leave, if I can help resolve I thank you...!

  • 1

    I don’t know much about . NET Core yet, I’m looking for something to help you.

1 answer

1


I found this issue in the beta issues yet and was resolved by adding the "System.Text.Regularexpressions" dependency to the project.json.

From what I understand, Regex is now an isolated System.Text library

Source: https://github.com/dotnet/coreclr/issues/1454

Browser other questions tagged

You are not signed in. Login or sign up in order to post.