sharp develop can't open web applications written with vs 2010 - c#

My colleague sent me a web project written in Visual Studio 2010. I only have Sharp Develop. when I open the project, I get a number of error messages:
The imported project "c:\program files(x86)\MsBuild\Microsoft\VisualStudio\v10.0\WebApplication\Microsoft.WebApploication.targets" was not found. Confirm that the path....
See:
What do I need to do to fix this??

Download and install the Visual Web Developer Express 2010, it should install all the required libraries to your system. You can then use Visual Web Express to edit the solution, but chances are high that Sharp Develop will also be able to open it.
If you want a little more up-to-date editing experience, you can try upgrading the solution to Visual Studio Express for Web 2013 by installing that and resolving any upgrade issues that might come from that.

Related

Class Library and Console Application project templates not available on Visual Studio 2015 Express

We're growing the team but won't buy more Visual Studio Ultimate licences, so some people will have to work in VS Express edition.
We're testing it, but our projects aren't working on Express. We have projects of type Class Library - compiles into dll - and Console Application. In VS Express, when I try to create new solution/project, all I have is asp.net web application. I believe the installation I did doesn't have support for these templates, and therefore is unable to load those projects.
Is there a way to fix it? Maybe use another Express setup or install those templates separately?
Visual Studio Community will be work for you. You can download it from here: https://www.visualstudio.com/vs/community/
I installed Visual Studio 2015 Express for Desktop and those project templates became available.

How do I handle an "incompatible" project in an opensource C# solution (digiCamControl)?

I am new to C# and have been trying to build digiCamControl on Visual Express 2013. The project CameraControl.Service is displayed as "incompatible" when building the solution. All other modules get added to the project without any problem.
1) Can you suggest why I could be facing this problem?
2) Can you suggest a fix for the problem?
Here is a link to the particular project inside digiCamControl, which is causing the "incompatiblity" error - https://github.com/dukus/digiCamControl/blob/master/CameraControl.Service/CameraControl.Service.csproj
3) Looking into this file, its a visual studio 2005 project (though opening it on some versions of Visual Express C# 2010, says that "you need a newer version" ?
< ProductVersion > 8.0.50727 < /ProductVersion >
(the id here is of visual studio 2005)
4) Do I need to migrate the project into 2013?
I want to use devenv.exe /upgrate to migrate the project - but it is not available on my Visual Studio C# 2013 (Community download) OR I cant find it.
I am downloading Ultimate Version to see if its available there.
Some other things, this is a WCF solution (if that helps).
Thanks in advance. ~ Naval
I was able to open the project and build it successfully with the Visual Studio Ultimate 2013.
Note: building successfully required some config changes, but those are more specific to the particular project (such as enabling unsafe operations).

I have Visual Studio for my Business Intelligence tools, how do I add C# to it?

Excuse the ignorance, but I've been a BI/SQL Developer all my life, and recently have been more interested in getting better with C#, I thought I'd fire it up and start playing with it. I thought it was supposed to be included in my Visual Studio package that I have for BI, but when I go to File > New > Project, a New C# project is not something that is available there. How do I add it?
Run the VS installation and add the required components, assuming that your VS package has them.
Your best bet would be to reinstall a professional or premium version of VS. When you install select that you want all the packages so you can program in C#, VB, C++ ect.
here is a link to VS: http://www.visualstudio.com/
This link is a direct download link to a VS_Professional version download from the website:
Vs Professional download link
You can't unless you install the correct version of Visual Studio.
But you can try instead the new Visual Studio 2013 Community with Update 4
It is the latest IDE completely free with no license required that includes all the tools including C# development

Can't See MVC5 Project Option in VS2012 [duplicate]

