Run build of Solution Asp.net pre-compiled webforms in Team Services

Asked

Viewed 67 times

0

Many weeks of research and testing after, I find myself at "a dead end" regarding Team Services. I have a Solution with project in Asp.NET Webforms in the Team Foundation of VSTS. For operational reasons, I am assembling a methodology to automatically convert the code via the Build & Release feature that is available in VSTS. However, my project should always be pre-compiled (aspx.Cs and /Appcode compiled into a single Assembly). The compilation options via "Msbuild.exe" and "Publish Artifact" always give me an Artifact without pre-compilation, no matter what settings I change in the . sln from Solution or the configuration parameters I pass to Msbuild. I am compiling in Release, and in .’s settings. sln pointed out how Updatable=false, but nothing worked so far. There is indeed some way to perform Builds via pre-compiled VSTS for Solutions from Asp.NET Webforms?


EDIT: Buid Step-by-Step Prints Print da Build Definition Print do Publish Artifact

  • Fernando, I have several questions about your question! Do you already do this pre-compilation? Because if you do, it should happen smoothly in the build by VSTS. ?

  • @egomesbrandao actually I run a Build and then a Publish Artifact (prints added in the question body)

  • @egomesbrandao I run this pre-compilation normally by my Visual Studio when using the feature "Build > Publish Webapp" with the flag "precompile During Publishing"

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.