Michael S Ross and I have had an issue regarding F5 debugging projects based on the Mvc5 templates. We asked about this issue here and here in the F# MVC 5 extension gallery Q&A section.
I believe this issue is due to the fact that the template fsproj files are missing the <Optimize>false</Optimize> element for the Debug configuration. In this scenario, VS shows the Optimize code project setting as unchecked. However, I can see --optimize+ being passed to the compiler (hence the issue we get of "you're trying to debug optimized code").
I am raising this issue and will shortly submit the PR for it.
Michael S Ross and I have had an issue regarding F5 debugging projects based on the Mvc5 templates. We asked about this issue here and here in the F# MVC 5 extension gallery Q&A section.
I believe this issue is due to the fact that the template
fsproj
files are missing the<Optimize>false</Optimize>
element for theDebug
configuration. In this scenario, VS shows the Optimize code project setting as unchecked. However, I can see--optimize+
being passed to the compiler (hence the issue we get of "you're trying to debug optimized code").I am raising this issue and will shortly submit the PR for it.