GUIDProvider.cs 468 B

12345678910111213141516
  1. using System;
  2. namespace Packages.Rider.Editor {
  3. class GUIDProvider : IGUIDGenerator
  4. {
  5. public string ProjectGuid(string projectName, string assemblyName)
  6. {
  7. return SolutionGuidGenerator.GuidForProject(projectName + assemblyName);
  8. }
  9. public string SolutionGuid(string projectName, string extension)
  10. {
  11. return SolutionGuidGenerator.GuidForSolution(projectName, extension); // GetExtensionOfSourceFiles(assembly.sourceFiles)
  12. }
  13. }
  14. }