I was wondering if anyone knew whether Visual Studio .NET had a parallel build process or not? I have a solution with lots of projects, every project has lots of markup/code, lots of types, etc. Just sitting there with intellisense on runs it up to about 700MB. But the build times are really slow and only seem to max out one of my two cp...
I generate a dynamic assembly with CSharpCodeProvider, from a C# source saved into a string.
I can run the dynamic code at runtime, but if I pause the execution Visual Studio doesn't show me the dynamic source code in the call stack. It says "External code" and I can't step into that source code.
I think VS can't find PDB or other debu...
In some of my Visual C++ project files I would like to specify the path to a rule file using an environment variable or macro.
I have tried editing the ToolFile element with a text editor:
<ToolFile
RelativePath="$(SolutionDir)\build\tao_idl.rules"
/>
But Visual Studio complains that it can't find C:\Path\to\ProjectFile\$(Sol...
I have a fairly simple file-system website consisting of one aspx page and several classes in separate .cs files. Everything is on my own HD. The web app itself builds and runs fine. Out of curiosity I decided to try out Visual Studio's nifty, easy-to-use unit test feature. So I opened each class file and clicked Create Unit Tests. VS ge...
Hello,
only with a certain .Net 4.0 project I can not add a new Window item to my project in the solution explorer. In the installed Templates for WPF there is only the UserControl ?
What happened?
edit: In that direcotry => C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\WPF\1033
I can see all th...
I must have done something wrong. I have a C# project in Visual Studio 2008. All of a sudden I see a lock on my classes and when I hover the class names on the top tab I see the class name as : C:\Myprojects\Oder.cs[Read Only] !
Has something weird like that happened to you before ?
Thanks
...
Recently I tried to install a webpart through wspbuilder utility to the Sharepoint Site. I have created, built and deployed a project to the 12 hive. After that installed the solution through Cental Administration Site and activated in the site collection.
I just wonder how can I debug the complex feature/solution ? Because both proce...
Is it possible to attach Visual Studio to a remote instance of IE7 and debug Javascript? I have enabled script debugging in IE7 and I can attach to the process, but my breakpoints are ignored. Have anyone ever done this?
Update. Does not seem possible. Any ideas are welcome though.
...
As far as I know, VS2008/MSBuild do not suport multithreaded compilation of C# projets. I don't know if VS2010 supports it. Do you know a 3rd party product or an open source projet that does that?
...
Is that a problem if a solution contains many projects and there are some cases when:
Project A references Project B
Project B references Project A
...
I recently wrote a custom Debugger Visualizer for Visual Studio 2008 for one of the custom types in my application. The UI for the visualizer is written in WPF and is hosted in an element host and shown using the IDialogVisualizerService windowService object.
Everything works great, and my visualizer loads and shows the relevant inform...
I read through the previous post: http://stackoverflow.com/questions/73022/codefile-vs-codebehind, but I'm still confused on which I should use. It sounds like CodeFile is the newer option that should be used, yet VS2010 generates CodeBehind when creating a new Web Form.
...
Apparently there are many questions that deal with how to store code snippets for Visual Studio, but I did not find one that contains links. So, is there a website that offers useful snippets? My google-fu only brought up many false positives or broken sites.
...
I have a very simple XAML form, that has one namespace definition. For some reason, when Visual Studio processes that XAML file in to it's component .g.cs, it's sticking a bunch of namespace definitions at the top that I have not asked for in the XAML, or the code behind, and they are namespaces that no longer exist in my project. Thus t...
I downloaded the Web Deployment Project plug-in for Visual Studio 2005. I installed it. I have a project that I am working on that is a Web Application Project. The Add Web Deployment Project Build menu selection is not in the Build Menu or Solution Explorer. If I create a raw test Web Site Project, the menu item magically appears. ...
Is there an easy way to detect if you're running in the context of a Visual Studio Test as opposed to debug or release?
Here's the scenario - we have a factory class that we use heavily throughout our existing codebase, and I figured instead of refactoring it out in each class so we can substitute the default factory with one that wou...
Hello,
I've got two projects in WPF and one project is the main one and the second one is just for testing (it uses files of the main project - files are added via Project -> add -> Existing items... -> selected file -> add as link so that the file is only in the main project really).
Folders with projects are these:
C:\Work\...\Proj...
I have two projects in my solution
1- asp.net web project.
2- wcf serivce project.
3- other common projects between two listed above
Current on the local dev machine I have to run two visual studio instance to run both projects in debug mode. That makes the system run out of resources as these projects share some other project...
I am trying to compile wxWidgets 2.9.0 with Visual Studio 2010 Release Candidate. When I open the workspace wx.dsw I get a whole list of error messages of the form
Blockquote
wx_wxReges.dsp cannot be opened because its project type (.dsp) is not supported by this
Blockquote version of the application
I successfully compiled wi...
I have a project that runs on both .NET and .NET CF. But it uses a 3rd party library
that will not run on both. So I end up changing the reference every time the project gets built.
Project A - References the 3rd party dll.
Project B - References A and runs .NET CF
Project C - References A and runs .NET
Is there a way to automate it?...