visual-studio-2019

“Initialize interactive with Project” is missing for .Net Core Projects in Visual Studio 2019

非 Y 不嫁゛ 提交于 2019-12-23 16:18:15
问题 In VS 2019 the option to initialize projects on the C# Interactive console is missing when targeting .NET Core. The option is also missing in VS 2017 and there is a related question for VS 2017. However the answer to this question mainly confirms that issue but is not offering a solution. Does anyone knows if there is a technical limitation and therefore this feature is simply not feasible for .NET Core? Anyone having a good workaround to still initialize the project (with the complete

Visual Studio/C#: loadFromRemoteSources

邮差的信 提交于 2019-12-23 05:52:26
问题 Two probably related issues: I tried to clone an open-source Robotic Process Automation (RPA) project into Microsoft Visual Studio 2019 but the IDE just closed after some time without any error message — does anybody know why and what to do? When I tried to run the corresponding executable from http://www.roroscript.com/ and — in the first dialog window after opening Roro.exe — clicked on "create", I got the below error message which basically refers me to Microsoft or to Stackoverflow if I'm

Visual Studio/C#: loadFromRemoteSources

▼魔方 西西 提交于 2019-12-23 05:52:09
问题 Two probably related issues: I tried to clone an open-source Robotic Process Automation (RPA) project into Microsoft Visual Studio 2019 but the IDE just closed after some time without any error message — does anybody know why and what to do? When I tried to run the corresponding executable from http://www.roroscript.com/ and — in the first dialog window after opening Roro.exe — clicked on "create", I got the below error message which basically refers me to Microsoft or to Stackoverflow if I'm

Saving project file in Visual Studio 2019 reverts changes in the csproj file

雨燕双飞 提交于 2019-12-22 07:38:49
问题 I'm using Microsoft Visual Studio Professional 2019 RC Version 16.0.0 (VisualStudio.16.Release/16.0.0+28729.10) and I'm finding that intermittently when I save a project file the changes to the project file are being undone. This has proved more than a little confusing as NuGet packages I've added disappear, or updated ones revert to previous versions. Likewise, if I've included files in the project they will then no longer be included after the save, so it looks like the changes are not

Saving project file in Visual Studio 2019 reverts changes in the csproj file

泄露秘密 提交于 2019-12-22 07:37:20
问题 I'm using Microsoft Visual Studio Professional 2019 RC Version 16.0.0 (VisualStudio.16.Release/16.0.0+28729.10) and I'm finding that intermittently when I save a project file the changes to the project file are being undone. This has proved more than a little confusing as NuGet packages I've added disappear, or updated ones revert to previous versions. Likewise, if I've included files in the project they will then no longer be included after the save, so it looks like the changes are not

Unable to resolve service for type 'Microsoft.Extensions.Logging.ILogger`1[WebApplication1.Startup]'

倾然丶 夕夏残阳落幕 提交于 2019-12-21 04:49:06
问题 I created an ASP.NET Core 3.0 Web Application with the default template in Visual Studio 2019 Preview 2.2 and tried to inject an ILogger in Startup: namespace WebApplication1 { public class Startup { private readonly ILogger _logger; public Startup(IConfiguration configuration, ILogger<Startup> logger) { Configuration = configuration; _logger = logger; } // ... } } In Program.cs I also call the ConfigureLogging() method: namespace WebApplication1 { public class Program { public static void

VS2017 / VS 2019 Run As Admin from taskbar

纵饮孤独 提交于 2019-12-20 08:12:47
问题 I would like to run Visual Studio 2017/2019 as admin when I select a project from the recent list in the taskbar , ie. when opening a project via Explorer/Shell shortcuts. I did use the setting: properties -> shortcut -> advanced -> run as admin checkbox. Unfortunately, this does not result in devenv running as Administrator. Any ideas on how to fix this? 回答1: Close all instances of Visual Studio Right click on the Visual Studio 2017/2019 icon in your task bar Right click on Visual Studio

radial.o : error LNK2001: unresolved external symbol lambda_fatal error LNK1120: 8 unresolved externals,error.failed with exit status 1120

可紊 提交于 2019-12-20 07:19:00
问题 I am running an open-source package that has some codes in Python 3.7 mixed with Fortran FOR . I use Visual Studio 2019 and Intel Parallel Studio 2019 integrated.so when I run in Intel CMD f2py -c radial.for I got this error : radial.o : error LNK2001: unresolved external symbol lambda_ fatal error LNK1120: 8 unresolved externals error: Command...failed with exit status 1120 So what should I do.I tested that I have problem with Fortran Codes .Any help would be appreciated. my Intel CMD: There

ASP.NET Core 3.0 not showing on Visual Studio 2019

╄→гoц情女王★ 提交于 2019-12-18 01:18:24
问题 I want to test the new Blazor server-side framework (aka Razor Components). I installed Visual Studio 2019 RC, and then the .Net Core 3.0 preview 2, following this official tutorial. After the install, I only see the ASP.NET Core 2.0 and the 2.1 on the "Create a new ASP.NET Core Web Application" page. The 3.0 is not showing up. I started to mess around, trying to install other packages from this page, uninstalled and reinstalled Visual Studio 2019, updated to the .NET Core Preview 3,

Team Foundation Server 2018 Build agent Capabilities VS 2019

那年仲夏 提交于 2019-12-17 16:54:08
问题 We use Team Foundation Server 2018. Since our upgrade to Visual studio 2019 I have been trying to add this capability to TFS 2018, without any success. TFS version: 2018 (16.122.27102.1) I have already tried to reconfigure the Agent, or even add a new one. Visual studio 2019 is installed on the TFS server + has the same checks as the 2017. Deleting VS 2017 on the server doesn't help either, no capabilities found then. Are there any tips/tricks that I need to perform to get TFS working with