I am creating an Excel document level add-in in Visual Studio 2013 but am having trouble deploying it.
The application runs on my computer no problem. It also runs on another computer I have that has Visual Studio installed but when I try and install it on a computer that doesn't have Visual Studio installed I get the below error message.
I have been unable to find the exact route of the problem. I have tried unclicking the Sign ClickOnce Deployment check box but to no avail.
I also tried using InstallShield (similar security issues) but would prefer to use ClickOnce.
Thank you in advance.
Related
I can't figure out how to get the DOM Explorer or JS Console to show on my Office Add-In I'm dev in VS 2017. They used to work and one day, just stopped.
So far I've tried the following:
Test Proj at home and copied source files to non working work computer
Removed 100% Visual Studio and re-installed
Started working w/ new template in VS 2017 vs my existing Project
Tried messing w/ .Net versions
Updated all available Nuget packages
Other settings too likely, I'm willing to start fresh if anyone has suggestions that don't work first try for me.
I'm at a loss what the issue could be. My Add-Ins load and behave correctly, but I can't see the DOM or JS console which is the whole reason I use VS 2017, any ideas what I can try?
I was able to resolve by uninstalling the Microsoft Edge WebView2 Runtime...
I am getting an Exception when I am trying debug my application on Emulator (Web Role).
you can see exception by clicking following link
Configuration which I am using Windows 7 pro, VS 2012 Pro, Azure SDK 1.8
Hope it might help others.
I Also had the similar problem and I restarted PC and **Run Visual Studio as Administrator**.
And let Visual Studio start the emulator with same privilege resolved the issue.
I was using Visual 2013 and Web API application under IIS Express.
Do you have IIS added? Most likely it's already installed but you've to enable it via Add Windows Compoenents on Control Panel...
I had this same issue all of a sudden, luckly I remember changing the ServiceDefinition.csdef file. I rolled this back to an earlier version and the debugger ran again correctly. The only thing I changed in the 'broken' version was instance size from small to medium.
Go to visual studio installer(search it from window's start)
and update the visual studio.
After updating, hit modify
button, after that on right side you will find a box named
debug (or something like that), select that box
Then hit install.
Restart your visual studio and debugger will start working.
In my case it worked perfectly.
I have a c# application that publishes to a server using click-once, so our company clients can run it. I upgrade my visual studio from 2010 to 2012. every thing is great so far and clients can run the application normally after my publishes.
then I add a report viewer Item to my application and it runs on my pc well. but after publishing the clients face this error:
unable to install or run the application. the application requires that assembly microsoft.reportviewer.ProcessingObjectModel version 11.0.0.0 to be installed in your GAC.
what should I do now, I search a lot but cant find a solution.
thanks.
You will need to add the report viewer as a prerequisite. Here is a link to MSDN that describes what is needed.
http://msdn.microsoft.com/en-us/library/ms251723.aspx
I have VS2012 Express Web installed on my machine and can create all different kinds of Projects with exception of MVC3/MVC4 apps. When I click OK on the New Project dialog I get the Select A Template dialog. I notice that the Create a Unit Test Project checkbox is Disabled. Selecting any of the choices (such as Internet Application) gives me this same error: The system cannot find the file specified (Exception from HRESULT 0x80070002).
I have uninstalled and deleted the C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\VWDExpress\ProjectTemplatesCache and ItemsTemplateChache - and after removal deleted the entire VWDExpress directory so the fresh install would recreate all the templates. I've tried both the web-installer as well as the .iso installer. Has anyone seen this problem or have any idea why I can't create MVC3/MVC4 projects?
Any thoughts would be greatly appreciated. I have posted to the MSDN Newgroup and not had any luck there.
regards,
Bill
I had the same problem with a full installation of Visual Studio 2012. Uninstalling Visual Studio and everything it came with (SQL Server localDB, Silverlight SDKs etc), restarting, then reinstalling Visual Studio made it work.
Prior to re-installing, I ran ProcessMonitor during an attempt to create an MVC4 app and it kept trying to find an "extension.vsixmanifest" file but couldn't. I'm not sure which one, since I didn't try reinstalling all my extensions; maybe that will help.
I'm having some issues deploying a Visio addin.
Running the VSTO file works on my computer, but whenever I try and move it to any other user's computer it throws an error on deployment.
I thought it might be a setting I'd set in the project properties so I created an entirely new plugin project and set it to display a message box on startup.
The error I'm getting is:
An error occured during customization install.
The expected element "addIn" was not found in the XML.
This is caused by an issue with Clickonce.
I found a workaround by installing the addin using MSI.
This Guide was a lot of help.
Taken from the section about registry settings for the msi installation:
It is important to note the ‘|vstolocal’ value appended to the end of the Manifest value. This informs the VSTO runtime that it is locally installed and to not invoke the ClickOnce installer.
I'm having the same issue with our Word, Excel, Outlook and PowerPoint add-in. The installation of the msi runs perfect.
When starting Word for example, the Add-in itself gets 'installed' and then I receive the error.
I have added |vstolocal to the registry, which is located in the HKCU tree.
The projects is a Visual Studio 2010 project, build on TFS 2008. The installation on an Office 2010 goes well, the error only occurs when Office 2007 is on the machine.
Anything else I'm overseeing?
The solution to my experience with this issue was the one given by Joeri on the 8th July - install Visual Studio 2010 Tools for Office Runtime on the target machine.
This is an issue with the version of Visio your add-in targets versus what is installed on the client machine. AddIn is an element that is new with the 2007 versions of Office. More than likely the client is running Visio 2003.
Some times the Visual Studio 2010 Tools for Office Runtime is installed on the machine but the vsto file fails to find it. In this case try if you can manually execute the installation command line.See example below (replace X with your own drive letter, path, and file name):
"c:\Program Files\Common Files\Microsoft Shared\VSTO\10.0\VSTOInstaller.exe" /Install file:///X:/XXX/XXX.vsto