Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal Guid? getOrCreateStagedUserId()
- {
- string path = Path.Combine(rootAppDirectory, "packages", ".betaId");
- Guid result = default(Guid);
- try
- {
- if (!Guid.TryParse(File.ReadAllText(path, Encoding.UTF8), out result))
- {
- throw new Exception("File was read but contents were invalid");
- }
- this.Log().Info("Using existing staging user ID: {0}", result.ToString());
- return result;
- }
- // ..etc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement