I was playing with writing a Visual Studio Add-In in F# and I was following along with some stuff that Gabriel Culliver and Brian McNamara had posted in response to this question.
When I put the following code into a .fs file in VS 2010
namespace TestFSharpAddIn
open System
open Extensibility
//open EnvDTE
//open EnvDTE...
My company has made an Entity Framework model of the database with all of the relationships mapped out and I'd like to take a screenshots of that with all of the FKs included in it. But I can't seem to figure out how to take a screenshot that includes all of that information. Any advice?
The "Export as Image" feature of Entity Framework...
I would like access a sql express db in multiple projects, a dynamic data project to administrate the data and a console application which fetches the data from the db, is there an option to do this? or should I use a SQL CE for this kind of scenario?
...
I'm debugging an application (C++), and I've found a point in the code where I want to change a value (via the debugger). So right now, I've got a breakpoint set, whereupon I do:
Debugger reaches breakpoint
I modify the variable I want to change
I hit F5 to continue running
lather, rinse, repeat
It's hitting this breakpoint a lot, s...
I'm making an application and would like to test the toString method I just made. I'm using Visual c++ 2008. Is there a way to see console output without having a console window? Such as in the Output panel?
Thanks
...
Has anyone seen this very strange behaviour before?
I've got a solution whith 70 unit tests. All of them pass on my dev machine.
Whenever I commit my changes, our continuous integration process kicks in and the build box will eventually run the same 70 unit tests.
There is only ONE test in the build box that fails all the time.
The err...
I am developing a class library. The library is to be used by another program, an .exe with no source code. The library file location is passed as a parameter to this exe, for example by running: prog.exe lib.dll
I would like to debug the library using this .exe (using debug tools such as breakpoints, etc.) How do I use Visual C# to do ...
While developing with Java in Eclipse it was very handy: you can attach sources and explore core java code just like your own. In Visual Studio I know about watching at the .net source code is possible only when debugging (and I can't say this feature works well).
Are there any alternatives of exploring .net source code?
...
I have seen some people creating properties in C# really fast but I don't know how they did it.
Does anyone know what short cut are available in Visual Studio (currently using 2010) to create properties?
I am using C#.
ex.
public string myString {get;set;}
Thanks.
...
Can you create a web service/client relationship in Visual Studio or Visual Web Developer over 2 PC's - 1 as the web service, the other as the client? If so how do you do it?
I have create this relation ship on 1 PC running both the Web service and the client, I want to send data between 2 PC's if possible?
...
This must be simple, but I guess I'm searching with the wrong key words.
I have a visual studio solution(2008) that includes two projects (win32). is it possible for one to launch another? they are entirely self sufficient programs.
...
I'm trying to figure out where my application's icon is stored in VS 2008. On the startup project's application properties, I added an icon with the setting "Embed manifest with default settings."
I'd like to programatically display the icon in the application, but I can't figure out where the icon is being stored.
How can I get a refe...
When I tried to run a binary (exe file) that was made with Visual Studio 10 from mono 2.6/Mac, I get the following warning.
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322
How can I disable this message with mono? Is there a way from Visual Studio not to show this message wi...
I use emacs to edit source code, and use visual studio ide to compile. However, I see the following message in visual studio when the source is modified.
Can I disable this message with the default action of reloading?
...
What is the code-snippet or short cut to create a constructor in Visual Studio?
Visual Studio 2010 and C#.
I've used before but I can't remember.
...
I begin to use visual studio 10. After I'm done with C# program, I see that there are sln, and suo file in the project root directory, and csproj file in the subdirectory.
What are those files for?
I need to identify the files to put into git repository. Together with the source code/documents that I create, I guess those three files ...
Hey all, i have the following code to populate a dropdown to coinside with a companies 2008-2010 calander year. This is the output:
2008 Period 1: 11/30/2008 - 12/27/2008
2008 Period 2: 12/28/2008 - 1/24/2009
2009 Period 3: 1/25/2009 - 2/21/2009
2009 Period 4: 2/22/2009 - 3/21/2009
2009 Period 5: 3/22/2009 - 4/18/2009
2009 Period ...
There doesn't seem to be any tried and true set of best practices to guide you on how to setup your solutions, projects and the assemblies they output. Microsoft seemed to have tried back in the VS.net days, but they have since retired this content. For every method I read about I read another that claims the opposite is better, or a pos...
Hi,
We have a requirement to install the same software in multiple directories on the same machine. I want to install the software using a batch file. I am having difficulty using the variable I have passed in as a directory name. (I am using VS 2010).
Batch file code
msiexec /i "SetupProjectTestMultiInstalls.msi" CUSTOMER="TESTCUSTOM...
In vs2008 when using the debugger and copying a string's current value, automatically change
\\
to
\
I end up having to debug long paths and always get things like
"e:\\eeeee\\blah\\d\\ddd\\fff\\bbbb\\rrrrr\\rrss\\sssss\\somefile.exe"
I then I have to go manually replace every doubleslash. Is there a quick dumb way so the v...