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

website project build issue without precompile

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            bdave 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\ 

            Show
            bdave 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\ 
            Hide
            marshall777 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 ?

            Show
            marshall777 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 ?
            Hide
            bdave 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.

            Show
            bdave 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.

              People

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

                Dates

                Created:
                Updated: