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

Why does Visual Studio 2013 SP1 hang so often?

$
0
0

Visual Studio 2013 is turning out to be very painful to use.  It is very often slow, and hangs sometimes for quite a while (sometimes so long that I have to end the process via Task Manager!) without any indication of what the problem is.  This seems to happen when I copy and paste a new file (with an Add Progress dialog box showing that doesn't display any progress at all!).

Is this a problem with TFS online?  E.g. when I paste new files in it is trying to add them to source control, but somehow failing?

Help please!

It is getting so bad that I am thinking of going back to Visual Studio 2012, or stopping using TFS online.



hub fatal error during installation in visual studio 2015 RC

$
0
0

I'm facing below issue when I trying to install Visual Studio 2015 RC to my windows 10 OS(Insider preview, Evaluation copy 10130)

enter image description here

New Windows Phone Project Fails to Create Itself.

$
0
0

Well the final stage of the VS install failed, twice. But it did manage to install most of the software, so I can open up the IDE and create web apps and windows forms apps. But when I try to create a Windows Phone app I get the following error message:

this template attempted to load component assembly
'Microsoft.VisualStudio.SmartDevice.ProjectSystem.Base,
Version=12

for more info on this problem and how to enable
this template, please see documentation on
customizing project templates.

------

So, none of the project files are created, only the empty folders are there. Please help me repair my installation, thanks.

object reference not set to an instance of an object in running Python application

$
0
0

Good Day.

Am new to Python. And watched some tutorials on how to use/code it. Recently, I installed VS2013 with Update 4 aswell as PTVS 2.1 VS 2013 and CPython interpreter, python-3.4.5. Knowing that I've installed all the prerequisites, I'm now ready to test my a print sample of "Hello World" through print(''Hello World"). But as soon as I hit the Start button, an error suddenly (and keeps on) pop-up stating, "object reference not set to an instance of an object." and I was not able to run the output.

I wanna know what was wrong or did I missed something? Please just let me know. I want to start building projects in Python.

To sign into this application the account must be to the ... directory

$
0
0

 I've created a resource group in Azure and gave a developer(Jim) in my team specific rights for that resource group.

Jim can login into the new azure portal and explore the resources in the resource group. All Fine.

When Jim tries to login into azure via Visual Studio 2013, he got the error:

"An error occured during the sign in process: AADSTS: To sign into this application the account must be added to the a....6 (=guid) directory"

Please see the following thread for print screens: https://social.msdn.microsoft.com/Forums/azure/en-US/321a70cd-077f-434c-bbc6-5444241732c9/to-sign-into-this-application-the-account-must-be-to-the-directory?forum=WindowsAzureAD

ps: Azure support suggested to post my question here

The components for communicating with FTP servers are not installed.

$
0
0

I'm running VS 2013 and when I try to publish to ftp site I get the following message. "Unable to create the Web site 'ftp://xx/'. The components for communicating with the FTP servers are not installed."   It has been running fine. I can publish to file system, web sites etc, just not through the ftp settings. I can access the ftp sites from my system, using other programs. It is not trying to connect to the ftp site at all.





Output Color

$
0
0

i have write this code which show three output on console i want when the output 1 is shown on console its color is Green

and output 2 have Red color and output 3 have yellow color  when  the programe is executed it all turns to yellow so how it will be ?

#include <iostream>

#include <conio.h>

using namespace std;

void main()

{

    system("color A");

  cout << " My Name Is Haider Rashid Khan " <<endl;

 system("color C");

 cout << " i want to learn coding "  <<endl;

system("color E");

cout << " Good BYe " ;

_getch();

}

error C1083: Cannot open source file: '_WIN32_WINNT=0x0502': No such file or directory

$
0
0

Hi All,

I am getting the below error, even if i try to build a new blank project.

Error2 error C1083: Cannot open source file: '_WIN32_WINNT=0x0502': No such file or directory

Is there something to do with the two version of Visual Studio? I have VS2010 and VS2013.


Lucifer999


How to create a table

$
0
0

My real problem is knowing where to post this question. I am trying to add a table to a local database as an MDF file type. I was able to do this very easily in VS express and VS2010, but was forced into a miagration to VS2013. I created a database and I can use server explorer to find it. I find an option to add a table, proceed to define my table but I cannot figure out how to complete the process of actually adding the table I have defined. It seems ridiculously simple, but I must be missing something. PLEASE HELP

install jQuery

$
0
0

I have Visual Studio Express for Web 2012 and would like to use jQuery and get latest version.

It looks like it has jQuery 1.8 with this version.

I want to get the latest version for my development project.

Are there any way to download and install for the this?

Your help and information is great appreciated,

Regards,

Sourises,

Changing label according to click

$
0
0

Hello

i'm kinda new to visual studio and i'm trying to change the label according to click

http://prntscr.com/7iurrd if the user clicks fire label 67 would change into fire, if user click ice label 93 would change into ice and so on

sorry if this is a noob question and thanks in advance!

How do I know if I have Update 3 for my VS2013?

$
0
0
It doesn't say what update version I have on the About page. Thanks for your help.

ScriptedSandbox64.exe During Debug Sessions

$
0
0

This is a follow-up post related to my development productivity while performing build/debug iterations in VS 2015 RC.  The original post is here and lists all the different VS-related components that I find seem to consume CPU or do some kind of blocking: (VS 2015 RC and productivity during build/debug iterations)

Question:
Does anyone have any thoughts on something called "ScriptedSandbox64.exe"?  If my IDE gets locked up and I kill that sucker, it can have the effect of freeing things up a bit.  But then it comes back again and never solves any long-term problems.

In order to see this process in taskmgr, you just need to create a new console application and start debugging.  You will see the process being launched during debugging.  Killing it seems to have no adverse effects that I can tell.  Ideally there would be configuration to prevent it from starting in the first place.

I'm not trying to nitpick .  Instead I am seeing latencies and I am having trouble understanding where they come from or why they are involved in launching a WPF (legacy) app from the Visual Studio debugger after making a minor edit to a code file.  Sometimes its fast and sometimes its slow.  It is extremely inconsistent and unpredictable, even when adding a new blank line to the exact same code file and launching a build/debug session.  It is a general question about Visual Studio performance and it involves the component I listed (as per a simple ProcessMonitor audit).

Thanks

  

David Beavon

VS 2015 RC and productivity during build/debug iterations

$
0
0

I really want to like VS 2015, and I really want to use it all day, and I really don't want to revert back to VS 2013 to be productive.

But there are challenges.  Maybe it is because I don't understand the tool as well as I thought I did.  I guess the main thing I'd like help with is to understand VS 2015 better.

Would someone please review the list of components below and provide an explanation of what they do at a high level as well as a guestimate on how they might impact the productivity of a developer during build/debug?

(Once we know what the components do at a high level, maybe we can dive into the features they support - in a separate posting.  That way when one of the components seems to misbehave or consume too many resources, then we can start to disable features.  I went thru painful trial-and error to determine I needed to disable tons of stuff: Live Visual Tree, IntelliTrace, autocomplete on first character, much of the newer codelens stuff, etc....  )

Below are some components impacting productivity for build/debug (not all necessarily part of the VS 2015 distribution itself).  Please help me understand them better.  Maybe I missed some?  I have mistrust for some of them (that have a major presence in ProcessMonitor and ProcessExplorer) like ScriptedSandbox64.exe , Microsoft.Alm.Shared.Remoting.RemoteContainer ,StandardCollector.Service.exe
, MsMpEng.exe.  Lets just say that developer productivity doesn't seem to be a fundamental goal behind all of the components below.    Why would a developer tool want to be overly concerned with developer productivity anyway?

---------

ScriptedSandbox64.exe
LOCATION:  C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PrivateAssemblies
PURPOSE: ????
Seems to misbehave for me and locks up the IDE regularly

---

MSBuild.exe
LOCATION: C:\Program Files (x86)\MSBuild\14.0\Bin
FREQUENCY/COUNT: Always/many
PURPOSE: devenv.exe solution dependency calculation for builds

---

VBCSCompiler.exe
LOCATION: C:\Program Files (x86)\MSBuild\14.0\Bin
PURPOSE: Roslyn? https://roslyn.codeplex.com/wikipage
SOURCE OF PERFORMANCE: Possibly!

---

Microsoft.Alm.Shared.Remoting.RemoteContainer
LOCATION: C:\Windows\Microsoft.NET\assembly\GAC_32\
PURPOSE: CodeLens? http://www.dirkstrauss.com/visual-studio-2013-2/codelens-freezes-visual-studio#.VWcJjnlFAVP
SOURCE OF PERFORMANCE: Yes!

---

Microsoft.VsHub.Server.HttpHostx64.exe
LOCATION: C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0

---

Microsoft.VsHub.Server.HttpHost.exe
LOCATION: C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0

---

VsHub.exe
LOCATION: C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0

---

XDesProc.exe
LOCATION: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
PURPOSE: XAML WPF designer?

---

StandardCollector.Service.exe
LOCATION: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\DiagnosticsHub\Collector
PURPOSE: Sniffing? "Insights"?

---


MsMpEng.exe
LOCATION: C:\Program Files\Microsoft Security Client
PURPOSE: Looking for viruses. Slowing things down.

---

etc....

It would be nice to have an explanation for the components now that more and more of them are exposed to us outside of devenv.exe.


David Beavon

problem with label and form

$
0
0
hello everybody,

i have two questions.

1st question :
i want to know why i can make a text (label) appears after 10 seconds or more?

2nd question :
i want to know if i can make 2nd window (Form2) to close automatically for example after 10 seconds?


and thanks in advance.

Regarding Enable or Visibility of wizard steps in Wizard Control Tool in Visual Studio

$
0
0
Is there any control, tool or method to  Enable=true/false or Visibility=true/false ofwizard steps in Wizard Control Tool in Visual Studio Development?

How to enable feature in my Visual studio 2013 texteditor feature to underline if file not found

$
0
0

How to have my text editor in visual studio 2013 show error or warning when my file path for referencing a file is not found

(for example ~/Scripts/jquery-1.10.2.js"> ... if there is no Scripts folder the the above line should be underlined with warning

This does not happen in my Visual studio Ultimate (2013)

Error 175: The ADO.NET provider with invariant Name 'System.Data.SqlClient' is either not registered in the machine or application, config file, or could not be loaded

$
0
0

I recently had a new hard drive installed where all of my apps needed to be reloaded. After that was completed and I attempted to rebuilt my apps using VS 2012. I recieved the following errors. I also tried to rebuild them using VS 2013 and received the same error messages. Also, when I attempt to launch the Entity Framework designer tool I can't see the data model.

Thanks, 

Error 175: The ADO.NET provider with invariant Name 'System.Data.SqlClient' is either not registered in the machine or application, config file, or could not be loaded.

The Db Provider Factories section can only appear once per config file.

How to build DLL by visual studio 2013

$
0
0

I am using VS 2013 community. I follow this to build a dll successfully. I then try to build a dll like this:

// sfToolsDll.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"
#include "sfToolsDll.h"
#include <iostream>

namespace sfTools
{
	template<typename T>
	void Print::PrintVec(const std::vector<T>& inVec)
	{
		for (size_t i = 0; i < inVec.size(); i++){
			std::cout << inVec[i] << std::endl;
		}
	}
}

// sfToolsDll.h
#ifdef SFTOOLSDLL_EXPORTS
#define SFTOOLSDLL_API __declspec(dllexport)
#else
#define SFTOOLSDLL_API __declspec(dllimport)
#endif

#include <vector>

namespace sfTools
{
	class Print
	{
	public:
		template<typename T>
		static SFTOOLSDLL_API void PrintVec(const std::vector<T>& inVec);
	};
}
After I build the solution, I cannot find the sfToolsDll.lib file under Debug folder, so I unable to include this file in other solution and I fail to build them. How to fix it?


Error : DEP0001 Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

$
0
0

Hello people. I read a lot about this specific error but no matter what i do it still giving me a headache...

If anyone could help me, im really stuck with this..

Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

Thanks a lot.

Viewing all 21115 articles
Browse latest View live


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