visual-studio-2017

How to - Get Oracle.ManagedAccess driver to work with Installed VB.Net Application

限于喜欢 提交于 2021-02-10 17:59:24
问题 I have a 32bit Application to Install on Win10 (x64 OS). All my Oracle functionality works from within the debugger. Oracle.ManagedAccess driver is correctly registered in the VS Projects and the application works as expected from within the debugger. However, when I build my WiX-Based install pack and run the installed application I get the following error: What am I missing here? In the previous VS2013 incarnation of the code as recently as last month using the ODP.NET driver 'Oracle

Visual Studio - Cmake Project - Add NetCDF

大憨熊 提交于 2021-02-10 16:50:40
问题 I have a project that I was able to compile in Linux, but was also hoping to compile in a windows environment, namely, visual studio. I installed netcdf, but when I build using cmake, I get this error: Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 1> -- Checking for one of the modules 'netcdf' 1> CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.11/Modules/FindPkgConfig.cmake:641 (message):

How to avoid Visual C++ Redistributable LARGE file installing?

北城以北 提交于 2021-02-10 16:26:35
问题 I want to deploy a C++/CLI application on Windows 7 32bit clients. I have built it using Visual Studio 2017 and I noticed my project needs Visual C++ 2017 Redistributable. My executable file is less than 1 megabytes and the MSVCR dependency is 13 megabytes, which is really huge for this app. Is there any way I can reduce this amount of size? 回答1: I found a possible solution but I don't know if it is fine or not. I can compile my C++/CLI code with Visual Studio 2010 toolkit. So I would need C+

Nuget update on build

爱⌒轻易说出口 提交于 2021-02-10 16:11:36
问题 I'm having difficulties getting my project to update our in-house nuget packages on a rebuild. We have several core reference libraries that we need to be current every time a project that depends on it is built. I'm using visual studio 2017 and nuget 4.7.1 I've converted the project in question to use the package reference method instead of package.config but the details it's generating in the project file are different to what the tutorials say. Here's what I've got in my project file:

Getting MIDL 2003 Redefinition errors

偶尔善良 提交于 2021-02-10 15:39:43
问题 I have a very simple program that I am trying to compile before I build it out any further. I am trying to learn COM so following along here, I create app.h and app.cpp file in VS 2017 and using the ATL Template. When I try to build the solution I get a lot of MIDL 200 redefinition errors. UPDATE (Based on @Roman R.'s response) Note that if I used cl /LD app.cpp on a Dev Command Line, I am able to generate app.dll correctly. The MIDL 2003 redefinition errors show up only when trying to build

Getting MIDL 2003 Redefinition errors

风流意气都作罢 提交于 2021-02-10 15:39:14
问题 I have a very simple program that I am trying to compile before I build it out any further. I am trying to learn COM so following along here, I create app.h and app.cpp file in VS 2017 and using the ATL Template. When I try to build the solution I get a lot of MIDL 200 redefinition errors. UPDATE (Based on @Roman R.'s response) Note that if I used cl /LD app.cpp on a Dev Command Line, I am able to generate app.dll correctly. The MIDL 2003 redefinition errors show up only when trying to build

Visual Studio 2017 – Enterprise restarts on .Net Core Projects

那年仲夏 提交于 2021-02-10 14:48:12
问题 Just installed Visual Studio 2017 – Enterprise Editio n with the following workloads: Universal Windows Platform Development ASP.Net and Web Development .Net Desktop Development .Net Core cross-platform Development After this installation, when I create a new .net core or .net standard project, the visual studio restarts while loading the project template. Steps to create the behavior: File ⇒ New Project ⇒ .Net Core ⇒ Asp.Net Core Application (.Net Core) Visual Studio tries to load the

mysql push notification

允我心安 提交于 2021-02-10 14:28:40
问题 Reading that MySQL doesn't have similar to SqlDependency . What is the best snippet to notify other users if a cell changed? Most of the current posts suggest pooling as recommended approach but can't find proper code to study for VB.NET Winform without using third party service such Nub. What I guess could work is to create a CRON job at http server to fetch if that cell(s) changed then store a flag in a secure file; then rather than keep checking MySQL database on interval; watch that flag

Crashing Visual Studio Live Unit Testing

那年仲夏 提交于 2021-02-10 08:08:31
问题 I´m a new user in stackoverflow and this is my problem: As part of my work, we recently installed VS 2017 Enterprise Edition. Everything was fine untill few weeks ago the Live Unit Testing module stop working. Does enyone was able to resolve this kind of problems? This is the output console: [17:26:23.170 Info] Live Unit Testing started. [17:26:23.229 Error] - FatalError - System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary'2.Insert

Crashing Visual Studio Live Unit Testing

喜你入骨 提交于 2021-02-10 08:07:28
问题 I´m a new user in stackoverflow and this is my problem: As part of my work, we recently installed VS 2017 Enterprise Edition. Everything was fine untill few weeks ago the Live Unit Testing module stop working. Does enyone was able to resolve this kind of problems? This is the output console: [17:26:23.170 Info] Live Unit Testing started. [17:26:23.229 Error] - FatalError - System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary'2.Insert