I've installed Visual Studio 2013 Premium (MSDN license) on my machine. Yet, the ASP.NET Web Application template is not there (except for Version2012, which offers me MVC 4, see screenshot below):
I have uninstalled and reinstalled VS2013 three times now. I've deleted the ItemTemplatesCache and ProjectTemplatesCache folders along with running the devenv /InstallVSTemplates and devenv /Setup to no avail. I've also checked to make sure web developer tools are installed. Under the \Common7\IDE\ProjectTemplatesCache\CSharp\Web folder, I only see MVC 4 template files. Am I missing something? An extension or additional program?
Below I added a screenshot of the frameworks I have installed. Any direction or advice would be appreciated. Thank you!
Jodie.
I think that "Re-install Visual Studio from scratch" is not a solution.
I have faced with the described problem and found much faster way to fix it:
First of all, try to repair Visual Studio installation (in "Control Panel\Programs\Programs and Features" find your Visual Studio, right-click and select "Repair"). Reboot after (!).
Check if template appeared in the Visual Studio. If not, then: in the "Control Panel\Programs\Programs and Features" make sure that you have "Microsoft Web Platform Installer 4.x" installed (I have 4.6 version). If not - install it from here: http://www.microsoft.com/web/downloads/platform.aspx
Run "Web Platform Installer" (it should be here: "%ProgramFiles%\Microsoft\Web Platform Installer\WebPlatformInstaller.exe")
On the "Products" tab find the line "Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013" (make sure that it is not for 2012!). If line has "Add" button on the right side enabled, then click it and install the tools. Reboot PC (!) and you should have your ASP.NET project template back.
If line says "Installed", then you should repair it via "Control Panel\Programs\Programs and Features", just find "Microsoft ASP.NET and Web Tools 2013.1 -Visual Studio 2013", right-click and select "Repair"). Reboot PC (!) and you should have your ASP.NET project template back!
Cheers!
After many hours of troubleshooting, these are the steps I took to fix the issue (on Windows 7 Ultimate). I assumed it was an issue with a corrupt installation and possible problems with registry keys, so I removed any and all Microsoft development tools using the following steps:
FULL VIRUS SCAN (just to make sure this was not related to a virus or malware). I used Microsoft Security Essentials
Downloaded Microsoft FixIt to help clean up registry keys as I deleted programs. After I deleted any program or program updates, I ran this tool to verify a clean uninstall had been done
Visual Studio 2010 - Ran the Visual Studio 2010 Uninstall Utility and removed the program. Went into Control Panel > Programs > Uninstall a program > View Installed Updates and searched for 'Visual Studio 2010', then removed any updates associated with VS2010 (and ran the FixIt program after every uninstall to verify the registry keys had been wiped)
Followed this MSDN post to remove Visual Studio 2012 (paying particular attention to the 'Optional Shared Packages' and removed any and all programs under this list, again running Microsoft FixIt to verify the registry keys were wiped)
Followed this blog post from Shawn Harrison to remove all SQL server; also referenced these two MSDN posts Uninstall an Existing Instance of SQL Server (Setup) and SQL Server Files Left After Uninstall
Uninstalled Visual Studio 2013, along with all references to 'Visual Studio 2013' in programs and installed updates; used FixIt to clean up registry keys after every install
Last but not least, I removed all MVC Visual Studio-related tools, references extensions including Web Tools and Web Platform Installer
This solved my problem with missing templates :)
(I'm soooooooo grateful this was all done on an SSD, however, I think it would have taken 5x longer with an old-spinning HD)
Cheers, everyone!
Not the solution in your case, but I had a similar issue where I could not find the MVC templates. Eventually I realized that I still had .NET Framework 3.5 selected, which of course does not provide MVC... switching to .NET Framework 4.5 let me find the MVC templates again.
You already had 4.5 selected in the screenshot, but I'm just posting this here for others who might make the same mistake as I did.
Don't forget to check that "Microsoft Web Developer Tool" was actually enabled during installation see this related stackoverflow question: How do I open a csproj with ProjectTypeGuids 349c5851-65df-11da-9384-00065b846f21?
"Microsoft Web Developer Tool" that was the problem for me
Have you tried updating the gallery
Tools>Extension and updates> Templates
To get up and running you could click Version 2012 under Web and get to the stock web applications templates which will provide you upto MVC 4
For MVC 5 you can either download Visual Studio 2013 Express Web, it roughly has the same ASP.NET features at Premium on MSDN License.
Update for Studio 2013:
Make sure you install express for Windows and not express for Windows Desktop. The Desktop version does not have the Web templates.
I had a similar issue with VS 2013 Web Express Update 3. After reinstalling stuff all week its fixed. I had to uninstall VS, delete the "Microsoft Visual Studio 12.0" directory, and reinstall VS. There are other workarounds that are more precise.

Opening existing project in VS 2012 RC

I have a project which is build in VS 2012RC, But when i zipped the project and transfer it to my machine,extracted it and try to open solution file(.sln) in my machine which also consist of VS 2012RC, it fires a pop up that
"This edition of Visual Studio only supports Windows Metro style apps".
So, What do i need to do to open the project in my machine, Please let me know if am missing something, Thanks in advance.
Visual Studio 2012 has many editions. To me you are using VS Express edition, which only supports Metro app development. Like #leppie suggested, you might install VS Ultimate edition, which can open all sorts of projects.

Categories

Resources