Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Symbol indexes could not be retrieved. #1239

Closed
Saurbaum opened this issue Jul 29, 2021 · 6 comments
Closed

Error: Symbol indexes could not be retrieved. #1239

Saurbaum opened this issue Jul 29, 2021 · 6 comments

Comments

@Saurbaum
Copy link

Nightly builds using MailKit are generating an error

  | Indexed source information could not be retrieved from D:\Dev\ClearSCADA_Project\ClearSCADA\Binaries\Win32\Release\MailKit.pdb. Error: Symbol indexes could not be retrieved.
MailKit.pdb. Error: Symbol indexes could not be retrieved.

Windows using mailkit 2.13.0 targeting .net 4.8

MSBuild error produced running under VS2019 msbuild

I saw a similar issue in another project where the pdbs were in some kind of hybrid PDB format that Visual Studio didn't know how to handle correctly.

@Saurbaum
Copy link
Author

AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#1098 this is the other project I found them in.

@jstedfast
Copy link
Owner

Thanks, I'll try to look into this.

@jstedfast
Copy link
Owner

What I read seems to suggest that the <DebugType>portable</DebugType> pdb format isn't loadable by .NET Framework <= 4.7.0 but is for versions after that. Oddly, you are having issues with .NET Framework v4.8.

Maybe I can use <DebugType>full</DebugType> for .NET Framework versions of MimeKit/MailKit?

@jstedfast
Copy link
Owner

https://stackoverflow.com/questions/46902377/what-is-the-difference-between-using-debugtypefull-debugtype-and-debugtype

