# 'Particle' was not declared in this scope

**URL:** <https://community.particle.io/t/particle-was-not-declared-in-this-scope/18285>\
**Category:** Troubleshooting\
**Created:** [December 14, 2015, 10:35pm UTC](https://community.particle.io/t/particle-was-not-declared-in-this-scope/18285 "2015-12-14T22:35:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![paulcdale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/paulcdale/32/4108_2.png) [@paulcdale](https://community.particle.io/u/paulcdale)\
**Post date:** [December 14, 2015, 10:35pm UTC](https://community.particle.io/t/particle-was-not-declared-in-this-scope/18285/1 "2015-12-14T22:35:24Z")

</div>

I am using the Web IDE to compile two previously working Particle Core applications and I get the “‘Particle’ was not declared in this scope” error with the line number pointing at a “Particle.publish” function.

This is unchanged and previously worked.

Reverting back to “Spark.publish” removes the errors, has something changed in the Web IDE or the firmware compiler?

---

_[View the full topic](https://community.particle.io/t/particle-was-not-declared-in-this-scope/18285)._
