Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48289

website project build issue without precompile

      Jenkin always runs aspnet_compiler.exe with PrecompiledWeb.

      I have created a publish profile with 'Precompile during Publishing' checkbox unchecked in VS 2012 and giving same profile to MSBuild as a parameter as below:

      /p:Configuration=Release /p:DebugSymbols=false /p:DebugType=None /p:PrecompileBeforePublish=false /p:PublishProfile=AUTO_BUILD

      Here AUTO_BUILD is my publish profile without Precompile.

      However, Jenkins overwrites the profile settings and  precompiles the website application every time, which we do not want for our project to do.

          [JENKINS-48289] website project build issue without precompile

          Bhumika Dave added a comment -

           C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /mywebsite -p Mywebsitefolder1\Mywebsitefolder2\ -u -f PrecompiledWeb\mywebsite\ 

          Bhumika Dave added a comment -  C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /mywebsite -p Mywebsitefolder1\Mywebsitefolder2\ -u -f PrecompiledWeb \mywebsite\ 

          Hello,

          Jenkins only runs msbuild and does not overwrites any setting.
          MsBuild itself runs aspnet_compiler so it's all about the parameter you feed it with.

          Could you provide a complete build log ?

          Lionel Cabasson added a comment - Hello, Jenkins only runs msbuild and does not overwrites any setting. MsBuild itself runs aspnet_compiler so it's all about the parameter you feed it with. Could you provide a complete build log ?

          Bhumika Dave added a comment -

          Thanks Lionel.

          Yes, it is MSBuild which runs aspnet_compiler, even publish profile without precompile is given.

          Let me know, if someone had experienced the same in past and have got the solution in your knowledge.

          Bhumika Dave added a comment - Thanks Lionel. Yes, it is MSBuild which runs aspnet_compiler, even publish profile without precompile is given. Let me know, if someone had experienced the same in past and have got the solution in your knowledge.

            marshall777 Lionel Cabasson
            bdave Bhumika Dave
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: