Skip to main content

All Questions

Tagged with
0 votes
1 answer
57 views

How do I force dotnet publish to use Release configuration on a solution with multiple modules

We have a central .NET solution that uses multiple modules which each have its own .csproj and .sln, currently they use .NET 7. I am trying to publish all of the modules and force them to all use ...
Eljimo's user avatar
  • 1
0 votes
1 answer
72 views

dotnet test command not finding Microsoft.TextTemplating.targets

I have this line inside my csproj <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TextTemplating\Microsoft.TextTemplating.targets" /> But ...
Daniel R's user avatar
  • 1,215
0 votes
1 answer
429 views

TeamCity Build - MSB3644: The reference assemblies for .NETFramework,Version=v7.0 were not found

I have a TeamCity Build Config that I have updated from the "Microsoft Visual Studio solution (.sln) runner" to use a ".Net Runner" msbuild command to build my API solution. ...
tadhg88's user avatar
1 vote
2 answers
1k views

How to specify runtimeIdentifier and targetFramework values when using Nuget Restore in TeamCity

I have TeamCity setup to restore a project using MSBuild, specifying the runtimeIdentifier and targetFramework values required, and everything restores smoothly. However when I try to configure the ...
Dave0504's user avatar
  • 1,107
1 vote
1 answer
1k views

TeamCity + Msbuild: The "TransformXml" task could not be loaded

I have a project that I'm trying to build under .NET 6 using TeamCity. The build always fails with an error message: error MSB4062: The "TransformXml" task could not be loaded from the ...
TravelingFox's user avatar
0 votes
1 answer
58 views

Dependency issue when migrating Teamcity build server

I'm migrating a Teamcity server from one VM to another as we're closing the office where the current VM is hosted, I'm doing this by rebuilding the server rather than migrating the VM as there's a ...
Inverted Llama's user avatar
0 votes
1 answer
516 views

how to setup Teamcity (2021.2.2) deploy app with clickonce

I have a simple wpf/console app build that I want to deploy and be able to update where ever it is installed. So I picked clickonce, from ms, because that seamed to fit my needs. I can build, deploy, ...
kfn's user avatar
  • 659
2 votes
1 answer
599 views

How to set 'Platform' when running MSBuild on .NET

I'm attempting to build an Unreal project on TeamCity. I have a build step failing at .NET running msbuild (cross-platform MSBuild). The configuration is Development Editor. Error: C:\Program Files (...
Stu456's user avatar
  • 51
2 votes
0 answers
7k views

error MSB4019: "C:\Microsoft.Cpp.Default.props" was not found, when building with MSBuild

I'm building an Unreal project through TeamCity and my msbuild step is failing with the following error: error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. ...
Stu456's user avatar
  • 51
1 vote
1 answer
4k views

Sonarqube - SCM provider autodetection and PR decoration failed for analysis in directory with .git

Must-share information: SonarQube 9.1 TeamCity 2020.2.3 Teamcity Tool: SonarScanner for MSBuild 4.8.12008 Sonar analysis command run inside a Dockerfile Goal: Getting SCM autodetection and PR ...
Kevin B's user avatar
  • 71
3 votes
1 answer
1k views

Building net5.0 solution on TeamCity agent results in "reference assemblies not found" error

I have recently upgraded our .Net Core 2.2 application to .Net 5.0. I'm now trying to upgrade our TeamCity build agent, so it can build this solution. Installed the .Net 5.0 SDK on the build agent, ...
user1147862's user avatar
  • 4,196
1 vote
2 answers
1k views

Define Path with space for an Argument for MSBuild in teamcity

I am working on a Build step in teamcity where I have to give an alternative Path for MSBuildExtensionsPath. The MS build has to build a solution. In the command line parameters I tried to give the ...
Amir's user avatar
  • 419
0 votes
1 answer
258 views

Error compile Visual Studio 2019 Project dll with MSBuild 2019, obfuscating with Eazfuscator NET 2018.2 in TeamCity 2020.2.2

I have this error when TeamCity Build Step compile with obfuscating a Visual Studio dll Project with MSBuild: EXEC: error: Error occurred during processing of input file '.dll' -> Cannot load file ...
Ejrr1085's user avatar
  • 1,042
0 votes
1 answer
522 views

Building a nuget .Net Framework web application package using msbuild and TeamCity?

What is the method to create a web application nuget package with TeamCity? I'm totally confused after .NET became a thing. What I'm attempting to do, is to create a nuget package with a .Net ...
Harald S. Hanssen's user avatar
0 votes
0 answers
750 views

TeamCity - MSBuild issue

My setup includes MSBuild version : 16, .Net.exe : 5.8.1 When I run build setup in TeamCity, I am facing this error continuously : C:\ProgramFiles\dotnet\sdk\5.0.102\Sdks\Microsoft.NET.Sdk\targets\...
Aziz Suterwala's user avatar

15 30 50 per page
1
2 3 4 5
41