teamcity

Accessing TEAMCITY from a remote machine

馋奶兔 提交于 2019-12-12 10:36:23
问题 I am having trouble browsing to my team city(JetBrains) from a remote machine. I have followed the install directions and the install went smoothly. I can browse the to application locally on the server, no problem at all. I changed the default server url in the config file to be http://my servername . I can browse to http://my server name and the application shows up no problem locally. The application is alos installed on the default 80 port of the server with no other web server installed.

A solution needed for referencing Nuget packages from projects in the same solution

眉间皱痕 提交于 2019-12-12 09:55:38
问题 I have a single solution full of projects that are to be shared amongst my organization as general nuget packages. The solution is encompassed by one git repository and we have TeamCity running our builds for us, although we are not overly advanced in that we manually kick off the Teamcity builds when we are ready to generate/publish a new Nuget package for a given project in the solution, every project has its own TeamCity build configuration. When built, the projects generate nuget packages

How do I run MSpec test assemblies in parallel?

微笑、不失礼 提交于 2019-12-12 08:55:33
问题 We have the following setup: Team City v8.1.2 .NET 2013 Solution with several different C# projects (ASP.NET MVC, libraries, testing projects, etc.) 95% of our tests are MSpec, but we also have some NUnit tests. We have 14 test projects and growing... Currently the testing phase is taking, roughly, 9 minutes for MSpec tests and 1 minute for NUnit. We would like to start parallelizing this, as we expect the number of tests to grow quickly. What would be the best solution, provided that: MSpec

“System.MissingMemberException: The server factory could not be located” starting Microsoft.Owin self-hosted in TeamCity

天涯浪子 提交于 2019-12-12 08:21:47
问题 When Teamcity runs an integration test that starts a self-hosted webapplication, the test fails with the error: System.MissingMemberException: The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener The code throwing this error is: var webApp = WebApp.Start<Startup>("http://*:52203/") The test runs fine when executed withing Visual Studio (using the Resharper test runner). Teamcity is configured to use the JetBrains.BuildServer.NUnitLauncher.exe

How can I copy the artifacts from Teamcity to another server?

扶醉桌前 提交于 2019-12-12 08:21:18
问题 how can I copy the artifacts from Teamcity to another server? Thanks 回答1: You can do it from your build script or externally. 回答2: The way I have done this, make things a lot easier.. Setup another configuration that pulls in, via artifact dependencies, all the files you need then run a cmd script to xcopy/copy the files to another drive on the network. You can do this using cmd script, vbs, python, shell etc.. Remember, you only need to refer to directories as if they were local as you would

Invalid xml:base in Teamcity nuget feed

风格不统一 提交于 2019-12-12 04:13:21
问题 I try to setup teamcity nuget feed. But when i try download package form nuget server i get next error in VS output window: when i try get definition of nuget feed i see next: in Administration / Global settings / Server URL i have valid dmin name of my server. How can i change xml:base attribute in feed definition? 回答1: I don't think there is an issue with TeamCity. From what I can see you are hosting TeamCity locally on your development machine and you are successfully downloading your own

Prevent Excessive Builds in TeamCity

本小妞迷上赌 提交于 2019-12-12 03:52:49
问题 I'm running on TeamCity 6.0.4. I have two projects, Foo and Bar, each producing artifacts. Those artifacts are consumed by Repo, and then an artifact produced by Repo is consumed by Leaf. My problem is that Bar depends on Foo. So when Foo builds, the following events happen: Foo builds. This triggers both Bar and Repo. Bar builds. This triggers Repo to build again. Leaf sees two Repo builds, which means Leaf builds twice. How should I fix this to prevent the unnecessary (and inappropriate)

“The type or namespace name 'OfficeOpenXml' could not be found” error

佐手、 提交于 2019-12-12 03:38:41
问题 We are using EPPlus to generate Excel documents. Code builds successful in my local system but it is failing when we build through TeamCity and getting below error - error CS0246: The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?) I have tried Google to find the solution but all in vain. My Project target framework is 4.5.2 and I have also added System.Core and WindowsBase. I have also added namespace "using

TeamCity build fails, VS 2015 build succeeds

孤街醉人 提交于 2019-12-12 01:47:43
问题 I have a project which, when built in VS will succeed: PM> dotnet build -f net452 Project Core.RecordingProvider (.NETFramework,Version=v4.5.2) will be compiled because expected outputs are missing Compiling Core.RecordingProvider for .NETFramework,Version=v4.5.2 Compilation succeeded. 0 Warning(s) 0 Error(s) Time elapsed 00:00:01.0807947 But, when that project is built in TeamCity, it fails for reasons which are not at all clear to me: [11:37:40]Step 1/4: -- Restore -- (.NET Core (dotnet))

Error SQL72018: Database Options could not be imported

冷暖自知 提交于 2019-12-12 01:39:25
问题 I am deploying an MVC Project along with a database using Octopus. When the step for deploying the database is hit I'm getting the following error: An error occurred during deployment plan generation. Deployment cannot continue. Error SQL72018: Database Options could not be imported but one or more of these objects exist in your source. at Microsoft.SqlServer.Dac.DacServices.CreateController(SqlDeployment deploymentEngine, ErrorManager errorManager) at Microsoft.SqlServer.Dac.DeployOperation.