Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
When I try to include the namespace System.Text.Json, I am given the following error:
The type or namespace called 'JSON' does not exist in the namespace 'System.Text'. Are you missing an assembly reference?
I need this for serializing objects and I am currently using Repl.it on a Chromebook. Have I done something wrong and if not, is there some other way of solving this?
I can not upload an entire folder (limitations when using Repl.it) so solutions like json.net will likely not work.
System.Text.Json is new namespace, you need to install it as Nuget package.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am trying to use an dll, i added a reference to it and then tried to use it in my project, but it says that it doesnt recognize the name space. Sorry i am not really experienced.
The using directive requires a namespace. Namespaces are separated by dots, making Fasm.NET two namespaces where NET would be a child of Fasm, which I guess is not the case for the library. The IntelliSense menu should show you examples of existing namespaces once you type the first character(s).
Though, judging from the Fasm library's sources it seems the complete namespace is:
Binarysharp.Assemblers.Fasm
Try that in your using statement and it should work.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm porting some legacy code to .Net core and I'm almost done except for this class. I searched but couldn't find any. So is there after all any replacement or alternative to System.Text.UTF8Encoding class in .NET core?
http://packagesearch.azurewebsites.net/?q=UTF8
You should use Encoding.UTF8.
It exist but is not yet in a stable release.
This is the nuget package for dnxcore50 which contain UTF8Encoding:
"System.Text.Encoding" : "4.0.11-beta-23509"
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
So I've downloaded a source code from projectcode.com and it's name is BigInteger.cs and it contains codes needed for working with integers beyond UInt64. How can I use it in my projects?And please be noob-friendly in your answers, I've started learning 3 days ago ...
Thanks for your help in advance.
Ideally, you'd want to use BigInteter class from .Net Framework. If you need decimal precision as well, there is no standard BigDecimal available, but a few workarounds can be found here.
If you still want to use that project, you have several options:
Download an assembly file and reference it in your project
Download source code, build it, reference output assembly in your project
Download only the needed file, provided it is self-contained, add it to your project and use it
In any case make sure to follow the license terms.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
New to WPF and XAML. What does sap and sapv name spaces in xaml files mean and how do I resolve them? Thanks.
This should probably be a comment, but won't fit.
It sounds like you may well be referencing Workflow dlls without having added the relevant references (it's a slight stretch based on your Workflow tag).
sap and sapv often reference the System.Activities.Presentation.dll, which you may not have added to your project.
e.g:
xmlns:sap="clr-namespace:System.Activities.Presentation;assembly=System.Activities.Presentation"
xmlns:sapv="clr-namespace:System.Activities.Presentation.View;assembly=System.Activities.Presentation"
Examples and advice here (depending on what it is you're doing): http://msdn.microsoft.com/en-us/library/dd489419.aspx
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am taking part in a project where I got to write a program which takes as an input XSLT file and return proper C# code. Besides It is really something new for me I don't know how to get started. Could anyone give me some prompts how to strike up with this project?Thanks in advance!
Well Microsoft has xsltc to compile a stylesheet to a .NET assembly. You could use a tool like Reflector to decompile the assembly to C# code.