I have never used Visual Studio for Mac before (not VS Code). I want to try out a tutorial to learn VS Studio by making a simple react app. I've tried creating a new project with VS studio, and then running npx create-react-app in the folder of the new project, but VS studio doesn't see the new folder. I've also tried opening the folder created by create-react-app , but VS Studio refuses to recognize it as a volder it knows, it's greyed out. Thanks for helping out on this basic beginning step.
Microsoft's documentation on using React in Visual Studio (see "Applies to" section at top of page) implies that using Visual Studio for Mac with React at the very least does not work with React the same way that Visual Studio (for Windows) does and may even suggest that some functionality is not be supported.
You can create a Visual Studio Project of template Web and Console -> React js and it will create a react app in the ClientApp folder of the project which you can work on. It will have a asp c# component in the project but that will be for in case you want to write server side which you can ignore for your development (if not needed). PS: I do not think we can create and run Node.js server side in visual studio ... atleast I am not aware how! being Microsoft i presume they will want you to write server side in ASP .NET
Related
I am writing all of my back-end code in F# & C# and I have them in a Visual Studio Solution with Git Set up etc. I have been wanting to do some front-end work using the Dev Extreme Framework & related Components. I separately installed a devextreme App using the command line ( outside of Visual Studio ) using the Method Here, Vuejs Version 3.
Everything works fine if I run it within the command line but I would like to edit the pages etc in Visual studio.
The only way I could get it into Visual Studio was to Create a basic Vue.js application in Visual Studio - rip all the files out except for the project file and add my other files I created using the link above.
Now - I am getting over 500 error within visual Studio - even though I can run the app in the PowerShell window in Visual Studio. I have excluded the node_modules directory but it looks like most of the errors are in that directory.
The solution looks like this:
I feel like I am fundamentally missing something.
I am using Visual Studio 2017 on Windows 10 with the official UWP sample code.
There is a UWP sample called basicinput that runs as a release build within the Visual Studio IDE without a problem.
My problem is:
when I attempt to run the release basicinput.exe executable by a mouse click (outside of the Visual Studio environment) I get an error saying that some DLLs names of the form vs*.dll can't be found.
I did a search for those .dlls and tried moving them to same folder as basicinput.exe, but then the application just hung.
What don't I understand?
What am I doing wrong?
As #Chuck-walbourn says, your application will appear in the Start Menu. If you want to deploy it to another computer (that doesn't have VS installed) you will need to create AppX packages using the menu item Project -> Store -> Create App Packages.... If you need more help with that. see the MSDN docs.
If you want to run your app from the command-line or from the Win+R dialog (with a simple name like foo.exe) you can create an appExecutionAlias for your application.
I have a new .net Core 2.0 Web API project (In Visual Studio 2017 Version 15.3.5) where I can´t build the solution if I add a new database project.
error MSB4019: The imported project "C:\Program Files\dotnet\sdk\2.0.0\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
I have tried all kinds of solutions
Installed almost everything missing from the Visual Studio Installer
Installed Visual Studio Build Tools 2017
Repaired Visual Studio
Without luck I tried to find Microsoft.Data.Tools.Schema.SqlTasks.targets file on C:\ to the add reference to it in the project file (I then don´t know if that works while building the solution in VSTS).
So why can I add a database project to a normal API project and everything works just fine but not to a .net core one?
Do database projects not work with .net Core? I have searched for information on this but sorry I just can´t find it.
I´m not sure what to do. Hope somebody can help.
Ok I managed to find the Microsoft.Data.Tools.Schema.SqlTasks.targets file on my computer.
I then needed to unload the project and edit it
There I changed this line
<SSDTExists Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
to the hardcoded path of my file
<SSDTExists Condition="Exists('C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets')">True</SSDTExists>
And now it builds on my computer and on VSTS.
But why this is like this I don´t know.
I was having the exact same issue building a SQL Server project on an Azure DevOps CI/CD pipeline, and locally on VS Code. On Azure DevOps none of the pre-built build tasks would work for me, and locally I could only compile the SQL Server project on Visual Studio, which was annoying. Your solution didn't work for me, after doing what you suggest, I would get a .dll missing error, related with the first error.
I solved this by avoiding to add a SQL Server project to the solution.
I achieved this by using an MSBuild SDK, capable of producing a SQL Server Data-Tier Application package (.dacpac) from the set of SQL scripts. By adding this second project to the solution, I managed to continue taking advantage of linking the project to a live database through SQL Server Object Explorer on Visual Studio. I gave a more detailed explanation about my implementation in this answer.
I have installed visual studio ultimate 2012 for windows 8 store apps but it doesnt show JavaScript in the new project.
The setup is good, i have installed it before using the same setup but i dont know what is the problem now..
I have also tried Visual studio Express, but got the same issue.. And one more thing BLEND is also not working in both the cases.
Are you looking in the right place? They can be 'hidden' in "Other Languages"
Search in the upper right hand corner of "New Project" for javascript to be sure.
Make sure you are up to date as well on the following updates as good measure
http://support.microsoft.com/kb/2797912
http://www.microsoft.com/en-us/download/details.aspx?id=38188
After uninstalling the current VS and then deleting all registries and finally installing Vs 2012 ultimate, fixed the issue.
I am developing a Windows 8 Store app. Till sometime back I could see the Tile of the app once I built and ran the Solution from Visual Studio.
However, very recently Visual Studio 2012 seems to have stopped creating the Tile to launch my application in the dev environment. I have to use Application Search to bring up the App shortcut and launch (outside the debugger).
Only recent change in my environment is the Update 1 installation.
Why has Visual Studio stopped creating the Tile or did I mess something up?
Environment:
Windows 8 Pro (x64)
Visual Studio Express 2012 Update 1
If you have un-pinned it from your start screen, it will be in your All Apps, you need to re-pin it. Most likely you just un-pinned rather than un-install.
Same here but I press Uninstall on my app.
Result :
My app is missing from "All apps".
App also cannot create any new/second icons/tiles.
Any new metro app have same problems
I manage to fix it by deleing folder(s) in (this is not good solution. must be another way to restore App):
"C:\Users\UserNameHere\AppData\Local\Packages\"