diff --git a/Source/Generator.Rewrite/Program.cs b/Source/Generator.Rewrite/Program.cs index a204eab3..0dfae663 100644 --- a/Source/Generator.Rewrite/Program.cs +++ b/Source/Generator.Rewrite/Program.cs @@ -65,7 +65,7 @@ namespace OpenTK.Rewrite var read_params = new ReaderParameters(); var write_params = new WriterParameters(); var pdb = Path.ChangeExtension(file, "pdb"); - var mdb = Path.ChangeExtension(file, "mdb"); + var mdb = file + ".mdb"; ISymbolReaderProvider provider = null; if (File.Exists(pdb)) {