This same explanation is echoed in the link you sent me (or maybe it was a link to another discussion from the link you provided, I'm not sure).

@jstedfast
Copy link
Owner

More confirmation of what was said above: dotnet/sdk#1238

@Saurbaum
Copy link
Author

Much appreciated.

Elanis pushed a commit to Elanis/portfolio that referenced this issue Dec 13, 2022
Bumps [MailKit](https://github.com/jstedfast/MailKit) from 2.13.0 to 2.15.0.
<details>
<summary>Changelog</summary>

*Sourced from [MailKit's changelog](https://github.com/jstedfast/MailKit/blob/master/ReleaseNotes.md).*

> ### MailKit 2.15.0 (2021-08-18)
>
> * Use DebugType=full for .NET Framework v4.x. (issue [#1239](jstedfast/MailKit#1239))
> * Updated GMail SSL certificate serial numbers and fingerprints.
> * Small NTLM code improvements.
>
> ### MailKit 2.14.0 (2021-07-28)
>
> * Added support for logging timestamps in the `ProtocolLogger` (see the `LogTimestamps` and `TimestampFormat`
>   properties on `ProtocolLogger`).
> * Added support for automatically redacting user credentials in protocol logs. To enable this, set the
>   `ProtocolLogger.RedactSecrets` property to `true`. (issue [#1174](jstedfast/MailKit#1174))
> * Added the GetMessageSizeAsync() method to the IMailSpool interface.
>   (issue [#1233](jstedfast/MailKit#1233))
> * Added a work-around to the IMAP INTERNALDATE parser to handle invalid dates such as "00-Jan-0000 00:00:00 +0000"
>   which appears in Domino IMAP server responses, likely when the INTERNALDATE value is uninitialized in the database.
>   (issue [#1236](jstedfast/MailKit#1236))
> * Make sure to dispose X509Certificates in .NET >= 4.6.
> * Re-added NTLM as one of the default supported SASL mechanisms.
> * Updated GMail SSL certificate serial numbers and fingerprints.
</details>
<details>
<summary>Commits</summary>

- [`6ff7091`](jstedfast/MailKit@6ff7091) Bumped version to 2.15.0
- [`a645991`](jstedfast/MailKit@a645991) Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 ([#1242](jstedfast/MailKit#1242))
- [`caa02b9`](jstedfast/MailKit@caa02b9) NTLM improvements
- [`b206436`](jstedfast/MailKit@b206436) Drop expired GMail SSL certificates
- [`945508f`](jstedfast/MailKit@945508f) Updated GMail SSL certificate serial #'s and fingerprints
- [`e188a02`](jstedfast/MailKit@e188a02) Bump NUnit3TestAdapter from 3.17.0 to 4.0.0 ([#1218](jstedfast/MailKit#1218))
- [`3f54627`](jstedfast/MailKit@3f54627) Use DebugType=full for .NET Framework v4.x
- [`1e34019`](jstedfast/MailKit@1e34019) Bumped version to 2.14.0
- [`ca0751c`](jstedfast/MailKit@ca0751c) If an invalid INTERNALDATE is encountered, just use DateTimeOffset.MinValue
- [`f1323e6`](jstedfast/MailKit@f1323e6) Update GMail SSL certificate info
- Additional commits viewable in [compare view](jstedfast/MailKit@2.13.0...2.15.0)
</details>

<br />

Reviewed-on: https://gitea.dysnomia.studio/elanis/portfolio/pulls/6
Co-authored-by: elanis <[email protected]>
Co-committed-by: elanis <[email protected]>
Elanis pushed a commit to Dysnomia-Studio/dysnomia-website that referenced this issue Jul 14, 2023
Bumps [MailKit](https://github.com/jstedfast/MailKit) from 2.13.0 to 2.15.0.
<details>
<summary>Changelog</summary>

*Sourced from [MailKit's changelog](https://github.com/jstedfast/MailKit/blob/master/ReleaseNotes.md).*

> ### MailKit 2.15.0 (2021-08-18)
>
> * Use DebugType=full for .NET Framework v4.x. (issue [#1239](jstedfast/MailKit#1239))
> * Updated GMail SSL certificate serial numbers and fingerprints.
> * Small NTLM code improvements.
>
> ### MailKit 2.14.0 (2021-07-28)
>
> * Added support for logging timestamps in the `ProtocolLogger` (see the `LogTimestamps` and `TimestampFormat`
>   properties on `ProtocolLogger`).
> * Added support for automatically redacting user credentials in protocol logs. To enable this, set the
>   `ProtocolLogger.RedactSecrets` property to `true`. (issue [#1174](jstedfast/MailKit#1174))
> * Added the GetMessageSizeAsync() method to the IMailSpool interface.
>   (issue [#1233](jstedfast/MailKit#1233))
> * Added a work-around to the IMAP INTERNALDATE parser to handle invalid dates such as "00-Jan-0000 00:00:00 +0000"
>   which appears in Domino IMAP server responses, likely when the INTERNALDATE value is uninitialized in the database.
>   (issue [#1236](jstedfast/MailKit#1236))
> * Make sure to dispose X509Certificates in .NET >= 4.6.
> * Re-added NTLM as one of the default supported SASL mechanisms.
> * Updated GMail SSL certificate serial numbers and fingerprints.
</details>
<details>
<summary>Commits</summary>

- [`6ff7091`](jstedfast/MailKit@6ff7091) Bumped version to 2.15.0
- [`a645991`](jstedfast/MailKit@a645991) Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0 ([#1242](jstedfast/MailKit#1242))
- [`caa02b9`](jstedfast/MailKit@caa02b9) NTLM improvements
- [`b206436`](jstedfast/MailKit@b206436) Drop expired GMail SSL certificates
- [`945508f`](jstedfast/MailKit@945508f) Updated GMail SSL certificate serial #'s and fingerprints
- [`e188a02`](jstedfast/MailKit@e188a02) Bump NUnit3TestAdapter from 3.17.0 to 4.0.0 ([#1218](jstedfast/MailKit#1218))
- [`3f54627`](jstedfast/MailKit@3f54627) Use DebugType=full for .NET Framework v4.x
- [`1e34019`](jstedfast/MailKit@1e34019) Bumped version to 2.14.0
- [`ca0751c`](jstedfast/MailKit@ca0751c) If an invalid INTERNALDATE is encountered, just use DateTimeOffset.MinValue
- [`f1323e6`](jstedfast/MailKit@f1323e6) Update GMail SSL certificate info
- Additional commits viewable in [compare view](jstedfast/MailKit@2.13.0...2.15.0)
</details>

<br />

Reviewed-on: https://gitea.dysnomia.studio/elanis/dysnomia-website/pulls/9
Co-authored-by: elanis <[email protected]>
Co-committed-by: elanis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants