Hi all,
I want to run my project in debug mode from command line, not from visual studio (vs is open)
Is there any parameter to add to the command?
Thanks in advance!
I need to get the path (not the executable) where my application is running from:
System.AppDomain.CurrentDomain.BaseDirectory()
When I run the above statement with & "/images/image.jpg" on my local machine it works fine but when I install the application on another machine it says it cannot find the file and there is a lot of extra path information some.
I just need the directory of where the app is running. I am coding in VB.NET with Visual Studio 2008.
Thanks!
How can I define, which filetypes should be work by the VisualAssit in Visual Studio 2010? I don't like, how this tool works with openCL and cuda files, therefore i would like to turn off it for thie file types (oherwise it highlights 1000 errors).
thx.
I have two different .Net projects, hosted on github.
I would like to create a shared "commons" library for the two projects.
How should I structure my repository to facilitate this sharing?
Ideally, a change in this common library in one project could easily be pushed into the other project. I prefer to keep the code itself editable from the two projects (within Visual Studio), and not include it as a library. Are there best practices for this?
I need to create a repeater section that will show 4 columns - First Name, Last Name, a link based off of stored column data that says.
All the data plus some extra not being used is in a players profile. How do I link the data on the code-behind to the repeater control with the databinders?
I am using visual studio 2008, VB.NET for the code behind.
IIS 7 and Visual Studio 2008, every time you attach to w3wp.exe you get an Attach Security Warning,
How do you turn this of?
It would be cool to know also, how to keep it attached for linger, as this seems to time out after a while
Btw: I Added this as a comment to the answer below, the first thing i did was try the msdn article http://msdn.microsoft.com/en-us/library/ms241736.aspx that doesn't work
Hi,
Something, maybe the windows sdk or visual studio installer, has defined the Platform environment variable and given it the value BNB.
What does BNB mean, and why is Platform set to BNB?
Thanks.
I've seen this, but it doesn't answer my question:
http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/1d229d75-aa89-42bf-809b-ef98f42072bb
Is it possible to ignore the schema in object names when comparing databases using Visual Studio 2010 Schema Compare? For example, I'd like [dbo].[mysproc] and [mysproc] to be considered equivalent.
When using the visual studio 2008 debugger with c# i can right-click on a variable and choose "Make Object ID" which allows me to watch that object (via it's ID) regardless of whether it is in the current stack frame or not.
When the debugger is in VB code, (doesnt matter if it's run from a c# unit test or a vb unit test) That option isn't there.
Where did VB put this feature? Or does it simply not support it like so many other helpful c# features?
Hello,
When I start a new Visual C# Silverlight project in the official release version (not the beta or the release candidate--the official release version) of Visual Studio 2010, I get only Silverlight 3 as an option in the Silverlight Version dropdown at the New Silverlight Application dialog box. I have installed SL 4, the SL4 tools for VS 2010, to no avail.
I am running Windows XP SP3.
Any ideas???
Thank you,
Jon
I'm looking for a free, syntax-highlighting, possibly autocompleting 'code editor's textbox' style control for use in a Visual Studio winforms or wpf project. It should work with C# and self-defined languages. There are pay-for solutions available - something like http://www.syncfusion.com/products/user-interface-edition/windows-forms/Edit would work fine - but I am looking for something simpler, and don't need to pay for unnecessary functionality. Any ideas?
Hi,
I am trying to get access to the AssemblyVersion and AssemblyFileVersion numbers in the assembly information using the post build event command line in visual studio 2008. Is there a way to get access to that information similar to how $(TargetName) gets its macro definition from the project title.
I have visual studio 2008 installed in my pc when i try to open a .Net 2005 Solution with multi-projects, there are project in vb and c#. The only web project on this solution display the following message:
.vbproj the project is not supported by this installation
I try to open the web project separately from the solution and I not have problem.
How I can open the web project from the solution.
Any ideas?
I have a Visual Studio 2008 project that has a reference to a dll. I removed the reference to version 1 and added a new reference to version 2. The project builds successfully, however when I analyze the project dll after it has been built in Reflector I am seeing that it is holding onto two references to the same dll - version 1 and version 2 are both referenced.
Getting to grips with Visual Studio 2010,
This compiles:
var x = System.Web.Security.Membership.GetUser();
And runs, however VS2010 gives no intellisense for x and reports it just as a 'local variable'.
Has anyone got any ideas?
Anyone ever had this error when trying to build a solution in Visual Studio 2008?
It's driving me MAD! I've removed all the containing projects and re-added them, and it's still not letting me build or run the solution.
Any suggestions?
Hi,
I have created a Report using Crystal Report(Visual Studio 2005 and .NET Framework 2.0). In the Report Header section I have added a TextBox control to display header for the report. But when I execute the application the Text in the Report Header section is not displayed.
What should I do to view the text entered in the report header section?
Thanks in advance!
Hi,
I have an application(.exe) and it's SDB file , and now i want to bundle it in to an MSI package for deployment as a installer , How can i create the msi package ? are there any tools ? can it be done in Visual studio ?
Hello, I am using visual studio 2010 on Windows 7 64bit.
I compiled and ran a simple application basically a thing a child could make.
Well the second it started to run, it froze my computer and rendered it unresponsive.
It continues to do this every time and for every application.
Any ideas why this is happening?
I have applied a color theme called Vibrant Ink (or some modification of it), and since I installed Visual Studio 2010 Pro Power Tools all my statement completion boxes are undreadable.
What setting changes the colors of these boxes? Preferrably, I'd like to change the background color to something darker, but if that's not possible at least I want to change the text color.
Sorry if this has been asked.
Just like I can select in C# project that I want it to build for .NET 2.0 runtime, is it possible for native c++ project to be built against older CRT, let's say one from visual studio 2005?
I would like this because I have external SDK that was build with VS2005, but I'd like to use newer IDE.
I am created a website using visual studio 2010. On the time of the development of website I am able to access the database.. but after publishing the site using IIS7..i was unable to access the database..the exception occured during that time was "the connection is in the closed state".in IIS7 When I changed the application pool identity to localsystem, it worked.
Data base is installed in the same machine. and server is SQL SERVER 2008 R2
I know how to reference an existing .dll to IronPython, but is there any way to add my project as a reference like I can between Visual Studio projects?
Or is it best practice to create a separate class library?
Hello everybody!
I don't know if some of you also has experienced it but when I edit a query in Visual Studio (it uses DDEX 2.0.5 for accessing the Firebird 2.5 database), it duplicates some of the columns. What's really interesting is the fact that only System.Boolean columns are duplicated:
Originally, there was only ,for instance, a 'PRO_DELETED' field...
Now I wanted to sort my results by this field - I had to change the select statement in the so-called QueryBuilder by adding "ORDER BY PRO_DELETED"
...After clicking OK it somehow created a new column (!?) called 'PRO_DELETED1'
My question is: Why does DDEX add such a new row to the column view and why can't I access the original PRO_DELETED field anymore?
Thanks in advance!