I have a solution developed in VS 2013 containing some 20 odd projects which used to build fine initially but now for past couple of days we are facing an issue where the build randonly hangs.
I looked up in Task manager and noticed the process…
I was using Visual studio 2013. Yesterday, I installed VS2015(enterprise update 3). The build process for my solution crashes in VS2015 for one of the projects. The same exception occurs with VS2017 RC.
The solution was building succesfully in…
Every time I try to run my code, I am having this error: "Csc.exe" exited with code - 255.
I removed and re-installed Visual Studio 2015 and it did not help.
I am using routing with my ASP.NET WebForms application, using the technique described by Phil Haack:
http://haacked.com/archive/2008/03/11/using-routing-with-webforms.aspx
This works well most of the time, however on on occasion the first call to…
I have this program in c#:
using System;
class Program
{
public static void Main()
{
int i = 4;
double d = 12.34;
double PI = Math.PI;
string name = "Ehsan";
}
}
and when i compile it, following is the IL generated by…
A silly question, my google-fu is failing me, I know that the csc.exe is the command line compiler, but I am curious what the letters csc are an acronym of?
If I try to debug an application in VS2015, I Always get the error
"csc.exe" exited with code -1.
If I try another project (winforms/console application/...) I always get the same error. I previously had VS2008 installed for developing apps for WIN…
I am getting an error of Visual C# command line compiler has stopped working
It's not the same as this one Visual C# command Line compiler has stopped working because that one says it happens with specific projects.. Clearly my one happens with…
Each of .Net Framework version has own versions of csc.exe, msbuild.exe, etc. On my notebook all .Net Framework versions (newer than .Net 1.0) are installed. I see such directories:
I created some new Windows-variables:
%NET30% =…
Can anyone shed any light on how the CoreCompile task in TFS2010 (RC) Microsoft.TeamFoundation.Build targets generates the assembly references that are passed to csc.exe?
We are seeing references to both version 2.0 and 4.0 of System.Xml.dll (shown…
I have a short C# script that uses various features of the languages and different .NET libraries:
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Compression;
using System.Net;
using…
csc /target:library /reference:System.dll,System.Web.dll,System.Web.Mvc.dll Foo.cs
Microsoft (R) Visual C# 2010 Compiler
version 4.0.30319.1 Copyright (C)
Microsoft Corporation. All rights
reserved.
error CS0006: Metadata file
…
The application in question is written in C#. We are late in the development cycle, close to launch on our application. One of my coworkers is seeing the following issue:
When he logs out of his Windows 7 session while the application is running, he…
I know that Visual studio internally uses a tool called msbuild to compile C# code. Does msbuild internally use csc.exe (that comes with the .net framework) for compiling code? Or does Visual studio come with its own compiler?
Update (A little…
I need two dlls General.BL and General.UI from one project.
I am getting an error on General.UI.dll. Error is: The type or namespace name 'Window' could not be found (are you missing a using directive or an assembly reference?)