For some reason, I have to move a lot of C# code from Visual Studio 2010 to Visual Studio 2008.
I edited my sln file to reflect the changes
Microsoft Visual Studio Solution File, Format Version 11.00
to
Microsoft Visual Studio Solution File, Format Version 10.00
It allowed the solution to be loaded into VS2008. Afterwards I edited...
Some background: I'm investigating porting our existing WebForms project to ASP.NET MVC coupled with client-side XSL manipulation to hopefully reduce our bandwidth usage and, y'know, not use WebForms.
As a result of this, my .aspx files are actually outputting XML rather than HTML, and I get a huge load of validation errors. I know I c...
Hello,
I've accidentally changed the text cursor/caret in Visual Studio 2010 from the line to the one with the box that highlights the entire character and cannot find out how to change it back.
Can anyone tell me how?
Thanks!
...
Hi,
I can't figure out how to create a solution in Visual Studio 2010 that will allow me to alter existing lists in a SharePoint 2010 site. Specifically, I want to add a new column, which contains a small icon, to existing document library lists. I want to be able to take an action when someone clicks on one of the new icons. I also wan...
I am working a hobby project that is a file parsing library written in straight C. I have the library and a command line interface building and running on several Unix-type platforms. I also have a simple Cocoa app that uses the library for OS X. I would like to have a simple .net app for Windows as well. In order to do this, I need ...
Has anyone ran into a problem with a Visual Studio .NET 2010 Solution that contains a web application not loading the web application on the Windows XP SP3 Operating System?
C:\Development\WebProjects\MyApp\web\web.csproj : error : The Web Application Project web is configured to use IIS. To access Web sites on the local IIS Web server,...
When working in VS, the error messages in the bottom panel are compiler errors and warnings, right? Does this mean the app is being compiled all the time? I would expect those to appear only when trying to run the app.
This is probably a silly question, but I cannot find the answer.
...
I'm debugging a transform with Visual Studio. The application that uses the transform normally also passes in some parameters:
XslTransform xslTransform = new XslTransform();
xslTransform.Load(myXslt);
XsltArgumentList transformArgumentList = new XsltArgumentList();
transformArgumentList.AddParam(paramName1, String.Empty, paramValue1); ...
I am getting the same problem as this:
http://stackoverflow.com/questions/425016/debugging-w-attach-to-process-starts-asp-net-dev-server
Every time I attach to the web server, I get another asp.net development server, eventually ending up with more and more.
However I don't see the option described in my Properties page. I have Visua...
I'm writing a MVC 2.0 app with VS2010. On my Windows 7 Ultimate 64bit machine it runs fine. On my laptop (Windows 7 Home Premium, 32bit) it is getting a null reference on Server when I call MapPath.
public ActionResult Index()
{
ContentModel content = new ContentModel();
content.Content = ContentInterface.G...
Let's say I have the following function.
let rec fib n =
match n with
| 1 | 2 -> 1
| n -> fib(n-1) + fib(n-2)
How can I compile this code into dll so that it's used from C#?
I use both mono (in Mac OS X) and Visual Studio 2010.
ADDED
I added the following to make namespace.
namespace MyMath.Core
module public Process...
The following code is giving me a compilation error. Can anyone please tell me why?
class mytype {
public:
int value;
mytype(int a) {
value = a;
}
friend ostream& operator<<(ostream& stream, const mytype& a) {
stream << a.value;//works
return stream;
}
friend ostringstream& operator<<(ostr...
I have an annoying issue with Visual Web Developer Express 2010. When I run my web app with CTRL + F5, VS launches two IE pages of my app. When I run the app using just F5, I get one page of IE.
Is this a bug?
...
Hi,
I just uploaded my crystal report which is working fine on development PC, but as soon I uploaded it on server it just not displaying.
No error / no bar nothing.
Please help
Regards
...
Is it possible to include tasks in a build, in VS 2010, to e.g. update an assembly version number, without having to run an external application through a build event? That is, I would prefer if I could write an extension for VS 2010 that would listen for a 'build starting' event, and run a task, e.g. a macro or plugin that updates the...
I have a Solution with several Projects, is there some kind of versioning control within VS2010, so on build only projects with modifiyed files to be rebuilded?
...
Hopefully a simple question. I have an asp.net web app project with source code that is physically on a shared drive. I know I could move the whole project off the shared drive, but that causes me other problems, so let's focus on this one. ;)
The issue at hand is that while I have changed the Output folder to be a local location, s...
I need to use property processor="PropertyProcessor" directive for T4 templates using Visual Studio 2010, so I installed GAX 2010 form the IDE's Extension Manager. Although I installed it, the error
**Error 2 A processor named 'PropertyProcessor' could not be found for the directive named 'property'. The transformation will not be ru...
I'm about to build some RESTful web services using WCF and .NET 3.5 in VS2010. I've not done this before so am looking for some pointers as to the easiest approach.
For deployment reasons I cannot use .NET 4 but must stick with .NET 3.5 SP1. It seems the WCF REST Starter Kit doesn't work with VS 2010 (I'm not certain about this - maybe ...
Like in Eclipse for java, where it can auto-generate getters and setters for class variables, can Visual Studio 2010 do this as well? I can't find it anywhere....
...