Comments (7)
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.
No, this is not a web application.
from slow-cheetah.
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.
@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.
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.
@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.
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)
- Xml and config transformation does not work on UWP HOT 4
- This repo is missing important files
- Use INuGetProjectService instead of IVsPackageInstallerServices
- SlowCheetah no longer working in VS2019 HOT 1
- Transformation Damages Values with ">" in Them HOT 2
- Problem with readonly app.config files
- ClickOnce not coping data files after Transform
- The transformation is correctly applied and the resulting config file in the output looks as expected. But the configuration loaded in memory is as if taken from the original config file. project is .net framework 4.7.2 self-hosted winform app using appsettings.config file
- How to json arrays of objects or attributes therein HOT 4
- VS2022 Error while loading solution HOT 16
- Transform Not Working In Template Studio Created WinUI 3 Projet
- Old NuGet project page still accessible and getting downloads HOT 1
- TransformXml task could not be loaded from the assembly HOT 1
- SlowCheetah 'File not found' issue when publishing to the file system using msbuild HOT 1
- Per-user transformations HOT 1
- App.config Transform not working with VS2022 HOT 3
- Transform fails when project is targetting multiple frameworks HOT 2
- Publish WPF Core App with ClickOnce does not transform App.Config
- Q: How to publish transformed file to multiple directories HOT 2
- Q: How to coordinate internal targets with SC processes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slow-cheetah.