Cannot run Excel Add-In from Visual Studio 2019 - vsto

I have Visual Studio 2019 16.8.2 and I have installed the Office Development tools from Visual Studio Installer. I then created an Excel Web Add-In project and when I try to run the project, I get this error:
In the output window, there isn't much useful info:
Excel is of course installed, I have the following version:
Could there be some form of Compatibility issue? or maybe something in the Visual Studio Version?
I tried to check online but couldn't find anything related to this.

The problem is that you should not Visual Studio as administrator. When running as Admin it results in the error. Running as not admin works correctly.

Related

Not able to restore nuget packages/Manage nuget packages not working in visual studio 2017

I tried to open a .Net Core solution which was working fine in 2015. Recently they added some .Net Core projects to the solution and asked us to upgrade to Visual Studio 2017 to be able to run them. We installed Visual Studio 2017 and tried to open the solution, but I am not able to build it. I get the following errors when I right-click and try to select "Manage Nuget packages".
I tried to open the PackageManager console from Tools: even this is not working
I also performed the "repair Visual Studio" process too.
Finally i resolved it by deleting my nuget.config both at project level and also in %appdata%/roaming/nuget .I think the issue is because of broken config file due to change from visual 2015 to visual studio 2017 .Not sure about the exact issue though

TeamCity - 10.0.5 no compatible build agents

I'm wondering if someone could help me out with this issue please.
First up the background, we've been using TeamCity for database deployments for a while. Today we upgraded to 10.0.5. All fine.
The issue we have is with SQL 2016 database projects. I'm trying to get the database project to build in TeamCity. The build 'Visual Studio' setting in the build was set to 'Microsoft Visual Studio 2015' this causes issues as it cant build it. So I changed it to be 'Microsoft Visual Studio 2017' and I installed 'Build Tools for Visual Studio 2017' on the TeamCity box.
Now when I click the run button I get a message back saying
"Warning no enabled compatible build agents......".
Its almost as if the build agent is allowed to use the VS2015 MSBuild but not the 2017 one and I'm not sure how to authorise it to be able to.
I've attached some screenshots of the screens as well.
Thanks,
Nic
I managed to resolve this simply be restarting the server.
Thanks,
Nic

Missing Microsoft RDLC Report Designer in Visual Studio

