Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

VS 2012 compatibility with Windows10

$
0
0

Can I expect Visual Studio 2012 to continue to operate under Windows10 when it is automatically installed?


Visual Studio 2010

$
0
0

Hai dudes,

 I am very new for Dot Net Codings. Now   I am studying Visual basic .net . I have   lot of doubts in codings. Now my doubt is "How to bring the Values from Database(Sql server 2008) to   Vb.net or Filling data in Combo box from sql server2008? 

Edit and Continue while debugging Not Working Visual Studio 2013

$
0
0

Ran into this when I started working at a new company and finally tracked down the cause in my situation.   The application used Microsoft.Office.Interop.Excel 14.0.0.0.  A setting on the reference fixed it.

1. In Solution Explorer press show all files. 

2. Expand References

3.  Right click Microsoft.Office.Interop.Excel and select Properties

4.  Change "Embed Interop Types" to False. 

If it's set to False already, you may have to keep looking for an answer, sorry. 

Hope this helps someone. 

Tim


Tim Conway

Using Blend with solutions that include 64-bit C++/CLI projects

$
0
0

We've had issues with this in VS2013 and also now in VS2015 RC.  We have a solution which has a number of C# "Any CPU" projects.  It also has some C++/CLI projects which only build as x64 (they depend on third party libraries provided as x64 DLLs).

Blend doesn't seem to like this configuration.  Blend runs as a 32-bit process and so it appears loading a solution which contains the C++/CLI projects that are built as x64 causes it problems.

With VS2015 RC Blend opens the solution but when trying to open the designer to view a xaml file, it gets an exception.

Microsoft.MetadataReader.UnresolvedAssemblyException

A couple options we've looked at are:

1) obtain 32-bit versions of the third party native/unmanaged DLLs (referenced by the C++/CLI projects in our solution) and built in 32-bit mode (even though we have no plans to deploy such a configuration)

2) somehow eliminate the C++/CLI projects from the solution entirely in a special "blend" configuration and conditionally reference them when not in this config

3) hope MS adds 64-bit Blend??? :)

Anyway, just curious if anyone else has run into this and found an elegant solution/workaround for it.

Visual Studio 2013 - Publish Web Application by FTP allways ovewrites all files

$
0
0
When I publish a web application to a server by using FTP, visual studio allways ovewrites all files, taking to much time, instead of verifying files modified date.
I think the problem is due to diferent time zones, between my machine (PT - Portugal) and the server (US - United States).

Cannot add a reference to a DLL project in VS 2013 when building for Windows Phone 8.1

$
0
0

I am trying to build a Visual Studio C++ solution in VS 2013 Update 4 with a game targeting Windows Phone 8.1. The platform independent part of the code is built as a DLL and linked with the platform specific layer. The solution contains the project with the Windows Phone 8.1 platform code (WPColors), project with the Win32 platform code(Win32Colors) and another project with the DLL itself(ColorsCore).

When I build for Win32 everything works fine. I add a reference to the ColorsCore project to the Win32Colors project and the library links without error.

However when attempting to build for Windows Phone 8.1 I cannot add a reference to the platform independent project with an error window displaying:

"A reference to 'ColorsCore' cannot be added because the two projects target different platforms."

