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

Visual Studio 2019 WSL problem

$
0
0

Good evening,

I have a problem with VS2019. I am trying to compile a Linux project using Visual Studio 2019 and WSL.

The project consists of main.cpp file, few header and source files.

When I create a class with std::cout<<"text" included from the main file, Console Window Output stays empty. Same happens when I try to invoke std::cout<<"anything" or printf("anything") from the int main();


Visual Studio 2015 Community cannot download a license.

$
0
0

I have a project in Visual Studio Community 2015. It worked fine for quite some time, but suddenly it started complaining about my license expiration. All attempts to renew the licence fail with an error message: "We could not download a license. Please check your network connection or proxy settings."

Unfortunately I cannot move the project to VS 2019 because Microsoft stopped supporting some of the critical features.

Please help.


Visual Studio Code just deleted all my files

$
0
0
I accidentally initialized a repository standing in my coding folder. It created a whole lot of pending changes since this was files not under source control or under TFVC source Control. To undo this I chose "Clean all" which I expected to behave like undo. But no, it seems to have made a permanent delete on ALL my files. I am novice to Git, so maybe this is how things work in the git world. This is a total disaster! They were not in the trashcan, so I guess all my work not versioncontrolled is lost. Will for sure never ever again use VS Code!!!

無法 安裝 Microsoft.VisualStudio.MinShell.Msi.Resources 回報此問題

$
0
0

,遇到这个问题好几次了,每次都是这样的问题,该怎么解决啊?卸载重装还是不行,求大佬解决?

visual studio 2013

$
0
0
hi i need visual studio 2013 express where do i download it from. please assist

c# 2019 Preview - does not kill executable so it cannot run again because 'file locked'

$
0
0

I'm using C# 2019 Preview.

in the last two or three days, C# runs smoothly until I stop a debugging session to make some changes and then when I go to run it again the IDE refuses and says 

ErrorCould not copy "obj\Debug\Latin Project 2_2.exe" to "bin\Debug\Latin Project 2_2.exe". Exceeded retry count of 10. Failed. The file is locked by: "Microsoft Visual Studio 2019 Preview (11104)"Latin Project 2_2

ErrorUnable to copy file "obj\Debug\Latin Project 2_2.exe" to "bin\Debug\Latin Project 2_2.exe". The process cannot access the file 'bin\Debug\Latin Project 2_2.exe' because it is being used by another process.Latin Project 2_2

the screen-shot below shows the IDE w/ error messages and the Windows Task Manager listing application currently running by name in alphabetical order(clearly not listing the current project 'Latin Project 2_2.exe').

because I can't kill an executable not listed in the Task-Manager, I killing C#2019Preview with the Task-Manager about 1 in 5 times I stop my debugger.

a little annoying.

BadButBit


my code is perfect until i don't find a bug



Console application not working

$
0
0
So after compiling my project everything is fine but when I try to run the exe the console closes automatically, after running the exe from cmd the project stays open but nothing happens, also start without debugging keeps the exe open but no code is being executed. if anyone has any ideas on how to fix this please let me know

visal studio is running the wrong file in terminal!

$
0
0

im trying to run a file(python) invisual studio , but for some reason it keeps running the same file i Xed long  ago and wont run the right file

what can i do beside turn it off and restart?


Visual Studio 2019 and 2017 About the target platform

$
0
0
If I build a desktop app for windows using Visual Studio 2019 or 2017, is windows server 2019 a target platform?

Unable to create a new Visual C# project in Visual Studio 2017

$
0
0

Hello,

I have visual studio installed on my system for both C# and C++ and I am able to open both c# and C++ solution files and run them on my visual studio.However I do not have have option to create any C# projects I can edit in the already created project but I cannot create a new one. Also at the same I have option to create a C++ project and also edit them. 

Could some one tell my why it is so or probably the solution to resolve this. ? This will help me resolve this issue.

Thanks in Advance for Your Help,

Shravya


Linq to SQL in VS 2019 using VB.NET - Outer left join?

$
0
0

Hello all