In Visual Studio 2015, I cannot find the designer for RDLC reports anymore. Does anyone know if this is only a bug and if it is provided later on or if Microsoft wants to kill the RDLC or if they want us to use an external designer and when, which designer this is?
Update
For developpers searching for the RDLC Report Designer in Visual Studio 2017,
it must be now downloaded from the Visual Studio Marketplace
Visual Studio 2017 and newer
The RDLC Report Designer can be found on the Visual Studio Marketplace:
for Visual Studio 2022
for Visual Studio 2017 - 2019
Besides that, the ReportViewer Control, which is the runtime requirement for showing reports in ASP.NET or Windows Forms Applications, is now available through NuGet. See here for details.
Visual Studio 2015
The Report Designer is part of the Microsoft SQL Server Data Tools.
You can add it using the Visual Studio setup (Programs and Features > Visual Studio 2015 > Change)
In VS 2017, i have checked SQL Server Data Tools during the installation and it doesn't help. So I have downloaded and installed Microsoft.RdlcDesigner.vsix
Now it works.
UPDATE
Another way is to use Extensions and Updates.
Go to Tools > Extensions and Updates choose Online then search for Microsoft Rdlc Report Designer for Visual studio and click Download. It need to close VS to start installation. After installation you will be able to use rdlc designer.
Hope this helps!
Open Control Panel > Programs > Programs and Features
Select the entry for your version of Microsoft Visual Studio 2015. In our case, it was Microsoft Visual Studio Enterprise 2015.
Click the "Change" button on the top bar above the program list.
After the splash screen, a window will open.
Press the "Modify" button.
Select Windows and Web Development > Microsoft SQL Server Data Tools, and check the box next to it.
Press the "Update" button on the lower-right hand side of the window.
Once the installation is complete, open your version of Visual Studio. After the new .dll files are loaded, Reporting functionality should be reimplemented, and you should be able to access all related forms, controls, and objects.
Visual Studio 2017
Open Visual Studio
In Tools -> Extensions and Updates -> Online
Search for 'rdlc'
Install Microsoft Rdlc Report Designer (23.3 MB)
Close Visual Studio, let the installer run and open Visual Studio to see the rdlc in the designer.
I had the same problem, after install the MS VS Community 2015, I didn't find the RDLC files neither the Report Viewer component, I solve the problem by going in the Control Panel (Windows) -> Programs -> Try to uninstall the MS VS Community and choose MODIFY, in this moment you will be able to Check the Microsoft SQL Server Data Tools.
That is it!
In addition to previous answers, here is a link to the latest SQL Server Data Tools. Note that the download link for Visual Studio 2015 is broken. ISO is available from here, links at the bottom of the page:
https://msdn.microsoft.com/en-us/library/mt204009.aspx
MSDN Subscriber Downloads do not list the VS 2015 compatible version at the time of writing.
However, even with the latest tools (February 2015), I can't open previous version of .rptproj files.
I've had the same problem as you and I installed Microsoft rdlc designer to solve my problem.
And if you already installed this but still can't found rdlc designer try open visual studio > tools > Extension and Updates > then enable Miscrosoft Rdlc designer extensions.
If you did a custom installation you need to add Microsoft Sql Server Data Tools. After that you can add Reportviwer to your webform.
To solve this problem open nutget package manager console and select your project and type install-package microsoft.report.viewer and wait to install
The setup feature does not work on Visual Studio 2017 and later versions.
The extension needs to be downloaded from VS Marketplace and then installed -
Link
The same applies to other extensions such as Installer Projects (used for creating executable files) - Link
Below Different tools for Editing Rdlc report:
ReportBuilder 3.0 : Microsoft Editor for Rdlc report.
Microsoft® SQL Server® 2008 Express with Advanced Services: Another tool is to use Sql Server Business intelligence for reporting that can be installed with Sql Server Express with Advanced Sevices.
fyiReporting: It is opensource tool presented for editing Rdlc reports .
This trouble passed me. If you can't repair this trouble, perhaps can you review all Framework versions that you have in your system. For example, if you have ReportViewer for Framework 4.5 and your project is assembly in Framework 2 or another Framework minor at 4.5. The differents versions Framework sometime have problems.
Use Extensions and Updates.
Go to Tools > Extensions and Updates > choose Online then search for Microsoft Rdlc Report Designer for Visual studio and click Download.
It needs to close your VS to start installation.
After installation you will be able to use RDLC designer.

How to remove an already-installed Visual Studio 2013 extension .vsix file?

I've just installed Productivity Power Tools 2013 for my Visual Studio 2013 and then playing with the option of this extension and I get crashed :-(
i.e.
The Solution Explorer window is now empty.
Cannot exit Visual Studio
Going for Tools - Extension and Updates fails too
What can I do to get back to where I was >.<
Find the correct folder under following folders for this extension and delete it
C:\Users\[username]\AppData\Local\Microsoft\VisualStudio\11.0\Extensions
C:\Users\[username]\AppData\Roaming\Microsoft\VisualStudio\11.0\Extensions

Visual Studio 2012 Premium crashes when I use the Solution Configuration Manager

Visual Studio 2012 Premium crashes when I use the Solution Configuration Manager (or drop down on tool bar) to switch from Debug solution config to Release. As soon as I make the selection to the Release config, I get a dialog with a progress bar stating it is looking for a solution to the problem and after a few seconds that dialog closes VS closes and another dialog opens that states it is restarting Visual Studio. I get this same behavior if I try to create a new configuration from within the Solution Configuration Manager; i.e., as soon as I save the new config VS crashes. During the crash I'm not given the option in the dialogs to get detailed info for the crash.
This did not happen with the same code in VS2010 and Win7.
My work-around is to modify the Debug config to be what I need for Release, and then put it back to what I need for Debug.
VS 2012 was installed on a clean (not an update) install of Windows 8. I've installed all the latest updates for both Win8 and VS. Here is the Visual Studio boiler-plate info:
Microsoft Visual Studio Premium 2012
Version 11.0.50727.1 RTMREL
Microsoft .NET Framework
Version 4.5.50709
Installed Version: Premium
LightSwitch for Visual Studio 2012, Team Explorer for Visual Studio 2012, Visual Basic 2012, Visual C# 2012, Visual C++ 2012, Visual F# 2012, Visual Studio 2012 Code Analysis Spell Checker, NuGet Package Manager 2.0.30717.9005, PreEmptive Analytics Visualizer 1.0, SQL Server Data Tools 11.1.20627.00, Web Developer Tools 1.0.30710.0