visual studio 2015 publish output setup.exe has error - c#

I create a Winform C# app with visual studio 2015
my database is postgresql
actually my app has two button for show some reports and that reports designed by Stimulsoft Report vr 2019.1.1 Trial
so my app in visual studio 2015 is work but when I publish and then try for install the output file I mean setup.exe , I faced by this error
so what should I do?

There is installation file on https://github.com/npgsql/npgsql/releases/tag/v2.2.7.
Choose one you need and install it.

Related

Install crystal report for visual Studio

I developed a WinForms Application that use Crystal reports and Visual studio 2019.
but when I moved my application to another PC without Visual studio installed,I tried install Crystal reports on the PC but got error:
"you must already have visual studio 2010,visual studio 2012,visual studio 2013,visual studio 2015,visual studio 2017or visual studio 2019 installed to proceed with this installation".
How do I install Crystal reports on the PC without installing Visual Studio?
You can not install crystal report developer version on deployment machine (PC without installing visual studio). So you have to install crystal report runtime version on second PC if you are not installing the visual studio on second PC.
These are some links where you can download the appropriate runtime version of crystal report for your application.
link 1 :
https://www.tektutorialshub.com/crystal-reports/how-to-download-and-install-crystal-report-runtime/
link 2 :
https://www.parthpatel.net/install-crystal-report-runtime/

Error in Visual Studio 2015 When Add New WebForm

When I add new WebForm to my project, I get the following error:
Could not load file or assembly
'Microsoft.VisualStudio.JSLS,Version=14.0.0.0 , Culture=neutral ,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.the system
can not find the file specified.
I tried to create new website project and I tried to reinstall VS 2015 but this did not help.
This is a known bug with Visual Studio 2015. The officially-endorsed solution from Microsoft has been posted on MSDN:
If the “Tools for Universal Windows Apps Development” are still installed:
Go to Programs and Features, select Visual Studio 2105, click Change.
In Visual Studio setup, click Modify.
Deselect the feature “Tools for Universal Windows App Development”
Select “Tools for Universal Windows App Development” again, and click Update.
If you have already uninstalled the “Tools for Universal Windows Apps Development”:
Reinstall “Tools for Universal Windows App Development”
Or take the following steps to reinstall the JavaScript project system and language service:
a. Download the installer for your edition of Visual Studio, e.g.,
vs_community.exe.
b. Open a CMD window, and run the following command:
vs_community.exe /modify /installselectableitems JavaScript_Hidden
/passive
A temporary solution:
Shut down Visual Studio and reinstall the following package from the DVD or ISO:
x:\packages\JavaScript_LanguageService\JavaScript_LanguageService.msi
A better solution, endorsed by Microsoft, has been posted.
Remove the update received for visual studio TypeScript on 11/08/2015. it seems to be buggy. After removing TypeScript update, my VS is working fine ;-)
and if you try to reinstall x:\packages\JavaScript_LanguageService\JavaScript_LanguageService.msi from the installation package, soon or later you will face one more problem that "Something went wrong.. may be because of a extension.."
Easiest way is to remove TypeScript update for now. TypeScript future update may fix the problem.
OR
Run command prompt as administrator.
CD C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE
devenv /updateconfiguration
devenv /clearcache

MonoGame templates in Visual Studio 2015

I just installed Visual Studio 2015 and now want to start a new MonoGame project (C#, Windows DX).
I got MonoGame installed, as well as XNA.
The problem is that the templates are not showing up in the New Project dialogue.
On Visual Studio 2013, they showed up here, they are also nowhere to be found aynwhere else in the Project tree.
So I searched for the templates, they exist in the location where they should be:
C:\Users\<user>\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\MonoGame
I tried running the devenv.exe /installvstemplates from the Visual Studio admin console, as well as devenv.exe /setup, for good measure.
After doing both several times, mixed with a few Visual Studio 2015 and Windows restarts, the project templates are still not showing up.
I also tried to clear the cache by deleting C:\Users\<user>\AppData\Roaming\Microsoft\VisualStudio and C:\Users\<user>\AppData\Local\Microsoft\VisualStudio\14.0, to no avail.
The MonoGame installer was customized to work with Visual Studio 2015, so I assume it should work somehow.
So, can anyone help me getting those project templates set up?
I found out why it wasn't working:
Apparently, the MonoGame installer puts the Templates in the wrong folder for Visual Studio 2015.
The correct folder for VS2015 is
C:\Users\user\Documents\Visual Studio 14\Templates\ProjectTemplates\Visual C#
The MonoGame installer installs to C:\Users\user\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
So, when the folder MonoGame inside that folder gets moved to the first one, and the devenv.exe /installvstemplates command gets executed, the templates show up.
In case you work as standard user and run MonoGame setup as admin, MonoGane templates was installed only in Administrator account.
So I just make copy into my user \ProjectTemplates\Visual C#.
MonoGame Setup installation:
C:\Users\**Admin**\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
Correct folder is under my user account:
C:\Users\**user**\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#
Then as answered above just run devenv.exe /installvstemplates from Developer Command Prompt for VS2015.

vs 2010 installation after vs 2012 , cant see vs 2010 run option

i want to use vs 2010 and 2012 side by side on my single windows instance. I had vs 2012 installed and created a project in it, now I install vs 2010 and tried to run it but their is no run option for it, there are many options like configure, info etc but no run option ,it showed that vs 2010 was successfully installed, there were no errors at that time while installing ,,,, please help
Go to this file directory and run this EXE and VS2010 should start for you if you had no install errors. I have both running just fine on my single windows instance.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe

Visual Studio File Conversion Fails

I am trying to open this project in VS 2010. However, it fails, and I am unable to open the project. Why could this be happening?
The project is XNA.
Here is an error message:
The project file 'ShipDemo.csproj'
cannot be opened. The project type is
not supported by this installation.
XNA Game Studio is built upon Visual Studio 2008. They have not updated it to work with VS 2010 at this point.
In order to use XNA, you still need to work in VS 2008.

Categories

Resources