All Questions
85
questions
0
votes
1
answer
20
views
Creating a project in Visual Studio 2015 only shows a webpage
I'm a newbie in MVC and I'm trying to create an exercise project, but whenever I try to do so it only gives me a webpage, I can't find the folder structure that you would normally see after creating a ...
0
votes
2
answers
80
views
How to write @html.actionlink in CSHTML after fetching from database
I am very new to Asp.net. Trying to create a Dynamic menu in Visual Studio 2015. In my Database, I have stored full actionlink like this @Html.ActionLink("Leave Status", "Leaves", "Office") Here Is ...
0
votes
2
answers
2k
views
Could not load file or assembly 'Microsoft.AspNet.Scaffolding.12.0' or one of its dependencies
After pulling an old project down from source control and attempting to run it, I'm getting the following error:
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.AspNet.Scaffolding.12....
1
vote
1
answer
40
views
use installed vsix template in visual studio 2015 update 3
I had installed ng.Net.Template using tool -> extention and update
external link (https://marketplace.visualstudio.com/items?itemName=Dahln.ngNetTemplate#overview)
and it is successfully installed ...
25
votes
12
answers
23k
views
Project builds but can't publish
I have an MVC project that for an uknown reason refuses to publish to a local folder in the PC.
The log says the following:
3>------ Publish started: Project: Admin, Configuration: Release Any ...
0
votes
1
answer
1k
views
Why would a dll not get created in the obj folder and how can I fix this?
Have a coworker who can't compile his ASP.net MVC 5 solution. He's getting an error saying the dll in the obj/Debug folder doesn't exist. Any ideas what the problem may be?
The solution has three ...
0
votes
1
answer
63
views
Why would Visual Studio be trying to copy files from outside the project to the bin and how do I fix it?
I've got a ASP.net MVC project using Telerik/Kendo controls running in Visual Studio 2015. I inherited a project form a coworker who passed it to me through Subversion/Tortoise SVN. When I compile ...
1
vote
0
answers
39
views
Visual Studio 2015 project authentication is wrong when using custom template
I have created a custom ASP.NET MVC template in Visual Studio 2015 Pro that is supposed to use Windows authentication by default. I have noticed an odd behavior in that when a new project is created ...
2
votes
0
answers
163
views
Visual Studio + ReSharper treating some Razor statements as errors
Current setup: Visual Studio 2015 Professional and ReSharper Ultimate 2017.2.2.
I've started looking into ASP .NET MVC and I've found that ReSharper has been treating some Razor statements as errors. ...
2
votes
3
answers
9k
views
Unable to launch the IIS Express Web server on specific project in vs 2015
I have created new project and run, it was build successfully after that through an error.
2
votes
4
answers
5k
views
Could not copy the files .... because it was not found error
I got a asp.net mvc project from my friend. This is her project but i need to work on it. So when i try to start it, there are some errors. Here is that errors;
Could not copy the file "...
0
votes
1
answer
2k
views
Compiler executable file C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe cannot be found
I had an application on .Net Framework 4.0 and MVC2 running on Visual Studio 2010. I decided to move this application to Visual Studio 2015. So First I've upgraded it to MVC3 and then Opened it with ...
1
vote
1
answer
1k
views
Visual Studio 2015 - an item with same key has been added
I recently installed Visual Studio 2015 update 3 (KB3095681). After installing update 3, I'm getting an error of An item with same key has already been added.
I checked if the issue was in my ...
0
votes
1
answer
226
views
Asp.Net create static HTML file from dynamic page
I have a CSS folder and I want that when I build the project it should be copied to my build folder. I know I can do this using Post Build events. However I don't know how to achieve the following:
I ...
1
vote
2
answers
2k
views
Visual Studio Copy the Project to an external drive
I had done a project by using ASP.NET MVC. How do I copy and paste the project to an external drive. I have to submit my project as coursework yet they request to copy the entire project to a CD/VCD.
...