However my Configuration Manager is setup for ARM build like this (no screenshot since I can't post images yet):

Project                           Configuration                 Platform                  Build

ColorsCore                    Debug                            ARM                      Yes 

Win32Colors                  Debug                          Win32                      No

WPColors                      Debug                           ARM                        Yes

so I do not understand the nature of the problem. Thank you.

Online help often fails

$
0
0

Quite often when I access the online help from Visual Studio 2010 or 2013 for the first time of the day, I end up there instead of the requested topic:

https://msdn.microsoft.com/Areas/Epx/Content/500.aspx?aspxerrorpath=/query/dev10.query

Unable to Service Request

I have the impression that Microsoft does not monitor their web site performance or errors. So maybe it's helpful to post it here. MSDN library and forum page load times are generally between 5 and 10 seconds while the rest of the web loads in less than 2 seconds. Also this error occurs often enough to wait for it. Is this supposed to be like that? When will this be improved to an acceptable level?

Visual Studio 2015 - Visual Basic 10 not supporting Global namespace

$
0
0
I started using Visual Studio 2015 yesterday on my existing website development.  Now I get the error "visual basic 10 does not support declaring a global namespace" when running a page.  This is in my datacontext.designer.vb file, which is generated by VS. I think Visual Basic 10 was downloaded with Visual Studio 2015 - I didn't have this problem when still using VS2013.


Universal Apps with VS2013 (Win 8.1 +)

$
0
0
Is it possible to use Visual Studio 2013 (full edition) to develop Universal apps for Windows 8.1 (and Windows 10 when released)?

If so what does one require to get started with creating Universal apps?

Save folder set in Find and Replace dialog

$
0
0

Hello!

I have a problem. I'm using VS 2013. And at my desktop PC I can set custom folder set in Find and Replace dialog and it remains after restarting VS.

But on my laptop I can't. I can create custom folder set. But it remains and works until I restart VS. After restarting list in Find and Replace dialog is default.

What setting do I need turn on to make custem search folder sets have been saved?

'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' package did not load correctly

$
0
0

After the 07/10/2013 Microsoft update, I tried to open Microsoft Visual Studio, then this error showed up

No exports were found that match the constraint: ContractName

Microsoft.VisualStudio.Utilities.IContentTypeRegistryService RequiredTypeIdentity

Microsoft.VisualStudio.Utilities.IContentTypeRegistryService  

This error happened to every member's of our group.

The Microsoft Visual Studio Professional 2012:

Version 11.0.50727.1 RTMREL

Appreciate any help on this issue.

TFS 2015 RC - Will there be an upgrade path to the officially supported release?

$
0
0

Good Morning,

We recently installed a TFS 2015 RC server, but noticed that in the about box of the TFS console, says that it will expire in november of 2015?

If we start working on this TFS instance, will there be an upgrade path to the official TFS 2015 server release?

Thanks in advance,

Derrick

C# not operator

$
0
0

The C# ! operator works fine until you get reduced eyesight.

Is there a font in Visual Studio that makes ! easy to read!


Certified Geek

Visual Studio won't let me log in? Even though the server is working fine?

$
0
0
When I try to log into Visual studio 2013 by clicking "sign in" to extend my 30 day trial, it tells me there was a problem. It said "Exception has been thrown by the target of an invocation." I tried looking through my firewall, but Visual Studio is allowed through. Any suggestions? I am not redownloading the trial, because this happened more than once

.csproj project type

$
0
0
I am trying to open a file that was written in VS-2008 and I am getting the .cs proj type not supported by this application ?

Visual studio 2013 resets phone emulator vm settings

$
0
0

Helo,

For some reason, when WP8 emulator was installed on my PC the network settings for the VM were set incorrect and the emulator was not able to Access internet.

I managed to put those settings right, but every time visual studio 2013 starts the emulator, a snapshot is created for the VM, having the wrong settings again.

Thanks

Fernando Simoes

Visual Studio 2013 C++ if statement indent

$
0
0

Using VS 2013 I have the automatic indent turned on and for the most part it is quite effective.

Unfortunately, once a longer statement is wrapped in an if things go downhill/  For example, the statement:

if (!GetOverlappedResult(Clients[idx]->hPipe_recv,&Clients[idx]->PipeOverlap,&Clients[idx]->pipedatalen,TRUE)) {

is not formatted that way.  Triggering the automatic formatting leaves one with:

if (!GetOverlappedResult(Clients[idx]->hPipe_recv,&Clients[idx]->PipeOverlap,&Clients[idx]->pipedatalen,TRUE)) {

It is aligning the continuation line of the statement with the beginning of the "if", not the beginning of the statement within the "if".  Removing the "if" wrapper results in the proper statement formatting.

I just installed the Visual Studio Update 5 RC, and this didn't change the behavior at all.  I will say even with this annoyance, the automatic formatting is pretty handy.


InfinaDyne Forensic and Consumer software







VS2013 unknown hard error

$
0
0

does anyone can help, I am developing a winform application by using vs2013 express, now every time when I select a form file double click or right click to open, it will pop "Unknown Hard Error" and exit.

I have tried to use safemode and also re-installed .NET Framework 4.5 but nothing happened, the problem still exist and this makes me really frustrated. How can a Microsoft product has this kind of problem?

exception language in windows 8.1 and visual studio 2013

$
0
0

Since I got a new computer with windows 8.1 on it, debugging in visual studio is frustrating: system errors (exceptions) are received in Hebrew instead of English. I live in Israel but that does not mean that the professional language for development should be Hebrew!

Everything I tried in changing region and language has not helped.

Please help me to set up the system so that I will get system errors and exceptions in English likeI used to in windows 7

Take website screenshot when pc is logged off / locked.

$
0
0

Hello To All

Unsolvable problem :(

My application takes screenshots and use the picture for more purposes
the program works automatically scheduled in windows task manager.

This working great when user is logged on but when user logged off or locked
the program takes black screenshots.

I understand that when the user logged off or locked there is no UI to taking screenshots from, but can i do something to do that task ?

is it possible... ? some ideas..?

the code i use for make the screenshot is:

using System.Drawing;

using OpenQA.Selenium.IE;

var driver = new InternetExplorerDriver(IE_DRIVER_PATH, options);

var arrScreen = driver.GetScreenshot().AsByteArray;     


using (var msScreen = new MemoryStream(arrScreen)) 

{                 

var bmpScreen = new Bitmap(msScreen);                 

bmpScreen.Save(@"C:\screen.gif",System.Drawing.Imaging.ImageFormat.Gif);

        ...          

}




what can i do for taking screenshots in that case ?

I using .NET 4.5, C#, Selenium dll

Thank's.

Viewing all 21115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>