visual-studio-2019

Visual Studio 2019 (Community Edition) - Cannot install/update Extensions

江枫思渺然 提交于 2021-02-11 12:45:26
问题 It's a fresh installation of Visual Studio 2019 Community Edition on my fresh installation of Windows 10 (64 bit) on Intel i3 laptop. Whenever I attempt to install an extension (for example, CodeMaid), I get COM ClassID not found error. I'm not sure why is this error. From google search and after referring to some articles, I think this error is due to 32bit COM on 64bit machine. Visual Studio attempts to look for the COM CLASSID under 64bit registry, but it fails since it might be under

Document outline controls disabled in Visual Studio 2019 for .Net Core

喜欢而已 提交于 2021-02-11 04:31:25
问题 Now that .net core support WinForms projects, I've ported an old project to .Net 5. I can edit code, desing GUI and compile, and everything seems to work fine except for Document Outline window (in Visual Studio 2019). All four buttons, move up, down, out and into, are disabled, so I cannot choose what to see on top at desing time. I have created a new project from the scratch and those controls are still disabled. Demo image: Any idea why? I can guess it's something microsoft is working on,

How to build a SSIS project (*.dtproj) using Visual Studio Build Tools 2019 on build server

自古美人都是妖i 提交于 2021-02-10 07:45:30
问题 We are trying to build an SSIS project *.dtproj on our build server using Visual Studio Build Tools 2019. Would be great if someone could give an advice on how to get it work. On a dev machine when using devenv.exe from Visual Studio 2019 it will build the project but on the build server we have only the build tools. Data storage and processing workload is installed. 回答1: You need to have Visual Studio installed on the build server. Run the following code from PowerShell or adjust for for CMD

How to build a SSIS project (*.dtproj) using Visual Studio Build Tools 2019 on build server

孤人 提交于 2021-02-10 07:45:12
问题 We are trying to build an SSIS project *.dtproj on our build server using Visual Studio Build Tools 2019. Would be great if someone could give an advice on how to get it work. On a dev machine when using devenv.exe from Visual Studio 2019 it will build the project but on the build server we have only the build tools. Data storage and processing workload is installed. 回答1: You need to have Visual Studio installed on the build server. Run the following code from PowerShell or adjust for for CMD

How to build a SSIS project (*.dtproj) using Visual Studio Build Tools 2019 on build server

蹲街弑〆低调 提交于 2021-02-10 07:45:07
问题 We are trying to build an SSIS project *.dtproj on our build server using Visual Studio Build Tools 2019. Would be great if someone could give an advice on how to get it work. On a dev machine when using devenv.exe from Visual Studio 2019 it will build the project but on the build server we have only the build tools. Data storage and processing workload is installed. 回答1: You need to have Visual Studio installed on the build server. Run the following code from PowerShell or adjust for for CMD

Cannot compile template C++/CLI (.NET Core 3.1) project via dotnet build command

若如初见. 提交于 2021-02-10 05:37:15
问题 Install latest stable Visual Studio 2019 16.4.2 (check .NET Core Development and Desktop development with C++ workloads, also make sure that C++/CLI support component in checked). Create new project with CLR Class Library (.NET Core) template (or CLR Empty Project (.NET Core) if you like). Compilation via dotnet build command will fail ( dotnet build CLRNetCoreTest.sln /p:Configuration=Debug /p:Platform=x86 ): Compilation via msbuild command is successfull ( "%ProgramFiles(x86)%\Microsoft

In VS2019 nuget doesn't consider referenced projects as lib, but as nuget packages

♀尐吖头ヾ 提交于 2021-02-10 03:23:58
问题 I'm using VS2019 community edition. I have two .net core projects X, Y, X is referencing Y, and I want to package X as a Nuget package, I'm using the package feature in VS2019. when I try to add X's Nuget package in another project it searches for Y as a Nuget package and not as DLL should be in X. How can I change this so Y will be added as DLL in X's package? I tried to add the following to X's project (.csproj): <PropertyGroup> <TargetsForTfmSpecificBuildOutput>$

In VS2019 nuget doesn't consider referenced projects as lib, but as nuget packages

二次信任 提交于 2021-02-10 03:23:37
问题 I'm using VS2019 community edition. I have two .net core projects X, Y, X is referencing Y, and I want to package X as a Nuget package, I'm using the package feature in VS2019. when I try to add X's Nuget package in another project it searches for Y as a Nuget package and not as DLL should be in X. How can I change this so Y will be added as DLL in X's package? I tried to add the following to X's project (.csproj): <PropertyGroup> <TargetsForTfmSpecificBuildOutput>$

In VS2019 nuget doesn't consider referenced projects as lib, but as nuget packages

℡╲_俬逩灬. 提交于 2021-02-10 03:18:17
问题 I'm using VS2019 community edition. I have two .net core projects X, Y, X is referencing Y, and I want to package X as a Nuget package, I'm using the package feature in VS2019. when I try to add X's Nuget package in another project it searches for Y as a Nuget package and not as DLL should be in X. How can I change this so Y will be added as DLL in X's package? I tried to add the following to X's project (.csproj): <PropertyGroup> <TargetsForTfmSpecificBuildOutput>$

Adding OR-Tools Library to Visual Studio

假如想象 提交于 2021-02-09 09:20:06
问题 I am trying to write a code using Google's OR-Tools library on Microsoft Visual Studio 2019. I followed the following steps: Installed OR-Tools from Binary on Windows on their website. Extracted the .zip file in C:\Libraries Wrote my code on VS (I wrote #include <ortools/linear_solver/linear_solver.h> and using namespace operations_research; rest is usual C++ Code) In Visual Studio, went to Project > Properties > C/C++ > Additional Include Directories Added "C:\Libraries\or-tools\include"