I have this class library project sitting in a solution.
My need is to be able to embed resources (all files from 'Resources' folder) into DatabaseResources.resx and compile it all into an assembly, on the fly.
I tried CSC and was able to compile…
So, for some horrible reason I need to compile a very old .NET 1.1 project. Compiling it is pretty easy, but I also need it to produce signed assemblies. I noticed that .NET 1.1 csc.exe is missing the /keyfile argument. How do I sign my assembly…
I am still learning c# and have been following a tutorial where I use Visual Studio to connect MySQL. I want to compile the file using csc on the command line this time and error cs0246 came out6 where its ays "The type or namespace name…
IF you see the below picture you can see that the input text consists of image as background.But I want to keep a line in between the text and image.Either by applying image border...or any other trick.Im unable to found exact example or tutorial…
I need to make a receipt formatted as best i can like a normal receipt. With a name and address, time and date all at the top. (all of which need to be user input.)
main code
//Removed Imports
class ReceiptCode {
public static void…
My issue is that I'm trying to validate my input by making sure that the while loop only takes a number more than 10. If not, they have to try again. But the issue I'm having is that the loop keeps repeating itself if I close the while…
ParseXSD.cs
using System;
using System.Collections;
using System.Xml;
using System.Xml.Schema;
class XmlSchemaTraverseExample
{
static void Main()
{
// Add the customer schema to a new XmlSchemaSet and compile it.
// Any…
I have homework where I have to write a small program that asks for a number and returns the month assigned to that number.
So far I have written two different classes, one to prompt the user for int, and the other with the arrays of month. Now my…
I'm trying to execute a program using run from the command line ,my program takes 4 arguments and it connect to a web service .
so i execute this simple command csc Program.cs
I'm getting this error : error cs0234 The type or namespace Srd doesn't…
I have a problem generating a netmodule archive, I have these files:
class1.cs
library1.dll
library2.dll
library3.dll
class1.cs uses library1.dll and library2.dll uses library2.dll and library3.dll, I try using this command:
C:\Microsoft Visual…
First time run across this issue.
I have an element that is positioned to the right of the screen, like that
.element {
position:absolute;
right:0
}
Everything works as expected on desktop, but starting to fail apart on small screen…
I'm trying to use nant to build a solution for a c# project however I am having an issue specifying resources in my build file. I get the error code:
CS0234: The type or namespace name 'Properties' does not exists in the namespace 'Darkside'. How…
I'm implementing XSLT using C#.
In my working directory, I have data.xml file.xsl, and I want to apply the XSLT defined by file.xsl on data.xml, in order to get data.html
xslt.cs:
using System;
using System.Xml.Xsl;
class XSLT__
{
static void…