I'm trying to create a Setup Project. I have opened my solution and the main project in my solution as per these instructions:
http://msdn.microsoft.com/en-us/library/19x10e5c.aspx
I clicked File>Add>Add Project and it brought up the add new project window. But then the tut says to "in the Project Types pane, open the Other Project Types node, open Setup and Deployment Projects."
The problem is, I don't have a Project Types pane. Nor do I have anything saying Other Project Types or Setup and Deployment Projects. I have a pane with Recent Templates, Installed Templates and Online Templates in it, but that has no Other Project Types in it or anything of use. So I went to Online Templates. This looked promising, it had an other category. But there is nothing setup related in sight. So I used the search tool for Setup. Nothing. The tut says its for visual studio 2010. Do I need the non-express version? How can I get this wizard?
Thankyou,
YoshieMaster
The express version does not come with all the whiz bangs of the full development suite, just the tools to develop apps, checkout the version comparisons Here
As as side, there's this solution on CodePlex, you could take that for a spin
Related
I want to create an Asp.net Core project with Visual Studio 2017 Community but the Solutions explorer says that I have (0 projects).
I tried selecting an empty project, web application, web application (Model-View-Controller) but the Solution explorer still displays (0 projects).
When I go-to Debug I see the "Attach to Process" option. There is no option to start of course since I have no projects.
What could be the issue?
Have you installed everything correctly? To verify this, open a normal cmd and just type 'dotnet'
Only if the command runs, printing out information about how to use dotnet, you're good to go.
Have you installed the correct .NET SDK? What version of it? Make sure the version is compatible with the version of visual studio you have installed.
Follow this link for step by step setup instructions:
https://www.c-sharpcorner.com/article/getting-started-with-net-core-on-visual-studio-2017/
This could be the same problem, but I had the same issue during College once but this time I had the support for the web components, so I went back to the installation and repaired it. It downloaded the missing files and it worked again and it took a while.
Let me know if that works or not.
So, I feel like I don't have all of the Visual Studio components that I need on my personal computer. For example, when I create a new ASP.NET application on the school computer, it generates files with it (program.cs, startup.cs, and appsettings.json), but those don't exist when I try to create a project on my laptop.
I just had a huge issue trying to get Scaffold-DbContext to work (and after about an hour of digging, finally found the commands to run in Package Manager Console that would allow that much to work). I'm sure there are other things I'm completely missing and don't realize it yet.
What do I need to do to get these files to be generated when I create a new project? Are there other things that I haven't installed for Visual Studio yet that I probably should? I'm really at a complete loss here.
Bring up Visual Studio. Click on Tools. Click Get Tools and Features...
Compare whats installed with what you have at school.
These three will do most of what your looking for:
.Net desktop development
ASP.NET and web development
Data storage and processing
Also look at the versions Help About Microsoft Visual Studio
I am completely new to C# development and Visual Studio, and just started working on an existing project for an app server. I downloaded Visual Studio Community for MacOS and opened the project's solution (.sln) file. I have managed to get the solution to build, but every time I open it, a popup window appears, displaying two warnings like
Projects with non-local source (http://...) not supported. 'http://localhost:<some port number>'
I couldn't find any references to this specific message. What does this mean? Should I worry about it?
It means your solution has a project defined in it that VS doesn't understand. This typically happens when a solution is originally built on one platform and then is opened on another.
For solutions built originally on Mac OS, which uses Mono for .NET, generic projects use the .mdproj type. VS for Windows doesn't understand these. Likewise, there are project types that Windows VS can create that VS for Mac doesn't understand. This is what produces the error you see.
In my case, on Windows VS the solution contained a "web site" folder (e.g. globe icon). This was really just a folder with HTML files in it, but the solution defined it in a way that the Mac OS VS didn't understand. My solution was to fire up the solution in Windows, remove the html project, and add a Solution Folder (plus all the child folders and files). VS doesn't treat these Solution Folders as projects, and so on the Mac there was no problem opening the solution.
Some background: https://www.monodevelop.com/documentation/solutions-and-projects-explained/
I am missing the usual publish targets when publishing my c# web application. The usual "Import" and "Custom" options are missing when I go to publish, as well as the "Manage Profiles" drop down that has the option to create a new profile.
Here is the screen I am presented with.
The buttons on the left hand side are "greyed out"
Here is another screen from a colleague that has the missing options
I have tried a full reinstall of Visual Studio 2015 update 1 with no success. I have also tried creating a fresh ASP.NET Web application project in a new solution resulting with the same problem.
In the end this ended up being a corrupt publish profile file in the Properties/PublishProfiles/xxxx.pubxml within the project.
There are multipy options for this behavior:
Issue with the Web Deploy Tool
Try to reinstall the current Web Deploy 3.5 Tool
Depending on the exact Version of your Visual Studio and your Operating System
There are known issues about specific OS/Visual Studio combinations.
Missing Web Developer Tools at Installation
Select the Web Developer Tools Option at installation
I am using Visual studio 2015 with framework 4.5.1 and NServicebus5.
I am learning NServicebus from the Plural sight videos. It mentions that "To use the host just create a new C# class library and reference the NServiceBus.Host NuGet package. The package will create an example endpoint configuration and sets the NServiceBus.Host.exe as the startup project for the endpoint."
However, in visual studio 2015 there is no "startup project" option available under properties --> Debug tab. Further, no endpoint configuration file being created by NServicebus.host(6.0.0). Hence I cant run my class library.
Can anyone tell me how can I make it work in visual studio 2015?
Select the project in the solution explorer with the RH mouse button, then choose Set As Startup Project from the menu.
When you have more endpoints (endpoint=project) in the solution, select the solution in solution explorer with RH mouse button, then choose Set Startup Projects... from the menu. Click the Multiple Projects radio button.
I haven't checked PluralSight recently, but there was only one video when I was learning. I found the tutorials on the Particular site really good, and there are now loads of good examples on GitHub. Whatever you do, assume you're going to throw away at least one of the projects while you're learning. David Boike's book was handy for getting everything together for deployment.