I have an in-house proprietary library developed in .NET 2.0 using VS 2008 . I upgraded to VS 2010 and using the library in a new project based on 4.0. I have added the library as reference but when I am trying to compile I get an error stating that namespace doesn't exists.
In addition I tried to change the framework to 2.0 for my new...
I am looking for information on deploying my web app to our test server. Having heard Hanselman say this is something you can do within VS 2010 easily I set out too find information on exactly how to do this but can not seem to find anything.
Ignoring the fact that most of the blog posts / articles are over a year old, there just seems ...
Hi,
I wanted to change the look and feel of my share point server 2010 site. I have use office Power font to create my custom theme. .Thmx file.
I am just wanted to know how to use the custom style to use in share Point server 2010. Like earlier we did in share point serve 2007 to create a theme folder. I want a fix solution. Like if ...
I am getting the following error when I try to build an ASP.NET 4 project in Visual Studio 2010: "Could not load file or assembly 'file:///C:\Dev\project\trunk\bin\Elmah.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)".
I have verified that the dll does, in fact, exist, and is getting co...
Hi,
I have to call a C++ DLL from my C# program.
I'm trying to do it using PInvoke - everything works fine in VS2005\ 2008, but after migration to VS 2010, I get this exception:
PInvokeStackImbalance was detected
Message: A call to PInvoke function
'sampleFunc' has unbalanced the stack.
This is likely because the managed
PI...
It seems I am not the only one complaining about this. The yellow/gold color on top of the white background really makes me spend more time locating the highlight item. It may not be an issue for people who like using mouse. But I am a keyboard person and try to use mouse as little as possible. So this color is very annoying. Microsoft s...
Overall I am trying to write out a webpage to PDF. There is a web service that I can use to convert a file to pdf. So what I am trying to do is save out a webpage from the WebBrowser winforms control.
I have already tried writing it out the document stream but that just gives me the html of the page and not the images that are used w...
Hello all,
Full disclosure: Sharepoint development noob. I currently have 3 custom web parts built in an SP solution in VS2010. I build and deploy my project out to our local Sharepoint dev box. However, after deploying, only the first 2 custom web parts show up under the Custom category in the "insert web part" ribbon section. I checke...
I have a user control C that is defined inside project P. C is present as a ".NET Framework Component" in my Visual Studio Toolbox. I open a form F (also defined inside project P) and drop C onto F.
Once I do that drop, Visual Studio adds a reference under P pointing to P's own DLL. This is unnecessary and causes tons of build errors ...
I used to use SQL2000 and Red Gate SQL Compare 3.2 and I was a happy camper. I wouldn't worry about tracking the changes that I make to the dev database until all the coding was done and I needed to compile a list of scripts to bring the prod db in sync with the prod.
This is where SQL Compare and to some degree, SQL Data Compare, were ...
Hi-
I have a website I created in VS2010 and am trying to run with IIS7. My website starts in all major browsers but for some reason the styles are not applied even though I've confirmed using Firebug that the stylesheets have indeed loaded. Also, when I use the inspect tool to click on an element, I can see in the right-side box the spe...
In the Visual Studio 2010 SDK, I am able to implement the IVsTextViewCreationListener.VsTextViewCreation method:
Public Sub VsTextViewCreated(ByVal textViewAdapter As Microsoft.VisualStudio.TextManager.Interop.IVsTextView) Implements Microsoft.VisualStudio.Editor.IVsTextViewCreationListener.VsTextViewCreated
Dim textView As I...
Everytime I try to set a debug point in Javascript, eietehr while in Design mode or while runniong, I get the error:
trying to set a breakpoint in javascript: this is not a valid location for a breakpoint
When I go to VS2010's Options screen under Debugging Just In Time, I see that Managed, Native & Script are selected,
I also plac...
Is there a way to modify Visual Studio 2008 or 2010 project pre-build events from within your code in C#? Does C# have such preprocessor directives that would allow one to configure what gets run before project compilation and build?
The purpose of this is to scan the project for shader effect files (.fx) and recompile them without edit...
I recently installed Visual Studio 2010 and copied and converted an old VS2005 solution to VS2010
When I edit this solution, if I try to change a control's .image property, VS2010 creates a message box telling me that "An item with the same key has already been added" (screenshot below), and won't let me browse for an image.
I can add ...
Hi, I'm a C++ programmer, I use Visual Studio 2008 Professional, only unmanaged code.
I'm thinking of buying VS 2010 Pro.
I'm confused, I don't know what are differences between those two.
I know that, in plus, it has tr1 included.
When I started using 2008 edition I was very pleased to see f.e. unit testing support but all new features...
For Visual Studio 2010 Web based application we have Config Transformation features by which we can maintain multiple configuration files for different environments. But the same feature is not available for App.Config files for Windows Services/WinForms or Console Application.
There is a workaround available as suggested on the follow...
Much to annoyance of many developers Microsoft have removed the "Run" and "Run On" commands in Visual Studio 2010:
More details at:
http://social.msdn.microsoft.com/Forums/en/vstsdb/thread/f374c604-a7eb-496d-a261-9374790cdbf9
Has anyone seen or written a VS2010 Macro or Extension that fills the gaps and replicates this functionality?
...
I am trying to automate the UI testing process using VSTS 2010 on Microsoft Dynamics AX 2009.
Using coded UI test, I am recording tests on on Microsoft Dynamics AX 2009. Recording works fine, it runs into issue when trying to run the test recorded on TreeView control in the application. Tests fails to execute on that control. Following ...
When I move the mouse over any of these two or right click any of them Visual Studio crashes with the following message in the event log:
Felet uppstod i programmet med namn:
devenv.exe, version 9.0.30729.1,
tidsstämpel 0x488f2b50 , felet uppstod
i modulen med namn: ntdll.dll, version
6.1.7600.16385, tidsstämpel 0x4a5bdb3b Un...