This custom SDK allows to select the projects to build or test using the MSBuild syntax wich includes globbing. However, I don't like this solution as you need to keep the filtered solution up to date when you add a new project.Ī better way is to use the SDK. This way you can remove the WPF projects when building on non-Windows operating systems. One way to deal with this problem is to create a new sln file or to use a filtered solution (slnf). This means dotnet build fail on these platforms. However, you cannot build WPF projects on Linux or Mac. I want to create NuGet packages and also test projects on Windows, Linux, and Mac. In my case, I have a solution that contains multiple class libraries and a few WPF projects. Your continuous integration script often looks like dotnet build mysolution.sln and dotnet test mysolution.sln.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |