Hi all,
I'm running Visual Studio 2005 Pro, and have been getting the following error recently:
Error 1 Error result -1 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'.
Reading some of the other posts around here, I've learned that cl.exe is native to VS 2008. I do have an install of 2008 Express (but C# onl...
I try running code analysis on my solution. It fails with a generic error message that doesn't give any information. What is the best way to troubleshoot this sort of thing? For example is there a log file?
...
Hello
I can't hit any breakpoints while debugging a .NET CF mobile application from Visual Studio 2005 on Windows 6 professional emulator. Debugging starts, application is loaded on the device but all breakpoints are disabled. Any hints?
Regards
...
Hi.
The trivial macro like this:
Private Sub SetStatusAll(ByVal enable As Boolean)
Dim dbg As Debugger4 = DTE.Debugger
Dim exceptionSettings As ExceptionSettings = dbg.ExceptionGroups.Item("Common Language Runtime Exceptions")
For Each exceptionSetting As ExceptionSetting In exceptionSettings
exceptionSettings.SetBr...
Hi,
When I build I find I'm getting errors about missing cod files. The compiler seems to be trying to link to a lib that had some flag set when it was built to output .cod files.
I don't see why the cod files are needed though to link, shouldn't the lib be enough?
Thanks
...
I have an XSLT file and the first time I ran it, it asked me for an XML file. How do I get it to let go of that setting and let me choose a new one?
...
I have a member variable struct in a C++ class I'm debugging in Visual Studio 2008 Professional. I would like to break any time the struct changes. Is it possible to do this, or must I look for every possible point in the code it could change, and set breakpoints there?
...
Source code that compiles fine on other peoples environments won't correctly work in my environment. When I do a rebuild the compile occurs but when visual studio goes to move the exe from /obj/debug/{solution} to /debug/{solution} it cannot find the exe in the /obj/debug/{solution}. To make this even more crazy even after I reinstall ...
I am currently getting an "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information" error when trying to build a wsp from within visual studio 2010 to be deployed to sharepoint.
There is an article here that references this issue with an interesting answer by miko:
http://stackover...
I have a project in Visual Studio 2008. I want to have two different ways of running it - either as a regular Windows application (so it gets a window and I can do graphics stuff) or as a console application (so that it doesn't have a window and doesn't do graphics). Is there a way to set it up so that I can use a command line option or ...
Is it always good practice to provide default values for integer-like fields? I use linq for database access.
...
I have a pretty basic c# winforms project that has an associated setup project. It has one custom dialog (Textboxes (A)). When I run the installer, it freezes when I click Next to go to the Select Installation Folder dialog. Then after several minutes, it unfreezes. When I finally click Install, the window disappears but msiexec.exe is s...
Is there an Add_in to Visual studio which automatically inserts underscores between my method name Words?
For example i will write "public void ChangeEmail Should Update Email()" then press a shortcut and it will convert to "public void ChangeEmail_Should_Update_Email()"
...
I'm wondering if it's possible to duplicate the same page on two monitors. So sorta like split view, but instead of just split in the middle have it duplicate in a new window.
Is this possible in VS2010?
...
I have a C# VS10 project. I want its part to be pure C. So I will have pure C library and A C# file that will have part with C code calling that pure Lib.
So I'll have C part of code - not precompiled DLL but C code and C# code files. So is it possible to have inside one C# file C code like we have C code inside C++ code?
like Inline C...
MSBuild is now the build engine for all supported languages in Visual Studio. I'd like to start taking advantage of that system in order to simplify a ton of logic I have crammed into pre- and post- build scripts.
To that end, I'd have to write the MSBuild script manually, because I'd like to have more than one target in a single file. ...
Is there any tutorial on compiling C lib with Pure MSIL Common Language Runtime Support (/clr:pure) with VS? (VS10) (eg x264 lib)
...
I have an XNA 3.1 content project (.contentproj) with the following:
<ItemGroup>
<Compile Include="tiles\B000N800.BMP">
<Name>B000N800</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="tiles\B000N801.BMP">
<Name>B000N801</Name>
<Importer>TextureImporter</Importer>
...
When a breakpoint is hit in Visual Studio, it steals the focus from whatever other application the programmer is viewing/typing into at that moment. This can be very irritating since VS grabs any keyboard input the programmer was typing into the other application at that moment and takes that input as its own.
What are the tricks you fo...
I have tried attaching the debugger to the IIS worker process and have a break point on the asp page. But it never hits the breakpoint.
I am able to debug the aspx pages in the same site using the above process.
...