Integration testing ASP.NET Core with .NET Framework – can’t find deps.json

We should get “Program” class from the main project but it automatically references Microsoft.AspNetCore.Mvc.Testing.Program class public class VersioningTests : IClassFixture<WebApplicationFactory<Program>> this code must reference our main Program code. So we must put a reference to the Program class on the last line in Program.cs file: public partial class Program { }

System.* reference troubles when introducing NETStandard.Library dependency

In the default project template System.Net.Http is added to the project as a reference, not as a nuget package. In both of your solutions (4.6.1 and 4.7.1): Project ClassLibrary has a dependency on System.Net.Http as a nuget package. Project ConsoleApp1 has a dependency on System.Net.Http as a simple reference from .NET Framework So, the issue … Read more

How Do You Reference a .NET Standard Library from a .NET Framework 4.5 Console Application in Visual Studio 2017?

.NET Framework 4.5 only supports using .net standard libraries targeting .NET Standard 1.0 or 1.1. Since your library targets 1.6, the tooling does the right thing here and errors out (since your library may use APIs not available in .NET Framework 4.5). If you published the library as NuGet package and consumed it via a … Read more

Visual Studio 2017 does not have Business Intelligence Integration Services/Projects

VS2017 supports ssis or ssrs projects if you install SSDT for VS2017 here. Click on the newly downloaded file and check SSIS or SSRS components that you required, as show in diagram :- Once you have installed this, try opening ssis / ssrs project. I managed to open ssis developed on vs2010. You should see … Read more

How To Disable Https in Visual Studio 2017 Web Proj ASP.NET Core 2.0

Update .Net 6 If you stumbled across this question, but are looking to disable SSL in .Net 6, follow these instructions: Disable SSL redirection by removing app.UseHttpsRedirection(); (optional) define a default port to listen to with app.Run(“http://localhost:5000”); If omitted, a random port will be assigned. Original answer for .Net Core 2.0: I’ve just created a … Read more

How to get docker toolbox to work with .net core 2.0 project

With Docker Toolbox that’s a little tricky, but actually the core-2.0 has nothing to do here. It’s all about docker, docker-toolbox, and VS. First of all: Is this the way one is supposed to start up that docker services? I have tried running this executable, and it seems to be working. Yes it is. If … Read more

Add a msbuild task that runs after building a .NET Core project in Visual Studio 2017 RC

An alternative is to use the AfterTargets attribute on the Target. Something like: <Target Name=”TestTarget” AfterTargets=”Build”> <Message Importance=”High” Text=”This is a test” /> </Target> I’m not sure why “AfterBuild” wouldn’t work any more, but this appears to be a conscious decision by the maintainers of MSBuild (h/t to Livven on pointing me to this github … Read more

How to create a working trusted and or self-signed certificate for a Windows 10 UWP application via Visual Studio 2019, 2017 and 2015

The answer provided by @nico has correct statements but made me realize there was more to the issue than I was initially describing. So I cleaned up the question title and question to provide a better question and subsequent answer. Scouring the web I found many of these answers in so many different places, e.g. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)