NewGuid() is not recognized by the intellisense in VS 2019 as a valid function

  • Thread starter Thread starter P Tomov
  • Start date Start date
P

P Tomov

Guest
System.Guid does not provide access to NewGuid() function. It is not recognized by intellisence in VS 2019 Professional, v 16.4.29728.190, C#.

In my new installation of VS 2019 Professional, when tried to create a new Guid in C# code: Guid.NewGuid(), the NewGuid() function was not recognized by intellisense. The message when hovered over 'NewGuid()' was: "The type name 'NewGuid' does not exist in the type 'Guid'". But NewGuid() function exists in the metadata of the System.Guid structure. Do I miss an assembly reference in addition to System (which is the default and should be enough)?

Continue reading...
 
Back
Top