troubleshooting Question

asp.ne error, "reference required to assembly"

Avatar of jordanking
jordankingFlag for Canada asked on
.NET ProgrammingASP.NET
5 Comments1 Solution353 ViewsLast Modified:
Hello,

I have an aspx page that is going to display the rss feed content generated on the page load event from the backend sql server db.

when I try to build the project, i get the following error:
Error      1      Reference required to assembly 'System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' containing the implemented interface 'System.Xml.Serialization.IXmlSerializable'. Add one to your project.      C:\.....\NewsRss.aspx.vb      97      42      News

on the following lines with "Atom10FeedFormatter" and "Rss20FeedFormatter" :
            Dim outputSettings As New XmlWriterSettings()
            outputSettings.Indent = True
            Dim feedWriter As XmlWriter = XmlWriter.Create(Response.OutputStream, outputSettings)

            If bAtomOut Then     
                Dim atomFormatter As New Atom10FeedFormatter(myFeed)
                atomFormatter.WriteTo(feedWriter)
            ElseIf bRssOut Then
                Dim rssFormatter As New Rss20FeedFormatter(myFeed)
                rssFormatter.WriteTo(feedWriter)
            End If
myFeed is the sydicationfeed object with the record values


My web project has a reference to:
Name:                      system.xml
location:                  C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
version:                   2.0.0.0
runtime version:      v2.0.50727

I think this is exactly what it is looking for, i can't figure out how to resolve this required reference.  

Any help is greatly appreciated

thanks


ASKER CERTIFIED SOLUTION
jordanking

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros