I have a Solution in Visual Studio 2017 and one of the Projects is an ASP.NET Web Forms application.
How can I rename the Project?
I changed the name in the .sln file but within the IDE it is still showing the old name. The folder name matches the required name.
In Visual Studio Enterprise 2013, right click en Solution and search in contextual menu the option "Rename", there put you new solution name solution rename
Thanks for the response.
I had already tried editing the .sln file but it made no difference.
I finally found the problem was in the applicationhost.config file. Once I edited that the new name appeared.
Related
I installed Visual Studio 2017 on my mac. Also i have a project that written ASP.NET core. But i couldn't find any option to create a project from existing code.
Any suggestions would be appreciated.
Cheers!
I figured out.
Basically i opened .csproj file on Visual Studio. So that created *.sln file for me.
Tip: If you want to add more projects into your solution, you can simply add after opened *.sln file.
We recently started using Visual Studio 2012. We are also using third party ASP.NET controls from DevExpress. We are also using Team Foundation Server 2012.
For simplicity let's say the folder structure looks something like this:
C:\Tfs\Main\Components
C:\Tfs\Main\WebSite
In the past, when we added a reference to a third party DLL, the procedure was:
Add the actual DLLs to the /Components folder
Add *.dll.refresh files to the /WebSite/bin folder
I am trying to do that in Visual Studio 2012, however ...
Each time I select 'Add Reference' and Browse (I am actually browsing to the DLL file ... not selecting another Project) to the /Components folders -
(1) The DevExpress components appear to be added as GAC type references
(2) The DLLs are not copied to the /bin folder
(3) No .dll.refresh files are being created
The problem is ... when I check-in and another Developer does a 'get latest', if he doesn't have DevExpress installed then this will cause a problem.
So what am I missing?
Why won't Visual Studio 2012 create the .dll.refresh files in the /bin folder for me?
Thank you,
Glen J Fergo
Make your dll's solution items and reference them from there.
Is there a way to specifically name a website project "Website" in a visual studio 2012 solution?
For example:
Create a blank solution at c:\temp\Solution
Right-click in solution explorer, select Add New Website at c:\temp\Solution\Website
Problem:
In solution explorer, the website will be named something like Website(1) or Website(2), etc. instead of just Website?
Is this a flaw in visual studio or user error?
it mostly happens if the name conflicts and it starts assigning indexes with website name in project directory, i mean the .sln file.
or if somehow a different port no is used, then it does the same thing.
as said by yourself , its not a problem that is to be bothered...
I create a project in visual studio and I want to add external template on it
How can I add it ?
Thanks
For a template of your project, see this MSDN article. For item templates, see this MSDN article. For the later, you basically create the configuration files defined in the article, ZIP them up, then create the template at the following path:
C:\Users[USERNAME]\Documents\Visual Studio 2010\Templates\ItemTemplates[LANGUAGE]
Replace the bracketed items with your name and development language (Visual C#, Visual Basic, etc.) You have to restart Visual Studio to see it.
I have one visual studio 2003 web project, I got this project form my friend, and how can I run this application in visual studio 2003.Becuse now I don't have a solution file for this application. In my system I don't have administrative access.
Create a new solution (empty) and import all the existing files you got.
You don't need to be administrator. Just create an empty solution file (1 directory level above the project is convenient).
Then use "Add existing Items" and multi-select all files you want to add. You can do this in several steps. Add references that are missing.