trophy

Long Only, ETF Alpha Streams Competition with $27,500 Prize Pool      T-17

Back

Error MSB3821: Couldn't process file WinForms\LeanWinForm.resx

After downloading LEAN and opening it in Visual Studio (I'm still on VS 2017), when you attempt to build it for the first time, you may encounter this error:

error MSB3821: Couldn't process file WinForms\LeanWinForm.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file

The fix I found for this is to locate the file in the code base (...\Lean-master\UserInterface\WinForms\), right click on the file name (LeanWinForm.resx), and select properties.  At the lower right hand corner of the properties panel, you will see a checkbox for the option 'Unblock'.  Click on the box to check it, save the properties, and then rebuild LEAN.  This should allow you to build without the error.

Remark: Once you have checked this option, if you open the properties again, the option box will not be present.  

Reference:  Link below on StackOverflow, 2nd answer. 

https://stackoverflow.com/questions/51348919/couldnt-process-file-resx-due-to-its-being-in-the-internet-or-restricted-zone-o#51349305

 

Update Backtest







0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Thank you for sharing! Never had this error myself, but it's good that we now have a searchable fix in the forums!

1

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed