Windows SDK is installed. I built N++ successfully with Visual C++ 2008 Express before. But now with 2010 I have a lot of error messages about sprintf_s:
1>C:\Program Files\Microsoft Visual Studio 10.0\VC\include\string(676): error C2039: 'sprintf_s' : is not a member of '`global namespace''
1>C:\Program Files\Microsoft Visual Studio 10...
Hi,
I'm currently in a situation where I need to delete entities without having access to the associated ObjectContext. I read about identifying relationships and they seem to be exactly what I need: I want to delete an object, once it is no longer referenced by its "parent" object.
I am using Visual Studio 2010 Premium to generate my ...
What I am doing
I am building an MVC2 website with Windows Authentication using Visual Studio 2010. I want to debug the website using IIS7 and access it from a browser in a virtual machine (in order to sign in using different users with different privileges).
Problem
When I try to access my website from my virtual machine, I get the ...
I'm trying to create an ASP.NET Web Application, but this is all I see:
I have confirmed that I have the full Visual Studio installed, not just Visual C#.
Why can't I see ASP.NET Web Application in the "new project" list?
...
Hi, my solution has two web projects. What I want to do is to build the solution through team city but have each web project going to a different output directory?
Does anyone know how to do this?
I am using Nant but I believe I can push through any required parameters into MSBuild.
Thanks.
...
Hello there,
I am a novice freelancer providing .NET solutions. Currently I have a Student version of Visual Studio that I am working. But, If I want to deliver solutions to the clients, do I need to have buy the VS license?
For instance, I got a requirement from a client (does'nt have VS license) to build a web application in godaddy....
I have a Microsoft Visual Studio Deployment Project that generates a basic setup.exe and appropriate MSI file. I leave the UpdateCode alone, but change the ProjectCode and Version on each build. I've also set the RemovePreviousVersions property to True. However, after I upgrade a machine, it seems as though any class flagged with COM doe...
I've been tasked with setting up source control for some Visual Studio 2010 solutions. By default, VS puts its projects into "My Documents\Visual Studio 2010\Projects" which maps to something like "C:\Documents and Settings[user name]\My Documents\Visual Studio 2010\Projects".
When checking out a solution from source control, do most p...
I've download SharpArchApplicationTemplate_1_6_VS2010.zip
I have read through this:
http://wiki.sharparchitecture.net/VSTemplatesAndCodeGen.ashx
However, this is aimed at VS 2008
I'm using 2010, and I can't see how to install the template(s)?
Have I downloaded the wrong thing?
I can't see anything on the wiki relating to 1.6 installa...
I've figured out how to create a new template, but I need a little more power than that. I need to override what happens when you click the "Run" button for example -- I want it to fire up a development server and then pop open my web browser.
So, how can I add an entirely new project type? And preferably, how can I base it on another p...
I've bumped into a very strange problem lately with my friend while using unit test framework in Visual Studio 2010. We have created TestProject (let's call it NoTitleTests) that references few libraries ("casual" and "xna" dlls) and it works without any problem.
But when we added NoTitle project (which is a XNA game) to references, when...
In asp.net WebForms I make any changes to aspx.cs file, nothing happens. R# and IntelliSense are not working too on that tab. I even can write 'blablabla' anywhere, it won't cause any errors.
Seems like VS just takes the file from some other source, not the project folder, though the "CodeBehind" attribute in .aspx is written ok.
I al...
Hi,
I built a macro today in VS.. testing as I went, and it worked great. I proceeded to build another, but accidentally pasted it into EnvironmentVariables Module... I removed it, and saved, but now no Macros that I create work. I tried the built-in samples, such as insert date, and it worked, but nothing custom works.
Thanks,
Ben
...
Hi everyone,
As an experiment i am trying to write the following program which allows me to generate code during runtime. i.e. i do the following:
1. Fill a buffer with op-codes of the instructions i want to execute.
2. Declare a function-pointer and make it point to the start of the buffer.
3. Call the function using the above func-pt...
I am having great difficulty trying to debug with vs2010 and IE8, though I think the problem is more IE8 specific.
When starting a debug session 9 times out of 10 I will have the following problem.
IE tab says connecting.. - then after a 5 second wait I will get an error in VS saying element not found.
Even when I click ok to dismiss the...
Hi All,
We are just migrating from silverlight 3 to Silverlight 4. and also from telerik 2009 to 2010.
There is one functionality of GridView, that when click on the cell it will open the popup.
Because of the upgration, we have newly implement some classes like
"Public Class GridViewCustomColumnCellProperty : GridViewBoundColumnBase"...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Validation POC</title>
<script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script src="Scripts/jquery.validate.js" type=...
All of a sudden I am unable to run any web application in Visual Studio 2010. I get an error message (shown in the image below. I get the same message when I try to run or issue the View in browser or Browse With command.
The project compiles properly and then I get this error message.
I am able to run WinForms applications normally.
...
Hello, I'm trying to build an executable which applies XSLT transforms onto a large number XML files. Now my problem is that I'd like to include/refer to the XSLT file stored with my C# VS 2010 solution, so that when I repackage this for another machine, I don't have to copy across the XSLT files. Is this possible?
string xslFile = "C...
The short document of Moq doesn't help me to understand this. Help!
...