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

Hiding the Vertical Outlining Lines in All File Types

$
0
0

In Visual Studio 2017 Community I want the vertical lines between the beginning & end of a collapsible region to be hidden. This somehow stopped happening in my *.xaml files (although all my other files are still fine). For example, here is a screenshot of one of my *.xaml files:

And here is a screenshot of ne of my *.vb files:

Notice how the *.xaml file has vertical dashed lines, while other file types (such as the *.vb file that I show a screenshot of) do not. I could not seem to find the setting in Options to change this. Am I missing this setting somewhere? I could not find anything in Tools->Options->Text Editor->XAML that changed this, it seemed to have happened unexpectedly on it's own. What can I do? Thanks.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/


Need to migrate coded ui automation to selenium/c#

$
0
0
Need to migrate coded ui to selenium /C#

WE have a big project which is in coded ui
We have to migrate it to selenium /C#

I want to do in a shorter span 
Is there any way we can write some method where we can convert the coded Ui keyword into Selenium

Else can we apply AI Concept 

Pls advice

Issue signing in

$
0
0

Hi,

I'm using Visual Studio 2017 Community Edition.

I've had some issues signing into Visual Studio. When I click Add An Account I get the following message: "We could not add the account. Non-HTTPS url redirect is not supported in webview".

If I click Sign In I get the message: "We could not refresh the credentials for the account. Non-HTTPS url redirect is not supported in webview."

Because I haven't been able to sign in, the Trial Period has run out and I can't use Visual Studio anymore. The account I'm trying to use is part of the Dev Essentials Program, but I can't even get far enough the the IDE sign in to try and enter it.

I also have Visual Studio 2013 and 2015 installed on my machine, and both of them have the same issue. I have another computer connected to the same network that can sign in, so I do not believe it's a network issue.

Any help would be appreciated.

Thanks,

Jonathan.

How do I get c++ to work on Visual Studio for Mac?

$
0
0

It's been a long time since I was a programmer. I'm taking an intro to c++ and everyone else in the class is on Windows. I'm on a Mac. I've been using an editor and the command line (in Terminal) g++ compiler. It's been working fine.

However, the professor wants me to use Visual Studio. I downloaded it and installed it on my Mac. So far so good.

When I try to create a c++ project/program it only gives me the option of creating c# programs, at least it doesn't give a c++ option.

So, how can I write and run c++ programs on Visual Studio on a Mac?

Thank you.

Unable to retrieve my Azure subscription when connecting Hive database

$
0
0

Hi experts,

I'm using VS 2017 Enterprise. Now I'm unable to connect Hive database under my Azure subscription. I already logged in my account with Azure subscription in both Server Explorer and Cloud Explorer. When I connect to any Hive database, it just shows error below: 

  

This issue occurs recently since I can successfully connect those Hive databases before. And it seems only this HDInsight Tool has this issue. Here are options I already tried with no success: 

  • Removing all accounts-> restart VS 2017 and re-add my account-> re-login Server Explorer and Cloud Explorer.
  • Delete %LOCALAPPDATA%.IdentityService folder-> restart VS-> re-signin Azure subscription
  • Re-install VS 2017



Can you help me get this issue resolved?

Regards,
Simon


MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

Cannot build VS2017 C++ solution using VS2019 Preview

$
0
0

Hi

I have a C++ solution/project that is developed with Visual Studio 2017 by many developers.  We don't want to upgrade it to VS2019 yet.

I tried building this solution using Visual Studio 2019 16.0.0 Preview 5.0 and the build failed with:

error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install Visual Studio 2017 build tools.  

It appears that 'Visual Studio 2017 build tools' is no longer available, so I downloaded and installed 'Visual Studio 2019 build tools' and enabled component:

MSVC v141 - VS 2017 C++ x64/x86 build tools ...

However, VS 2019 still gives the same error:

error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found.

Why isn't VS2019 finding the VS2017 build tools?


T4 template transform getting error by CustomHost

$
0
0

Hi Team,

I have created custom host for T4 template transform based on below mention Microsoft document link.

https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/modeling/walkthrough-creating-a-custom-text-template-host.md  

I tried to transform T4 template. but its get "ErrorGeneratingOutput".

I have get below error in host error list.

Error : 
There was a problem getting an AppDomain to run the transformation from the host. The process cannot continue.

Same method I used in console application its working fine. But when use above code/method in Visual Studio extension project its get error.   

Note:Issue occurred Visual Studio 2015, 2017 

I have searched more link there is no solution. So, please update idea to resolve above reported issue. 

Regards,

Jaya

Android Emulator not starting

$
0
0

Trying to start Android Emulator shows the following error message:

"
Windows Hypervisor Platform error

We've encountered an error with your Windows Hypervisor Platform (WHPX) configuration that is preventing us from running your emulator accelerated.

Please ensure WHPX is properly installed, then perform a factory reset on the emulator and try again.
"

As far as I can see the "Windows Hyporvisor Platform" is indeed installed (showing up with tickmark at Windows Features)

Anyone got a hint?


Is Visual Studio 'Express 2017 for Windows Desktop' no longer available?

Requirement Work Type Error: "The value for the field 'State' must be the same as the original value."

$
0
0

When attempting to change the requirement State field from 'Proposed' (Reason='New') to 'Active' (Reason='Accepted'), the above error message is received.

How can this be resolved?

Thanks.

VSTS/DevOps: how to get certificate for manifest signing

$
0
0

Hello all,

in the past, we used VSTS build agents, running with domain accounts on on-prem build machines. In such scenario, certificates could be stored into the domain accounts personal store (manually, by logging in once with this account). So a later build could get the certificates by thumbprint for signing e.g. a manifest.

