How to create ps1 PowerShell file in Visual Studio? - visual-studio

This is my first post:) Nice to get help
Is there any option to do that?
I attached screenshot

You can install PowerShell tools for Visual Studio.
You could install it from Visual Studio gallery. Once installed,
Create a new project , you will see PowerShell listed like below.
Below blog series will walk you though it.
https://pleasereleaseme.net/getting-started-with-powershell-tools-for-visual-studio/

Related

Visual Studio syntax highlighting / autocomplete not working correctly

My Visual Studio does not highlight or autocomplete any Unity3D commands any more. I created a new script when noticing that. I restarted VS, reinstalled VS, also reverted all script changes I made today in my project but the result is still the same. Also I now get errors when trying to open my project file. It says it needs a migration and isn't compatible with the current Visual Studio version installed.
The actual error reads "The application that is based on this project type was not found." [translated from German].
I found similar posts on the web where reinstalling VS resolved the issue. Unfortunately, it did not for me. This is how it looks:
Anybody knows how I can fix this?
Ok, I was able to resolve this issue using this trick:
"Do me a favor... if this is Visual Studio 2017... hit your start menu and find Visual Studio Installer... Run it... select "Modify" and select individual components... find Visual Studio Tools for Unity... if it's installed, untick it and uninstall it, then run the installer again and reinstall it. Otherwise, just tick it and install it."

Is there an integrated console in visual studio community like the one in visual studio code?

I searched for an extension but I didn't find any consoles, I only found Terminals, which solves the problem but only when I'm running without debugging which is almost useless.
There are two extension tools in VS IDE called Open Command Line and PowerConsole
You could check them in your VS, it would help us to visit or run project file or command lines.

Visual studio 2017 offline

My work space is visual basic, visual c++ , Sql in my current vs2013 which I provuded in picture, There is a lot of confusion in downloading vs2017 offline, so I need help in command to download offline for specific visual basic, visual c++, sql server
Hi you can download setup full packages in this site: https://www.nosware.com/visual-studio-2017-offline-installer/1528/
There is two option in there: first ±2GB for Desktop Development Only like: VB.NET, Csharp and C++, if you want full packages ±23GB, you can scroll down in bottom to download in two part, just using winrar to extract part file. Hope it helps.
Go to the following link and download the ISO version of VS2017, that will allow you to install VS while not connected to the internet.
https://developerinsider.co/download-visual-studio-2017-web-installer-iso-community-professional-enterprise/

Create project in Visual Studio and open/run in vs code on mac

I need to open, edit, and debug an ASP.NET Core project in VS Code on a mac. The project was created in Visual Vtudio 2015 on a PC.
I'm having trouble. I get the error
No task runner configured
and it brings me to launch.json.
It sounds like a gulp thing and I'm not sure what I'd need gulp for... nor do I know what to do with launch.json, having come from visual studio 2015. Shouldn't it just launch in Kestral and go?
For some reason all the S/O questions and tutorials I've found through search are about creating a .Net Core project in VS Code and maybe opening it in Visual Studio... Not what I need. Other way around. Project created on PC in Visual Studio then open and fully develop on mac in VS Code.
Maybe my search query is wrong. Surely this isn't a new problem. Or, maybe I'm just doing something stupid.
When you click Launch. Then you select dot net core on launch json option. It would create a launch.json like this:
https://github.com/tuoitrevohoc/NetExpress/blob/master/.vscode/launch.json
Then you need to edit the path to your built dll file. And click run again. Follow the guide to create a task.json to build the project. Then when you click run again it will run.

How to fix missing file in visual studio cordova blank new app project

I am having a problem with my codova plugin and I can't really run anything or write code.
What happens:
None of the additional files are shown in the solution explorer when I open a new cordova project. (There should be several files and folders according to the manual.) -- see picture included.
I can not build/run (probably because of 1).
I am using Visual Studio enterprise 2015 with the latest updates.
I tried going through the manuals and re-installed twice, nothing helped.
Please help :)
Thanks,Isan.
Open developer command prompt and run devenv /setup. See if it can help to fix the issue.
If above doesn't work, please
go to control panel-> Programs and Features -> double click to launch the installation program of Visual Studio 2015.
Then select "Modify" and deselect the tools for Apache Cordova to remove it first.
After #2, repeat #1 & #2 but this time please select the tools for apache Cordova to reinstall it.

Resources