visual-studio-2010

Visual Studio Reference Not Being Copied Over In Multiple Project Environment

Hi I have a solution file in VS 2010 and it has multiple projects in it. Now, I have a reference to this dll call MySql.Data.Entity.dll. As an example, I have the following projects setup in the solution: Domain (reference to MySql.Data.Entity.dll) Domain.Test (reference to the project "Domain") I want that Domain.Test to copy ...

VS2010 Debug build works, but Release does not

I have an app that I've recently added two C# classes to. It always built in both debug and release. The differences between the two configs are nothing. Now when I build the release, it says that one of the dependencies cannot be accessed. This is only for the release build. Nothing changed to that dependency and it always worked. Any ...

VS2010 Web Publish command line version of File System deploy

Folks, In a nutshell, I want to replicate this dialog: It's a Visual Studio 2010 ASP.Net MVC project. If I execute this command, I get all the files I want, including the transformed web.configs in the "C:\ToDeploy" directory. I want to replicate this on the command line so I can use it for a QA environment build. I've seen various...

Visual Studio 2010 Developer Edition Features

Hi All, Can anyone tell me a brief summary about the features of VSTS 2010. I want a brief introduction on : Class Designer, Static Code Analysis, Code Profiling, Unit Testing with code coverage, Test Impact Analysis and Intellitrace. ...

how to prevent inheritance for web.config file for "configSections"?

I have following in my parent web applications config file <configuration> <sectionGroup name="testmodule"> <section name="testmodule" type="RewriteModule.RewriteModuleSectionHandler, RewriteModule"/> </sectionGroup> ........ i want to prevent child subfolders from inheriting this config section where should i put <...

Does placement new call the constructor if the passed pointer is null?

Hello guys, I tried to converted a vc7.1 project to vs2010 which I got from codeproject.(And here's the link h tt p://www.codeproject.com/KB/cpp/transactions.aspx?fid=11253&df=90&mpp=50&noise=3&sort=Position&view=Expanded&fr=1#xx0xx But after converted and modified its configuration. I find it debug unsuccessfully, it says Unhandled ex...

Permanently disable schema in MS Web Developer 2010 Express

I have an .xsd schema in SVN and it's copy in %VsInstallDir%\xml\Schemas. Schema folders in Web Developer settings include only %VsInstallDir%\xml\Schemas. Option "automatically download schemas and DTDs" is disabled. Problem: When I edit copy of .xsd from SVN, Web Developer automatically starts to use it and immediately clutters error ...

edmx designer problem in visual studio 2010

Hello, After upgrading to visual studio 2010 I have problem with opening designers (mainly edmx designer). Usually it crashers when I try to move any table or scrolls, sometimes it cant even be opened. Have any one of you had the same problem ? thanks for help ...

Locbaml /generate gives error "Type reference cannot find public type named '...'"

Hi, I'm using Locbaml to generate localization files in my WPF application. Yesterday, I've upgraded my solutions from VS2008 to VS2010, and since then Locbaml throws an error in two of my assemblies saying "Type reference cannot find public type named 'String'." in one assembly and "Type reference cannot find public type named 'Int3...

Plane projection problem (the element is more higher than the control)

I have a Grid witch contains a User Control. I want to make a flip effect and i'm applying a projection to the grid. The projection is rotating from Y axis from 0 to 180 degree. The problem is that during the animation the projection is increasing the height of my grid and the user control causing them to go out of the current page. If i...

What's the best way to deal with sensitve data while using a source control?

Hello, Recently I started using codeplex.com for hosting a project I'm doing which I want to share with people. I'm new to using Source Control and Open Source treatment. My application deals with Twitter, and of course I have to use Twitter API keys. I'm using Visual Studio 2010 and TortoiseHg for the source control. So my question ...

Can you install .NET Framework Client Profile 32 bit version on a 64 bit PC/OS?

Mainly I ask this because I don't want to distribute both versions, and if I need to instal a 64bit .NET on an x64 PC and a 32bit .NET on a 32 bit PC then I would need to make this check in my loader application to download the correct version for the correct PC. However, if I just do a one for all, it would be easier - and i would just...

Use Jira API with Visual Studio 2010

I have to write a Jira soap client with C# in Visual Studio 2010 but I have problems with getting die client class imported. The solution presented here doesn't seem to work anymore. Though the class is accessible, all methods have the type void Foo() Also, the program "wsdl.exe", which was previously used to manually generate the cl...

Assembly reference not getting updated in the silverlight 4.0 application project

Point 1): In one solution called CustomBehaviorsSolution, I have two projects - one is class library and another is silverlight class library project. The silverlight class library project has the class files which are 'linked' to the files of the first project. The solution compiles successfully. Point 2): I have another solution whi...

TFS 2010 Microsoft.Office.Interop Reference Woes

Hi There! I'm about to go crazy with this problem! I created a new server on a virtual machine for TFS. I have created a new Build Definition, that when a solution is checked in from my local machine TFS is to build my solution using the default build process template. On the TFS machine and my local machine I have MS Office 2010 and ....

JSON Javascript highlighting in Visual Studio 2010

Does anybody know how to get VS 2010 to use the same highlighting for a file called .JSON as it uses for a JavaScript file? Just working on a client site and they've named all their JSON template files as .JSON, with the result that I just get a plain old text editor when I open it in Visual Studio. Any suggestions? I'm sure there must b...

How do I add support for a file extension for a custom tool in visual studio 2010?

I have a custom tool "NafestisGenerator" of which I need to apply to every ".ntf" file. The question is, how do I tell visual studio (suing the Custom tool Generator sample from Microsoft) to use the "NafestisGenerator" custom tool on every ".ntf" file? (vb.net) ...

SVsBuildManagerAccessor fails when Publishing in VS2010

Something is wrong with my VS 2010, i can't publish any project, i get an error: Get service of SVsBuildManagerAccessor fails ...

create user wizard causes error on sharepoint site

I've built a new sharepoint site page using the example I found here: http://blogs.msdn.com/b/kaevans/archive/2010/06/28/creating-a-sharepoint-site-page-with-code-behind-using-visual-studio-2010.aspx The purpose of the page is to add a new user to the aspnet membership database that serves as the authentication provider for my sharepoin...

Problems in the deployment of VS 2010.

Problems in the deployment of VS 2010. Microsoft .NET Framework 4 client profile x86 and 64 - check Download prerequisites from the same location as application - check But when I rebuild is such a mistake. Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNet...