New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I cannot seem to get a project to reference System.Xml.XDocument #552
Comments
Can you share your |
[image: Inline image 1] http://www.medullan.com Andrew Hall On Mon, May 4, 2015 at 11:08 AM, Eilon Lipton notifications@github.com
|
@ahall-medullan I can't see the image you seem to have pasted. Could you paste the json as text? |
{ [image: Inline image 1] http://www.medullan.com Andrew Hall On Mon, May 4, 2015 at 12:49 PM, Murat Girgin notifications@github.com
|
That's because you need to add a reference to it: {
"dependencies": {
"System.Xml.XDocument": "4.0.10-beta-22816"
},
"commands": {
"ConsoleApp": "ConsoleApp"
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.Console": "4.0.0-beta-22816"
}
}
}
} As an example. |
Thanks for the assistance so far; using the project.json you suggested Microsoft.Framework.Runtime.Roslyn.RoslynCompilationException: [image: Inline image 1] http://www.medullan.com Andrew Hall On Mon, May 4, 2015 at 1:00 PM, David Fowler notifications@github.com
|
Whats in your project.lock.json file |
{ "lib/portable-wpa81+wp80+win80+net45+aspnetcore50/System.Console.dll" "lib/portable-wpa81+wp80+win80+net45+aspnetcore50/System.Runtime.dll" "lib/portable-wpa81+wp80+win80+net45+aspnetcore50/System.Text.Encoding.dll" "lib/portable-wpa81+wp80+win80+net45+aspnetcore50/System.Threading.Tasks.dll" "lib/portable-wpa81+wp80+win80+net45+aspnetcore50/System.Xml.ReaderWriter.dll" "lib/portable-wpa81+wp80+win80+net45+aspnetcore50/System.Xml.XDocument.dll" [image: Inline image 1] http://www.medullan.com Andrew Hall On Mon, May 4, 2015 at 1:26 PM, David Fowler notifications@github.com
|
Looks legit. Are you missing the using statement in your code? |
I think I had it before but i can double check... Its working, I think i Respectfully, [image: Inline image 1] http://www.medullan.com Andrew Hall On Mon, May 4, 2015 at 1:48 PM, David Fowler notifications@github.com
|
Another satisfied customer |
On Mac OSX
When I try to compile source code with System.Xml.XDocument then the compiler gives this output
The text was updated successfully, but these errors were encountered: