Disable MSBuild TypeScript Compile
For a Visual Studio projects such as a ASP.NET MVC5, how do you disable compiling of TypeScript files on build/debug?
For a Visual Studio projects such as a ASP.NET MVC5, how do you disable compiling of TypeScript files on build/debug?
I am running a very basic webAPI project in Visual Studio Pro 2013. It runs fine on localhost on my machine. I then try and go to a browser from a different machine and goto :57571 similiar to how i could point to rails apps by putting the servers ipaddress followed by the port number. I then get
Bad Request – Invalid Hostname HTTP Error 400. The request hostname is invalid.
I have nUnit installed. I have VS2008 Team Edition installed. I have ASP.Net MVC Preview 4 (Codeplex) installed. How do I make Visual Studio show me nUnit as a testing framework when creating a new MVC project? At this point I still only have the Microsoft Testing Framework as a choice. Update: I installed nUnit … Read more
When creating a new ASP.NET project in Visual Studio should I chose create: website or project? I understand that web application project was the way to do it back in the day with VS 2003 but is it still applicable today? What are some of the caveats using one over the other? Answers: Thank you … Read more
I am trying to publish a Website project from a vendor that has ridiculously long paths to some of its files. When publishing, the error is:
I initially created a site in Webmatrix 2. I just called it website1. I’ve now been working on the site in Visual Studio 2012 and I would like to rename it. It doesn’t appear you can rename it directly, but in the .sln file there is a project entry which contains the string “website1”. I renamed it and re-started VS. The new name briefly displays but then gets overwritten with the original name. So now I have the .sln file with the new name and nowhere within the folders does it reference the old name – i’ve searched every file. But yet VS insists on calling the site website1. So i’m totally confused.
Any suggestions? Using visual studio in C#. Are there any specific tools to use or methods to approach this? Update: Sorry, I should have been a little more specific. I am using ASP.Net 2.0 and was looking more for a tool like jUnit for Java. I took a look at NUnit and NUnitAsp and that … Read more
I have a number of rewrite rules for a lot of things that I did in IIS7, like removing trailing slashes, canonnical URLs, lowercase lettering, and such. IIS altered my web.config, and everything works fine on the website, like it should. But in the Visual Studio web.config, the opening <rewrite> statement is underlined in blue, and at the bottom of VS, it says that the element ‘system.webServer’ has invalid child element ‘rewrite’. But this is how IIS made it … I didn’t do this manually. Should I be concerned with this VS error, or should I just leave as be, since it’s working how it should work?
I’m not able to build the solution in Visual Studio 2013.
I want to take a string and check the first character for being a letter, upper or lower doesn’t matter, but it shouldn’t be special, a space, a line break, anything. How can I achieve this in C#?