Hello,
I am trying to build a solution for windows XP in Visual Studio 2005. This solution contains 81 projects (static libs, exe's, dlls) and is being successfully used by our partners. I copied the solution bundle from their repository and tried setting it up on 3 similar machines of people in our group. I was successful on two machin...
I use Visual Studio 2008 and it really makes me crazy how it shows error messages (in Error List window, Output window - especially exceptions) partially in English and partially in my native language. Interestingly, it is worse in WPF than in WinForms project. I've read here that it is about Culture of the running thread (so that the pr...
I'm working in a class library and there are other source projects associated with the same solution.
Is there a way for me to stop the VS refactoring tools from traversing those other projects, without removing them from the solution, but keeping everything the same?
The reason I'm asking is because I often know the changed symbol does...
Let's say I have 10 breakpoints and I want to clear one but not the other 9.
If I toggle the breakpoint on the one that I want to remove, it is resurrected the next time I restart the app. The only way that I know to permanently get rid of it is to clear ALL the breakpoints, which I would rather not do since I would have to reset the ot...
I have two different .Net projects, hosted on github.
I would like to create a shared "commons" library for the two projects.
How should I structure my repository to facilitate this sharing?
Ideally, a change in this common library in one project could easily be pushed into the other project. I prefer to keep the code itself editable ...
I'd like to implement a ADO.NET/WCF DataService and I am wondering what's the best way to setup a project in VS2008 SP1 for this purpose.
Currently I have an ASP.NET web application project (not of "WebSite" project type). The data access layer is an Entity model (EF version 1) with SQL Server database. I have the Entity Model in a sepa...
anyone know? possibly a library in or code in C#
if better a jQuery would do better
...
In my .aspx.cs I have a code that reads a .xml file and I deserialize the xml into an object called Post. Problem is that in my .aspx page I have a div and I want to fill in the content of this div from code behind using the html generated from the code behind.. How can I do this?
...
When I execute the code saveXML below it generates the error above, why??
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;
using System.IO;
/// <summary>
/// Summary description for Post
/// </summary>
public class Post
{
private int postIDCounter = 0;
private ...
Is it possible to have Visual Studio code completion use the System.[Type] instead of the keyword.
Example:
Autocomplete of List<String> myList = completes as:
List<String> myList = new List<string>();
whereas, I want:
List<String> myList = new List<String>():
This isn't the only example, but hopefully shows what I'm looking for...
This should seem simple enough, but can't figure it out.
I was porting a project out of MonoDevelop and into VS2008, but I accidently created the project as VB.NET instead of C#. Now ReSharper and any syntax highlighting is throwing a fit because it's trying to validate it as VB.
How do I tell it to treat it as a C# project without cre...
What am I doing wrong here?
private void SendMail(string from, string body)
{
string mailServerName = "plus.pop.mail.yahoo.com";
MailMessage message = new MailMessage(from, "[email protected]", "feedback", body);
SmtpClient mailClient = new SmtpClient();
mailClient.Host = mailServerName;
...
I was wondering how programmers chose to edit XAML. Most of the programmers I speak to seem to edit the raw XML, but that seems nuts to me since it is such a natural thing for a more visual editor (of course you often have to get down to the raw code ultimately, but isn't there a better way to lay out a grid, or edit a template, or add n...
I am about to give up debugging SMTP servers to send email... My code is the following
SmtpClient mailClient = new SmtpClient("plus.smtp.mail.yahoo.com", 465);
mailClient.EnableSsl = true;
MailMessage message = new MailMessage();
message.To.Add("[email protected]");
message.Subject = "permias-tucson-contact-us";
...
A number of team members update a central ASP.NET dev Website project, not a Web application type). Some kinds of changes cause a recompile/rebuild in it. The large website takes a while to recompile and we've noticed it will still seemingly serve out dynamic pages before everything is internally updated.
During the site's "gestation" p...
This might be a really stupid question and make you guys laugh. I've deployed my whole website using the copy website tool to my FTP server, but then how do I go and visit the site that I just deployed?
The domain name is: H204716.dreamsparkhosting.com however when I navigate there through my browser it says
403 - Forbidden: Access is...
I need some expert advice on strong typed data sets in ADO.NET that are generated by the Visual Studio. Here are the details. Thank you in advance.
I want to write a N-tier application where Presentation layer is in C#/windows forms, Business Layer is a Web service and Data Access Layer is SQL db.
So, I used Visual Studio 2005 for this...
I need to see the contents of a std::map variable while debugging. However, if i click on it in the Autos/Locals Tab, I see implementation specific stuff, instead of the keys and its contents which I want to look at. Is there a work-around i'm missing ?
...
For example, I have some project Common.Utils.csproj and use it in all other projects. I can store its (Utils) sourses in one repository, modify it only there, register dll in gac and use it as dll in other projects, or I can clone sourse anywhere I need, include project in solution, use it as source and push modifications. So, what is b...
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Web.Services2.WebServicesExtension.AfterSerializeServer(SoapServerMessage message)
Above exception is thrown whenever i try to access any method of webservice on another machine.
Regards,
Muhammad Waqas
...