GithubHelp home page GithubHelp logo

Comments (6)

mukeshkagarwal avatar mukeshkagarwal commented on July 28, 2024

in the csproj file I found the  following changes.

  1. A new PropertyGroup Node Added under Project Node

    <PropertyGroup>
        <SlowCheetahTargets Condition=" '$(SlowCheetahTargets)'=='' ">$(LOCALAPPDATA)\Microsoft\MSBuild\SlowCheetah\v1\SlowCheetah.Transforms.targets</SlowCheetahTargets>
      </PropertyGroup>

  2. A new TransformOnBuild Node Added at Project/ItemGroup/Content[@include="Web.config"]       <TransformOnBuild>true</TransformOnBuild>
  3. and for each tranform file a new "IsTransformFile" Node added under
    Project/ItemGroup/Content[@include="Web.1.debug.config"]
    <IsTransformFile>True</IsTransformFile>
  4. A new Import Node Added under Project Node(at the end of file)

    <Import Project="$(SlowCheetahTargets)" Condition="Exists('$(SlowCheetahTargets)')" />

All the changes can be un done except the 3rd one if we want to keep the "Preview transform" action live.

from slow-cheetah.

sayedihashimi avatar sayedihashimi commented on July 28, 2024

Interesting thanks, I wasn't aware of this behavior. I will take a look at this but probably not until a week or two. Currently I'm away from home and focused some speaking that I'm doing.

from slow-cheetah.

sayedihashimi avatar sayedihashimi commented on July 28, 2024

In this case I do agree that we could prevent adding those items to the project file if we are considering only web.config. For other files we need to update the project to ensure that they get transformed. In your case are you discussing previewing of web.config specifically? I want to make sure that I understand your issue before working to solve it.

from slow-cheetah.

mukeshkagarwal avatar mukeshkagarwal commented on July 28, 2024

Yes, I am discussing for previewing only.

from slow-cheetah.

sayedihashimi avatar sayedihashimi commented on July 28, 2024

I verified that for the Preview command it will not modify the project. I did make a change to exclude the "Add Transform" command for web.config since it has its own "Add Config Transform" command which will not modify the project. This change was made in commit a067a73. I've got a new build available at https://dl.dropbox.com/u/40134810/SlowCheetah/SlowCheetah-a067a7375d.zip. I would appreciate if you verify it. For now I'm going to close this item because I think it's resolved. Let me know if I mis-understood anything or didn't fix it correctly.

from slow-cheetah.

sayedihashimi avatar sayedihashimi commented on July 28, 2024

The fix to this has been released at http://visualstudiogallery.msdn.microsoft.com/69023d00-a4f9-4a34-a6cd-7e854ba318b5/.

from slow-cheetah.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.