Coder Social home page Coder Social logo

Comments (7)

jviau avatar jviau commented on June 18, 2024

Is this a web application? When running C# web projects via f5, the web.config from your source is used directly and not the transformed web.config SlowCheetah puts in the output directly.

from slow-cheetah.

DeltonLee avatar DeltonLee commented on June 18, 2024

No, this is not a web application.

from slow-cheetah.

DeltonLee avatar DeltonLee commented on June 18, 2024

I don't get why you closed the other issue. Is it by design that ApplicationSettings Transforms are ignored also in a Windows Forms Application?

from slow-cheetah.

jviau avatar jviau commented on June 18, 2024

@dlee1964 I believe this issue and #69 are the same. I would like to point out slow-cheetah is not the correct place for XDT/XSD issues. Slow-cheetah uses XDT, but does not own it. You can find XDT help here. That is not to say this isn't a slow-cheetah issue though, it could be the transform is not being applied at all by slow-cheetah.

Can you verify if your file is being transformed? Do some parts of the transform get applied? Does previewing the transform work? If preview shows the correct transformation, but on build it is different, then it is an issue with slow-cheetah or another build step undoing what slow-cheetah did.

If you can verify the transform is being applied, then most likely your transform file is incorrect. In which case I recommend reading the help page I linked earlier. One idea off the top of my head is maybe an xml namespace issue in your transform file? If the elements you are transforming come from a namespace you need to fully qualify it in the transform file.

from slow-cheetah.

DeltonLee avatar DeltonLee commented on June 18, 2024

No, Issue #69 is not the same at all. Not even close. Please re-read it and re-open it.

Yes, the preview showed that the transforms were correct. I was getting no error on the transform. The same connection string was to be used for XSD and non-XSD based queries. They were each hitting different databases, yet there was only one connection string in the app.config. So, I know the transform was correct because the non-XSD queries were hitting the correct database while the XSD based queries weren't.

from slow-cheetah.

jviau avatar jviau commented on June 18, 2024

@dlee1964 as far as it concerns slow-cheetah, these are the same issue. The differences between them are in areas slow-cheetah is not responsible for. The issue is with the project system you are using, with XSD itself, or with the way you wrote the transform. Slow-cheetah is not responsible for any of those issues.

First, was the resulting file in your output directory correct after a build? Was the transform applied to it? If so, then the issue is with the project system is my guess. Maybe it does not read the file from the output directory during testing, it could be using the un-transformed file directly from your source tree.

from slow-cheetah.

DeltonLee avatar DeltonLee commented on June 18, 2024

As I have been in active development and up against a deadline, I had to work around the issues and thus change things significantly, so I cannot answer the questions with confidence at the moment. I will have to create a small test project to duplicate the issues again to answer your questions. As I have already stated that the coded queries were using the correct transform and the XSD queries were not (within the same project), I suspect the output file was correct and the XSD was ignoring it. In any case I will create the small project to demonstrate both issues and perhaps I could upload it for you to review at some point.

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.