I'm struggling to get the result I need from my linq to SQL query. I can find all of the person table records, or only the ones that have a corresponding date_table entry. This is the query I'm using, this results in only MK numbers 101 and 104 being returned. Numbers 100 and 105 are missed I guess because they don't have a valid record for today?

Where Person_data_table.MK = Date_Table.FK And Date_Table.Allocated <> "Vacation" And Date_Table.Allocated <> "Sick" And Date_Table.Date = Today And Person_data_table.Team = "A"

This is the table data (note Today is 15-Mar-20) - Please keep answers in VB, as C# answers don't tend to work after I have translated them! - Any help appreciated

regards

Peter

Register visual studio 2012

$
0
0

I have install visual studio 2012 and i want to register.

How i register??

How do I link a dll to a C++ project in Visual Studio 2019

$
0
0
I'm building a project, included the dll's path in Project->Properties->Configuration Properties->Executable Directories. however, the program still complains that it cannot find the dll. Could someone please help? I am using Visual Studio Community Edition. thank you!

"no resources found" when trying to publish to existing app service plan using Visual Studio 2019 (16.4.6)

$
0
0

I am trying to deploy to my App Service Plan using Visual Studio (2019 16.4.6)  via right-click -> Publish

I select "choose existing" - but get "no resources found" - there's definitely an existing app service plan however... it's just not showing?

Have signed out of VS and back in, restarted, all the usual 'quick fixes'

How to update Visual Studio 2017 to VS2019

$
0
0
i DO NOT want do download another VS, ant way to update from VS2017 to VS2019 DIRECTLY

When i backspace on visual studio 2019 it makes me do the whole line again

$
0
0
Help my visual studio goes back every time i need too, but then it takes from the next letter making me restart the whole line of code!very annoying when i'm writing lots of code and make 1 mistake then it makes me do the whole line again.

Visual Studio Team Explorer option Pending Changes throws Unable to write data to the transport connection: An existing connection was interrupted by the remote host.

$
0
0

Hello, 

At the time of entering to the pending changes tab in Visual Studio, it happens the following error:

Unable to write data to the transport connection: An existing connection was interrupted by the remote host.

Im connected to a project whose repository is in TFS, and im using visual studio 2017, although the same error also occurs in visual studio 2019, so i need help about which may be causing the error.

Regards.


The "ResolveTargetingPackAssets" task failed unexpectedly

$
0
0

Visual Studio 2019 Version 16.4.6
Have AspNetCoreVersion: 3.1.1

I get the following error for all packages:

ErrorMSB4018 The "ResolveTargetingPackAssets" task failed unexpectedly.
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\dotnet\packs\NETStandard.Library.Ref\2.1.0\data\FrameworkList.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.FinishInitUriString()
   at System.Xml.XmlTextReaderImpl..ctor(String uriStr, XmlReaderSettings settings, XmlParserContext context, XmlResolver uriResolver)
   at System.Xml.XmlReaderSettings.CreateReader(String inputUri, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings settings, XmlParserContext inputContext)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at Microsoft.NET.Build.Tasks.ResolveTargetingPackAssets.AddReferencesFromFrameworkList(String frameworkListPath, String targetingPackDllFolder, ITaskItem targetingPack, List`1 referenceItems)
   at Microsoft.NET.Build.Tasks.ResolveTargetingPackAssets.ExecuteCore()
   at Microsoft.NET.Build.Tasks.TaskBase.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()Foundation.BlazorCssVendorsC:\Program Files\dotnet\sdk\3.1.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets283

It seems that C:\Program Files\dotnet\packs\NETStandard.Library.Ref\2.1.0 is empty.

Why is that?


Gorhal


One Form Show always as edited when open / Same form going white some time

$
0
0

Hi,

In my project there is one form shows as edited when i open form and always asking for save the form. 

Same form shows as white screen in some time, then i need to close the form and reopen again it's shows all controllers same as before. but, show me (*) as edited so i need to save it again. 

As i remember this issue was begin when previous VS Update. 

Please Help me for fix this issue. 

Thank you!!!


RohanD

VCVARS64

$
0
0
May I know what is the full form of "vcvars" in vcvars64.bat file?
Viewing all 21115 articles
Browse latest View live


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