visual-studio-2017

How to open a 2017 Cordova project in Visual Studio 2019

早过忘川 提交于 2021-02-11 17:27:24
问题 I have a Visual Studio project written using Visual Studio 2017 Tools for Apache Cordova, and I am unable to open it in Visual Studio 2019 (Message: incompatible) and there is no available Cordova project types. What's the best way to be able to open/edit/redeploy a Tools for Apache Cordova project? 回答1: You can't open it from visual 2019, because Microsoft stop supporting Cordova. The best way is to install visual 2017 for Apache Cordova projects only (to be lite in usage) and install latest

Issue running node.js unit tests in Visual Studio

非 Y 不嫁゛ 提交于 2021-02-11 13:37:37
问题 I tried asking a slightly more specific question here that has not received any answers so I'll try a little more generalized question. I'm new to unit testing in node.js and just following some simple demo's. For some reason I encounter issues when trying to include more than one describe in test file or when nesting them. The other link I referenced above was for multiple describes in a file causing tests in other files to fail for some odd reason. I also have issues nesting. I created a

Issue running node.js unit tests in Visual Studio

送分小仙女□ 提交于 2021-02-11 13:33:17
问题 I tried asking a slightly more specific question here that has not received any answers so I'll try a little more generalized question. I'm new to unit testing in node.js and just following some simple demo's. For some reason I encounter issues when trying to include more than one describe in test file or when nesting them. The other link I referenced above was for multiple describes in a file causing tests in other files to fail for some odd reason. I also have issues nesting. I created a

NuGet packages project dependencies as nuget dependencies

一曲冷凌霜 提交于 2021-02-11 12:52:24
问题 I have 3 class library projects (all .NET Standard 2.0) that are all in the same solution. I want to package them into a single nuget and use the code in other repos. However, when I package them into a NuGet package two of them are added as a nuget dependency to the third one, instead of being directly referenced as dlls. Here is an example of my setup. The 3 projects - A .csproj, B .csproj, C .csproj (All Class Libraries, All .NET Standard 2.0) A is set as a startup project and references B

Compiling Azure Function v1 (.NET Framework) gives FileNotFoundException for Microsoft.Azure.WebJobs

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-11 09:40:19
问题 I have an Azure Functions v1 project (ala .NET Framework) in Visual Studio 2017. It would build / compile just fine for a long time, now it's giving the following FileNotFoundException complaining it can't find 'Microsoft.Azure.WebJobs' v2.2. The thing it this project was building just fine, then all of a sudden this error is occurring. In the past I would close Visual Studio, then reopen it and the build would work. Or even if you Clean the solution, the build would then work. The problem is

Compiling Azure Function v1 (.NET Framework) gives FileNotFoundException for Microsoft.Azure.WebJobs

情到浓时终转凉″ 提交于 2021-02-11 09:40:01
问题 I have an Azure Functions v1 project (ala .NET Framework) in Visual Studio 2017. It would build / compile just fine for a long time, now it's giving the following FileNotFoundException complaining it can't find 'Microsoft.Azure.WebJobs' v2.2. The thing it this project was building just fine, then all of a sudden this error is occurring. In the past I would close Visual Studio, then reopen it and the build would work. Or even if you Clean the solution, the build would then work. The problem is

Creating cs2php compiler using Visual Studio 2017

微笑、不失礼 提交于 2021-02-11 06:25:38
问题 I found an interesting project on GitHub which allows converting C# code to PHP. Link: https://github.com/isukces/cs2php They Stated: "You have do download and build cs2php compiler by yourself. Source code is available on GitHub. Binary version is currently not distributed due to Microsoft Rosylin licence limitations." I'm having a hard time creating a cs2php.exe compiler. I tried building a Class Library project but all I get is dll file, when I change Output Type to Windows application I

My own binary in debug mode “Binary was not built with debug information”

江枫思渺然 提交于 2021-02-10 18:48:41
问题 I'm using Visual Studio 2017 Version 15.9.6 on Win10 When I try to debug my application with break points, I see "The breakpoint will not be hit. No symbols have been loaded for this document.". I checked Debug > Windows > Modules and found "Binary was not built with debug information.". This is only the case for my application, all references and system DLL's are loaded. I have ensured "Debug Info" is set to Full. I have tried deleting my Bin and Obj folder and rebuilding. My profile is set

My own binary in debug mode “Binary was not built with debug information”

笑着哭i 提交于 2021-02-10 18:40:40
问题 I'm using Visual Studio 2017 Version 15.9.6 on Win10 When I try to debug my application with break points, I see "The breakpoint will not be hit. No symbols have been loaded for this document.". I checked Debug > Windows > Modules and found "Binary was not built with debug information.". This is only the case for my application, all references and system DLL's are loaded. I have ensured "Debug Info" is set to Full. I have tried deleting my Bin and Obj folder and rebuilding. My profile is set

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

强颜欢笑 提交于 2021-02-10 18:00:59
问题 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