-
Notifications
You must be signed in to change notification settings - Fork 334
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
Odd DLL version numbering preventing debugging #533
Comments
Local builds always use that file version to avoid conflicts with official builds. I think you can do something like AspNetKatana/eng/common/build.ps1 Line 41 in 43996b4
|
Cheers for the pointer, @Tratcher. Build (after a clean 😉) was successful (no warnings or errors), but, alas, still funky file version and no digital signature… |
@wtgodbe any hints? |
I think you need to pass in an |
Cheers, both. 😊 Getting closer, @wtgodbe: now I’m getting a similar-looking file version to the original one, and a product version of the from
Now, I guess there is really no [safe] workaround for this unless… I’m Microsoft. 😅 Is it really my only option to replace the whole Microsoft.Owin stack in my solution(s) with the debug versions and change the What do you guys normally do when you test new versions in existing solutions? |
passing |
In EF6 and aspnet/AspNetWebStack there is a custom target I don't know if that is implemented in this repo, but it would be useful, and you could check there on how it is implemented. |
Thanks again, William, for your patience… I did use the And thank you, Cynthia, for your suggestion: I was vaguely aware about ways of removing strong name validation (for some assemblies only or globally), but am no expert and am always a bit worried of doing any of that on a corporate machine… 😅 |
I do apologize in advance for the very trivial question, but need to debug a pesky Sitecore/OWIN/SAML single logout issue, where the authentication user principal is getting dropped at the request stage —I already know it’s neither a Microsoft.Owin nor a Sustainsys.Saml2 issue, as virtually the same configuration is used in a sample MVC app, where everything works as expected, but I do need to look inside the Microsoft.Owin.Security.AuthenticationResponseGrant method to see what’s actually happening (verbose logging doesn’t really help me).
So, I have downloaded the latest 4.2.2 release hoping to recompile the sources in non-optimized mode. Recompiling works fine, but, whereas the generated Product Version is correctly 4.2.2, the File Version gets set to an odd (for me, at least!) 42.42.42.42424, so of course this won’t get recognized as the right version (and manually changing the version would of course mess up the strong name signature).
Does anyone know how I can get the solution to generate the correct file version number? Otherwise, if the non-optimized versions of the Microsoft.Owin DLLs are already available somewhere, I’d be grateful if someone could let me know where I can find them. 😊
Many thanks.
The text was updated successfully, but these errors were encountered: