Here’s director Joss Whedon during a recent interview for Empire Film Podcast:
I was like, ‘And Spider-Man, we could [include him in Avengers 2 also], cause Sony had approached us during the first movie about a little integration. So I would have put both [Captain Marvel and Spider-Man] in, but neither of the deals were made. And then they were like, ‘We’re making a Captain Marvel movie and we’ve got Spider-Man as a property,’ and I’m like, ‘I’ve already locked my film, you fuckers! Thanks for nothing.’
This marks the second time that Marvel attempted to cross the Spider-Man character (world) into the Marvel Cinematic Universe. As you may recall, in 2012 when both the first Avengers film and The Amazing Spider-Man released in theaters, Marvel and Sony almost reached an agreement to include the Oscorp tower as apart of the New York Skyline. However, timing was an issue and unlike today the landmark deal for Spider-Man hadn’t happen.
It also seems like Joss Whedon has been venting over the last couple of weeks doing press tours for Age of Ultron. Its just an observation that I’ve noticed when watching his interviews. As for Spider-Man, we can expect a casting announcement in the coming weeks as the character makes his debut in Captain America: Civil War. Captain Marvel will get her solo film in 2018.