<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><p dir="auto" style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">I am trying to build a CLR dll file in VS22 and dotnet 6.0 that references boost. When I build, I get the following error.<br style="box-sizing:border-box">LNK1104 cannot open file 'libboost_program_options-vc142-mt-x64-1_76.lib'</p><ul dir="auto" style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><li style="box-sizing:border-box;margin-left:0px">This file does exist.</li><li style="box-sizing:border-box;margin-top:0.25em;margin-left:0px">I have restarted to make sure the file isn't locked.</li><li style="box-sizing:border-box;margin-top:0.25em;margin-left:0px">I have tried building as 32 and 64 bit.</li><li style="box-sizing:border-box;margin-top:0.25em;margin-left:0px">I have tried 3 different versions of boost</li></ul><p dir="auto" style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">The problem is reproduced by this project: <a href="https://github.com/MajorMajor0/boostRepro" style="box-sizing:border-box;background-color:transparent;text-decoration-line:none" target="_blank">https://github.com/MajorMajor0/boostRepro</a>.<br style="box-sizing:border-box">Any help would be much appreciated.</p></div></div></div> </blockquote></div></div> </blockquote></div></div>