Launch PS1 when loading the solution in Visual Studio 2015

Previously, Visual Studio 2015 and nuget 3.x made it possible to have some nuget packages at the solution level. Now with nuget 3 it was deprecated. You can find a link to this here: https://github.com/NuGet/Home/issues/522

This problem occurs in our case, since we used to determine the nuget level at the solution level, loaded by the init.ps1 script when loading the solution. In fact, now, with VS2015, it no longer starts.

My question is pretty simple, is there any other way to achieve this behavior in VS2015 when opening a solution?

+4
source share
1 answer

When searching for something similar, I found your question and this one that seems to directly answer your question.

In short, create a powershell script (or use the one you have) to create a Nuget package, and then import that package into one of your projects. Each time a project is opened, a script is executed.

0
source

Source: https://habr.com/ru/post/1605619/


All Articles