InfoPath cannot start Microsoft Visual Studio Tools for Application - c#

when i hit alt+shift+F12 in InfoPath (which should open VSTA), i get the following error:
Obviously no helpful information (thanks Microsoft.
I have installed MSXML and .NET 2.0 as according to: source
If your computer does have the Microsoft .NET Framework 2.0 and Microsoft Core XML Services 6.0 installed before installing Microsoft Office InfoPath 2007, InfoPath uses the Microsoft Visual Studio Tools for Applications (VSTA)
i double-checked the installations aswell: Source
.NET 2.0 in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
and when i run msxml6.msi the wizard instantly shows:
i tried several reinstalls of all those features:
(sorry for the screenshot beeing in german but i rly didn't get the installation wizard to change it's language, i tried everything.)
interestingly i can start vsta.exe standalone. But InfoPath cannot create a C# Project for VSTA.
now has anyone a good idea how i can get either better error information (i tried event viewer allready, didn't find anything useful) or solve the problem?
thanks in advance! phil

Turns out that it depends on your Version of Visual Studio installed.
i uninstalled MS Visual Studio Express for Web and installed VS Professional. It's perfectly working now. At least Microsoft could specify this somewhere -.-

Related

How to create Setup file of windows application without using InstallShield in visual studio 2013?

I have developed a windows application (one type of CRM System) but now I want to create its setup file so it can be easily installed on client's machine. I have searched online and found out the way using InstallShield. But it is giving the free trial and then it is offering the paid version. Is there any other way to create Setup file without using InstallShield?
You can use the extension Visual Studio Installer Projects Extension: VSI_Bundle.
See the The Visual Studio Blog
It worked good for me.
See my answer in this post: https://stackoverflow.com/a/28029063/200824
You can use visual studio 2015 and install installer projects extension.
You should also take a look at https://wixtoolset.org. A lot of new, helpful elements (grammar is XML) were added to simplify development. So while it's not drag-and-drop design, it's fairly easy to use and 3.x builds MSIs that are still the mainstay on Windows. 4.x pre-releases can also build other formats such as AppX (though, that is only supported on Windows 10 to install).

Cannot load Azure 2.7 project in solution after upgrading VS 2013 Community to Professional

Due to insoluble local referencing issues, I decided to uninstall VS 2013 Community edition and re-install it; as most of my team is using Professional I used that version when re-installing. ReSharper worked okay out of the box, but when I loaded my solution, our Azure project came up marked "(incompatible)".
Googling brought me this answer and this answer, both from SO, though Googling the UUID of the failing project type, CC5FD16D-436D-48AD-A40C-5A424C6E3E79, didn't help much further. So far, I have used the Web Platform Installer 5.0 to install:
Microsoft Azure SDK for .NET (VS 2013) - 2.7.1 (used by our Azure project)
Microsoft Azure SDK for .NET (VS 2013) - 2.8.2 (latest at time of writing)
Microsoft Azure Cross-platform Command Line Tools
Microsoft Azure PowerShell 0.9
Microsoft Azure PowerShell
Has anybody come across this particular case? I have attempted restarting VS as suggested in the other questions but nothing "comes up" or asks me to "upgrade my client", so now I'm at a loss.
Thanks hugely in advance.
Following several attempts to reinstall VS 2013 Pro, I decided to "reset Windows" (Windows 10) and just install VS from scratch. After doing this and installing Azure 2.7.1 from the Web Platform Installer 5.0, I loaded my solution and now Visual Studio is recognising the Azure SDK and the Azure project loads perfectly.
"Total Wipe" is never a great answer, but it worked for me in this scenario. {:¬\

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.

Error trying to debug winforms application in visual studio 2008

I have a solution working at VS 2008. It contains lots of projects. I installed VS 2010 and it converted all projects to work in .NET Framework 4. After I've found that there is no profit to use VS 2010, I decided to move back to 2008. After that debugging is totally broken.
When I select project and select "Debug -> Start New Instance" It says me:
Error while trying to run project: Unable to start debugging.
The remote computer does not have a CLR version which is compatible with the remote debugging components. To install a compatible CLR version, see instructions in the 'Remote Component Setup' page on Visual Studio CD.
I tried to remove both VSs and install 2008, removed .NET Frameworks and installed 3.5.
I don't understand why it wants remote debugger while I'm trying just to run winforms application on local machine. The same happens for Console applications.
Appreciate any help.
Is your issue with Visual Studio or with the 4.0 Framework?
If it is with just the framework. I would change your projects Target Framework back to your former framework and continue to use VS2010.
If it is with VS2010, I would do the same thing as above before trying to run it in VS2008 again. You will probably have to edit the project files to the proper VS Version.
See this CodeProject Article for an example what needs to be done.
or better yet if you have source control just restore your Solution from there.

teaching friends son C#, easiest path to setup IDE on his laptop?

I need to setup a c# ide (free) on his laptop, do I need to download the sdk or does windows 7 come with a c# compiler? (it's been a while setting something up from scratch)
You can try Visual C# 2010 Express, it's a free version of Visual Studio for C# development, and IMHO more than enough for someone learning that you don't really need the full VS2010 package.
Download Visual C# 2010 Express edition. It's free, you can find further information here: http://www.microsoft.com/express/Windows/
Just use Microsoft Visual Studio Express.
http://www.microsoft.com/express/
The Microsoft Web Platform Installer can be used to install Visual Studio Express, and also easily install many of the other MS tools like WebMatrix.
The Microsoft Web Platform Installer
3.0 (Web PI) is a free tool that makes getting the latest components of the
Microsoft Web Platform, including
Internet Information Services (IIS),
SQL Server Express, .NET Framework and
Visual Web Developer easy.
Similarly Linqpad is a great tool for playing around and dynamic prototyping. I can't advocate it enough.
... LINQPad is more than just a LINQ
tool: it's an ergonomic C#/VB
scratchpad that instantly executes any
C#/VB expression, statement block or
program with rich output formatting –
the ultimate in dynamic development.
Put an end to those hundreds of Visual
Studio Console projects cluttering
your source folder!
Look for the free version of Visual Studio 2008. Not sure if there is one for 2010. It's at the Microsoft site. http://www.microsoft.com/express/downloads/#2008-Visual-CS
Framework is sufficient, IIRC.

Categories

Resources