Now, the agents run with "Network Service", because we no longer have a local domain (all moved to Azure AD). All works, except the retrieval of certificates from the store. I already used the mmc snap-in to connect to the service (VSTSAgent), and installed certificates to this personal store, but still the build fails with "Error MSB3323: Unable to find manifest signing certificate in the certificate store.".

If I log-on to the machine and run from within VS, all works well, but of course here I am using a different account (with a different personal store), but this at least tells me that solution & projects are fine. And the pipelines are OK as well, because they still work OK on the "old" build-machines that use a domain account.

So, if anyone has an idea or can point me to some information on how to use the VSTSAgent running as "Network Service" together with signing (from the certificate store), that highly appreciated.

Many thanks, Sebastian

How can I upgrade the project database to use SQL Server LocalDB Express (instead of SQL Server Express) if I can't find the database file?

$
0
0

After removing SQL Server Express (I wasn't using it) on my machine, I got the following error:

Microsoft Visual Studio

The Web project '{Project Name}' requires SQL Server Express, which is not installed on this computer. The recommended database engine for Visual Studio 2012 is SQL Server LocalDB Express.

To upgrade the project database to use SQL Server LocalDB Express, double-click the database file and follow the instructions. Note: After this upgrade, the project database can't be modified using earlier versions of Visual Studio.

To continue using SQL Server Express for this project, install it from the Microsoft Download Center.

The problem is that I can't find the database file referenced in the error message, so I can't follow the instructions as suggested.

I'd love to upgrade the project DB to use SQL Server LocalDB Express - just can't see how to do that with the instructions given.


"We're all in it together, kid." - Harry Tuttle, Heating Engineer

64 bit Compile. Missing statically linked 64 bit DLL generates a fault after general "Missing DLL" popup

$
0
0
With a 64 bit Compile, testing when a required  64 bit DLL is missing, statically linked,  we get the normal windows "Missing DLL" popup, but then a fault is generated in NTDLL.DLL and you get the windows error reporting windows prompts .

How can I prevent this?  I disabled all windows error reporting in the compiler/linker configuration.  I just want the normal missing file popup by the OS?  

Thanks

Hector Santos, CTO Santronics Software, Inc. http://www.santronics.com

Errror on simpy import (Python)

$
0
0

Hi

I try to run this Python Package:LatexToSimpy, and I got this error below:

  Message=No module named 'sympy'
  Source=C:\Users\jean-pierre\source\repos\latex2sympy\test.py
  Arborescence des appels de procédure :
  File "C:\Users\jean-pierre\source\repos\latex2sympy\test.py", line 2, in <module>
    from sympy import *

How do I

pip install sympy

in VS ?


it's been 10 years now that I did not use Visual Studio !

How to enable Deploy for a custom Makefile vcxproj

$
0
0

I have an executable I wish to deploy to a device via command-line tools.  I wish to deploy this executable via "Deploy Solution", and thus want to check the "Deploy" checkbox in the Configuration Manager.  This means that Visual Studio needs to think my project is "deployable".  (I'm currently using 2015 but will switch versions if something was added/fixed in a future version.

I had hoped this would be as simple as adding a Deploy Target in my vcxproj, like so:

<Target Name="Deploy"><Message Text="Hello World" /></Target>

But this is not working--that project does not have the ability to check the "Deploy" checkbox, nor is it considered if I do a Deploy Solution.  (I can build the Deploy target from the command-line with msbuild, though.)

My vcxproj is currently using Makefile as the ConfigurationType and MakeFileProj as the Keyword in the globals PropertyGroup. The Platform is set to something I made up. I'm not strongly tied to using Makefile; I'll use any project type I can which will work.  I don't even need intellisense to work for this project (I already have another vcxproj for building the code.)

(At some point in playing around with this, I did get Visual Studio to think the project was deployable! But I can't repeat that achievement.)



Visual Studio 2019 how to add the Find and Replace Multi Lines

$
0
0

i installed Visual Studio 2019  and cannot find how to add the  Find and Replace Multi Lines 

Please Help

Errror on simpy import (Python) VS2019

$
0
0

Hi

I try to run this Python Package:LatexToSimpy, and I got this error below:

  Message=No module named 'sympy'
  Source=C:\Users\jean-pierre\source\repos\latex2sympy\test.py
  Arborescence des appels de procédure :
  File "C:\Users\jean-pierre\source\repos\latex2sympy\test.py", line 2, in <module>
    from sympy import *

How do I

pip install sympy

in VS ?


it's been 10 years now that I did not use Visual Studio !


VS 2019 IDE change Users Language

$
0
0

Hi

I prefer not to work in my native language but in English.

How can I change the VS 2019 IDE users language. there is not English option.

how to run VS installer to get English ?

Visual studio 2019 - space or not space before the closing tag

$
0
0

I use VS 2019 to upgrade a project from .NET 4.6.2 to .NET 4.8. Visual Studio 2019, in its ultimate wisdom, decided that it wants to use a slightly different xml format. While they are the same functionally, this type of behavior causes a lot of unnecessary changes my commits, and is a source of more unnecessary changes in the future.

Is there any way to force Visual Studio to use a consistent markup style?

Microsoft RDLC Designer for VS 2019

$
0
0

Hi all, 

does anyone knows when it´s going to be available the RDLC designer for visual studio 2019 ?

i already installed the Microsoft Reporting Services Project tool from the store but this is for the SQL not for .NET. 

thks

Viewing all 21115 articles
Browse latest View live


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