visual-studio-community

Cannot add System.Configuration.ConfigurationManager to .NET core application

拟墨画扇 提交于 2021-01-27 04:36:16
问题 I need this package to access settings in the Web.config : Restoring packages for D:\ ... path ... \dozor-backend.csproj... Package System.Configuration.ConfigurationManager 4.4.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package System.Configuration.ConfigurationManager 4.4.0 supports: - net461 (.NETFramework,Version=v4.6.1) - netstandard2.0 (.NETStandard,Version=v2.0) Package restore failed. Rolling back package changes for 'dozor-backend'. Time Elapsed: 00:00:01

Cannot add System.Configuration.ConfigurationManager to .NET core application

老子叫甜甜 提交于 2021-01-27 04:35:00
问题 I need this package to access settings in the Web.config : Restoring packages for D:\ ... path ... \dozor-backend.csproj... Package System.Configuration.ConfigurationManager 4.4.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package System.Configuration.ConfigurationManager 4.4.0 supports: - net461 (.NETFramework,Version=v4.6.1) - netstandard2.0 (.NETStandard,Version=v2.0) Package restore failed. Rolling back package changes for 'dozor-backend'. Time Elapsed: 00:00:01

Visual Studio for Mac: Cache Location

无人久伴 提交于 2020-01-24 19:53:40
问题 EDIT: I didn't include the fact that I was leveraging the MySql.Data package to connect to MySql via LINQ, as it didn't seem relevant. After asking the question, I switched to the LinqToDb.MySql package and the problems seems to have disappeared, so I think it was a bug in MySql.Data. Though I'm good to go, I'm leaving the question up as my solution and an answer to the original question might help someone else. Original Post: I am building a C# solution in Visual Studio Community for Mac (7

SQLite and Visual Studio Community 2015 DataProvider Missing

牧云@^-^@ 提交于 2019-12-25 08:57:20
问题 I am trying to install SQLite with no success. I have tried installing it through NuGet Package manager, Tried installing http://system.data.sqlite.org/downloads/1.0.98.0/sqlite-netFx46-setup-bundle-x86-2015-1.0.98.0.exe and http://system.data.sqlite.org/downloads/1.0.101.0/sqlite-netFx46-setup-bundle-x86-2015-1.0.101.0.exe but every time I go to Server Explorer > Data Connections > New Connection SQLite is not listed in the Data Source window: 回答1: Please install the sqlite-netFx46-setup

VB.Net editor removes one line of code every time debug is started

a 夏天 提交于 2019-12-25 07:48:43
问题 I'm using Visual Studio 2015 Community Edition and my problem is - every time when I click debug, one line of code is moved to the right of the previous line from the current file being edited. Some of my coworkers have seen this behavior too. C# works fine. It happens only in VB.NET with all file types: web.config, .vb, .aspx. This causes a problem because the line is removed after the project is compiled, so the debugger can never hit breakpoint because it says that the source code is

.editorconfig is not working in Visual Studio 2017 when my sotution is not in my C: drive?

断了今生、忘了曾经 提交于 2019-12-22 07:59:27
问题 I have added a .editorconfig file at my solution base folder but Visual Studio 2017 keeps using its settings, but this happenes just when the solution folder is not in the C: drive (if the solution folder is in the C: drive .editorconfig file is working perfectly). I have also tried to add .editorconfig file to each project of the solution but still the same problem. Note that I have root = true in my .editorconfig file. I am using the following version of Visual Studio: Microsoft Visual

How to override compile command of Visual Studio 2017 Community [duplicate]

元气小坏坏 提交于 2019-12-17 21:34:28
问题 This question already has answers here : How to use Clang compiler with MSBuild? (2 answers) Closed 2 years ago . I would like to override the default Visual Studio C++ compiler with a simple shell script. What I want is to capture the arguments, such as file name, and create some statistics. However I want to override the compilation process completely - that is, I want to call the original compilation from my shell script. I googled but all I found was how to have pre-build and post-build

Creating a new Angular project on Mac with Visual Studio

偶尔善良 提交于 2019-12-09 13:01:36
问题 I'm currently going through a https://channel9.msdn.com/Events/Visual-Studio/Visual-Studio-2017-Launch/WEB-103 on setting up Spa apps with Visual Studio on Mac (macOS Sierra, Visual Studio Community 2017). I've successfully installed angular core, and am currently trying to create a new project based off of one of the installed templates. I can see two angular templates when I run sudo dotnet new -l : MVC ASP.NET Core with Angular angular [C#] Web/MVC/SPA ASP.NET Core with Angular angular [C#

Visual Studio Community 2015 setup failed

淺唱寂寞╮ 提交于 2019-12-07 04:08:30
问题 I have installed VS 2015 recently (windows 10), but there were some package failures (detailed later). When trying to start a new project, I got an error message: "Compiler could not be created". So i uninstalled, repaired the microsoft redistributiables and tried again. Since then I can't install VS at all. I get the following message: Roslyn Language Services - x86 : Fatal error during installation. Visual C++ IDE Debugger Package : Package failed. Microsoft VisualStudio JavaScript Project

.editorconfig is not working in Visual Studio 2017 when my sotution is not in my C: drive?

拈花ヽ惹草 提交于 2019-12-05 18:06:40
I have added a .editorconfig file at my solution base folder but Visual Studio 2017 keeps using its settings, but this happenes just when the solution folder is not in the C: drive (if the solution folder is in the C: drive .editorconfig file is working perfectly). I have also tried to add .editorconfig file to each project of the solution but still the same problem. Note that I have root = true in my .editorconfig file. I am using the following version of Visual Studio: Microsoft Visual Studio Community 2017 version 15.2 (26430.06) I somehow figured out how to solve this problem. My solution