visual-studio

How to open different App version for one given file extension

We have a data files with an extension ".ppx" for our business app here. Users will typically have multiple versions of the application installed (side by side) for example version 1 and version 2. The ppx files are xml files and they contain the version of the app they were created from (v1 or v2). Lets say that we have AFileCreatedWi...

CruiseControl.NET, Visual Studio & SubVersion

Hi All, I am setting up a Continuous Integration server. I have one issue that doesn't seem to be mentioned in the tutorials. I have a ASP.net Web Application that I need to compile and them publish. My Problem is that I seem to be able to compile the app but when I attempt to use a buildPublisher this copies every thing including .s...

cross compiling using visual studio 2005

Hi, I compiled a x64 application in win32 development environment.. When I run that binary in 64 bit intel machine , the following error is displayed "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail."...

Visual Studio (2005 & 2008) Compile Completed Alert?

Does anyone know of any kind of plugin or alert system which will let me know when my compiles are completed? Some of the solutions I work with are gigantic and sometimes the compiles can take 5-20 minutes (depending on the PC). Thus I would like to do something else in the meantime, but I don't want to keep checking back to see if the c...

Moving from CodeRush to ReSharper (or vice-versa). Any resources/help for making the transition?

I've been using CodeRush with Refactor! Pro for a while, but I'm considering moving to ReSharper. Once I uninstalled CodeRush, I immediately began to miss some key features, including: navigating references using the Tab key, renaming variables, methods, etc. with the F2 key, basic refactorings such as Extract Method, etc. I'm sure ...

Visual Studio. Publish project from command line

Is there a way to publish a web project in MS Visual Studio 2010 using CLI? I use DevEnv.exe /Build to build a project and it works fine, but I could not find option to Publish a project. One other thing I want to mention. I am trying to publish web project NOT to the IIS directly. I have a location where I publish several projects and...

How do I use macros for the command line arguments for debugging a .NET project?

In the Visual Studio Debug property page (for a .NET 4 project) I want to be able to specify macros, e.g. $(OutDir), like I can in the Build Events. But it doesn't work, the macros aren't replaced. Is it just not supported? Is there a work around? ...

Disassemble Microsoft Visual Studio 2003 compiler output

I'm seeing what I think is strange behaviour from object files output by the Microsoft Visual Studio 2003 tools. The file utility tells me: asmfile.obj: 80386 COFF executable not stripped - version 30821 For objects created by the assembler, but for objects coming from C files, I get just: cfile.obj: data Using Microsoft's dumpbin...

How to add an existing file to a project in VS2008 Add-in?

I'm trying to create an add-in for VS2008 to automate the unit tests. The test classes are located in a different project of the same solution. After the test class file is generated, I want to add it to that project automatically and make it the active document. I could easily locate the test project, and I also found that: testPro...

Managing My Database in Source Control

As I am working with a new database project (within VS2008), and as I have never developed a database from scratch, I immediately began looking into how to manage a database within source control (in this case, Subversion). I found some information on SO, including this post: Keeping development databases in multiple environments in syn...

Suggestions for VS+Resharper keyboard shortcuts on a Mac

I just upgraded to a Macbook Pro as my development machine but still primarily develop .Net applications with Visual Studio and Resharper (via VMWare Fusion). By far, the biggest obstacle I'm running into is getting used to the keyboard layout change (ex. not being able to do ALT-Insert). Do any of you Windows-on-Mac veterans have any su...

How can I get Visual Studio 2010 to show Chinese comments properly

I have some code from a Chinese business partner, and all of the comments in the code are in Chinese. However, Visual Studio displays them as gibberish. How can I get them to display properly. Here is a code example with some comments converted to gibberish: //Á¬½Óµ½·þÎñÆ÷ void CTestAPIDlg::OnBnClickedButton2() { UpdateData(TRUE)...

sharepoint 2007 webpart designer for visual studio

Is there a designer for SharePoint 2007 WebParts in Visual Studio? I downloaded Visual Studio 2010, and see there is one for SharePoint 2010... but right now we are writing parts for 2007. Alternatively, what is the overhead for using the ASP.NET developer, and porting the results to a SharePoint WebPart? ...

Error upgrading WSSF solution to VS 2010

Hi I've recently installed VS2010 and I'm trying to upgrade a project that I created using VS2008 and WSSF (Web Service Software Factory). I've installed the 2010 version of WSSF and it's prerequisites. After upgrading, when I try to load the solution I get "blah.ssfproduct cannot be opened because its project type (.ssfproduct) is not ...

Exclude files only in "release" in VS2008 config

Hi Guys, I was wondering how to "Exclude" individual files in the "release" web.csproj config of my solution. I've seen other answers and they all feature "include" - but this is not what I am wanting to achieve. I only want to exclude around 10-15 files from a "release" package ? I don't want to manually edit the web.csproj file - so ...

Toolbar disappeared in Visual Studio

Visual Studio ate my toolbar, I opened a solution for a project I've been working on for a few months, and the toolbar has 135 buttons on it, and while it was loading, the whole toolbar flickered like it was trying to give me a seizure or something, and then it dissappeared. Now when I click Debug, it won't let me do it because all the r...

How to add data to sql but for one id and more than one data ?

i have one id and more filepaths.forexample: id:123456 FilePath: C:/a.jpg C:/b.jpg C:/c.jpg C:/d.jpg C:/e.jpg Result must be: 123456|C:/a.jpg 123456|C:/b.jpg 123456|C:/c.jpg 123456|C:/d.jpg 123456|C:/e.jpg How can i add more than one path for one id But My result is : 123456|C:/e.jpg i need others public bool AddDCMPath2(...

Problem with pointers

OK, i have a strange problem. I have this piece of code: int *p; int test; p=&test; In Visual C++ express, in my exsisting project, I get this error: missing type specifier - int assumed. 'p' : 'int' differs in levels of indirection from 'char *' 'initializing' : cannot convert from 'char *' to 'int' But when i create new project, ...

How do I merge a local branch into TFS

hi, I did a stupid thing and branched my project on my local disk instead of doing it on the TFS. So now I have two projects on my disk: the old one which has TFS bindings and the new, which doesn't. I want to merge those changes back into the TFS project. How would I go about doing that? I can't do Compare because my local branch has n...

Modify a solution to not load projects from outside of visual studio

If I open a solution, unload a project then reopen the solution visual studio remembers not to not load the project again. How can I do this outside of visual studio? Which file is this setting stored in? Visual Studio's annoying conversion wizard won't let me open the solution without converting all the projects, I have already conver...