# Litium 7 not starting: Cannot load a reference assembly for execution

**URL:** <https://forum.litium.com/t/litium-7-not-starting-cannot-load-a-reference-assembly-for-execution/309>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [October 24, 2018, 7:48am UTC](https://forum.litium.com/t/litium-7-not-starting-cannot-load-a-reference-assembly-for-execution/309 "2018-10-24T07:48:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marten](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/marten/32/11_2.png) [@marten](https://forum.litium.com/u/marten)\
**Post date:** [October 24, 2018, 7:48am UTC](https://forum.litium.com/t/litium-7-not-starting-cannot-load-a-reference-assembly-for-execution/309/1 "2018-10-24T07:48:16Z")

</div>

After closing and reopening Visual Studio my local installation of Litium 7 does not start with error:

```
Server Error in '/' Application.
## *Cannot load a reference assembly for execution.*

**Description:** An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

**Exception Details:** System.BadImageFormatException: Cannot load a reference assembly for execution.

```

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/410619ee90082a225a255893cf69e61b1afa5ba5.png)

Litium version: 7.0

---

<div class="post-metadata">

**Author:** ![marten](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/marten/32/11_2.png) [@marten](https://forum.litium.com/u/marten)\
**Post date:** [October 24, 2018, 7:52am UTC](https://forum.litium.com/t/litium-7-not-starting-cannot-load-a-reference-assembly-for-execution/309/2 "2018-10-24T07:52:40Z")

</div>

1. Expand References in the `Litium.Accelerator.Mvc` project
2. Right-click System.Runtime.InteropServices.RuntimeInformation and select properties
3. Change _Copy local_ to _false_
4. Delete the /Bin directory and rebuild the site

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/463a9c32fe9cdf2554892661f98260bbc1c2786e.png)

---

<div class="post-metadata">

**Author:** ![steve.redstorm](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/steve.redstorm/32/14_2.png) [@steve.redstorm](https://forum.litium.com/u/steve.redstorm)\
**Post date:** [October 25, 2018, 7:29am UTC](https://forum.litium.com/t/litium-7-not-starting-cannot-load-a-reference-assembly-for-execution/309/3 "2018-10-25T07:29:04Z")

</div>

I usually just delete the obj and bin folder from Web project and build again, then it runs ok.
