Tag: build server

我们如何使用Cake构建对安全的NuGet服务器进行身份validation?

我们正在使用Cake Build自动化我们的构建,我们使用nuget.org的NuGet包,但我们也有自己的NuGet Feed服务器,它具有访问的用户名/密码认证。 我们如何利用带有身份validation的自定义NuGet提要服务器来使用Cake Build?

ASP.NET Core Web API:程序不包含适用于入口点的静态“Main”方法

我正在开发一个ASP.NET Core Web API,它引用了大型解决方案中的其他项目(csproj)。 ASP.NET Core Web API在Visual Studio 2015中构建,并在“在我的机器上”命令提示符中使用msbuild 🙂 msbuild SomeWebAPI.xproj Compilation succeeded. 33 Warning(s) 0 Error(s) Time elapsed 00:00:01.7740626 Done Building Project . . Build succeeded. 问题是它不构建在我们的构建服务器上。 相同的msbuild-command,相同的msbuild-version,结果不同: msbuild SomeWebAPI.xproj error CS5001: Program does not contain a static ‘Main’ method suitable for an entry point [D:\TeamCity\buildAgent\work\8120f5584932b96b\S SomeWebAPI\SomeWebAPI.xproj] Compilation failed. 0 Warning(s) 1 […]