slowcheetah not working for app.config - app-config

Im using slowcheetah to transform my web.config file for various environments and this all works as expected. I want to do the same on app.config files but despite having slowcheetah available for these projects, when I right click on the app.config file, I have no options (add config transform) from what I've read, slowcheetah is supposed to work on web.config and app.config. Has anyone else used it on app.config files ? Is there something I'm missing
** update
after several hours of headscratching I managed to figure out why this wasn't working, you have to install the vsix file from their website ! So I now have a transform option available for app.config, the only other issue is the fact that there is no preview option as there is for web.config files, no idea why that should be

In order to preview the transformation, you need to install VS marketplace tool:
Configuration Transform

Related

How do I make my Setup project produce an executable?

I've built a small desktop application with which I am trying to use a Setup project to allow other users to install it. But whenever I run this installer, it does not produce an executable file. This is my first time making a setup project.
My solution contains two projects. One is the setup project which installs the primary output from the other project. The other project is a WPF App that consists of two xaml files, a xaml.cs file for each, an App.config file, and an icon. It also has a few dependencies including one Assembly, two Frameworks, and a handful of Packages. The app works exactly as intended whenever I start a Visual Studio debugging instance on either Debug or Release configurations.
I followed these instructions to build my Setup and deploy my app.
Whenever I ran the resulting Setup, it installed an XML configuration file, a JSON file, a main application dll file, and a bunch of dll files for my assemblies. I looked into some resources on how to run the main dll file properly, only (A) I'm completely stumped by everything I find on that topic, and (B) I would rather just produce an executable file anyway, since I intend for this Setup project to be used by other people and it would be inconvenient to ask said others to jump through the same hoops just to run it.
Why does my Setup project not produce a .exe file? I see that a .exe file is produced in my bin folder whenever I build my project (and this .exe works), so I would think the setup project should also produce one of those, but it doesn't. What am I doing wrong with my Setup project or anything else?
The setup.exe is a bootstrapper over the setup.msi. We can install the content using .msi or by running .exe which inturn runs /gets the data from the msi. To enable setup.exe building, go to solution explorer -> project -> properties -> prerequisites. check the check box on the top "Create setup program to install prerequisite components". apply and rebuld the project. A setup.exe bootstrapper will be created allong with msi.
Switch to Release mode, then rebuild your setup project. If everything went well (check the output console), you'll find an MSI file inside {setup project folder}/bin/Release
In "system file" from your proyect installer, you shoud to add in "Application Folder" the next source = PublishItemsOutpuGroup. In my case functions well.

How do you uninstall an extension using the CodenameOne Settings tool in NetBeans?

I installed the braintree, and other, extension into my project in NetBeans. I no longer want to use the extension. There does not seem to be a way to remove the extension using the Settings tool. Removing the libraries from the project does not seem to remove the extension.
Remove the files with the name of the extension (cn1lib and the ver file) from the lib directory (you can see it in the files tab)
Open Codename One Settings -> Build Hints and remove the ios.* and android.* entries you didn't add manually
Right click project and select Codename One -> Refresh Client Libs
Was able to successfully resolve the problem using the supplied solution. I was not correctly removing the files from the project library.

Angular JS plugin for WebStorm 7

I am following the plugin link. I have followed these steps after installing the plugin.
Goto the WebStorm File->Settings->IDE Settings->Plugins.
Click Install plugin from disk and select the zip files.
Restart the WebStorm.
After opening the WebStorm, I am unable to type anything in the IDE (HTML and JS files, any of them).
I prefer doing it manually.
Can any one pour in your experiences and suggestions?
Sometimes plugins accessible via the download method may not work. To start clean, you should delete that plugin you downloaded, including any directory under plugins that it might have created.
Then, go to Settings -> Plugins -> Browser Repositories, and install AngularJS that way. It's a standard plugin from JetBrains.
Please see https://jetbrains.zendesk.com/entries/38945603-JavaScript-can-t-edit-files-after-installing-AngularJS-plugin for explanation/fix
Problems like this usually occur when installing plugin from disk if you extract the downloaded archive and select the plugin .jar when installing instead of using the downloaded zip without unpacking it.

how to package install version of dotnetnuke from source of it

I changed source of DotNetnuke (a little!) and I want to package an install version of my new DotNetNuke.
How Can I do this?
p.s: I know It's not recommended to change the source but I have no another option
(Telerik calendar do not support my date format and I have to replace it with another calendar !)
Thanks in advance
Answer depends on what you have changed, but the simplest way is to deliver patch that should be installed after normal dnn installation. For example, if you have only changed dll, you can ask to follow normal dnn setup instructions and finally relpace dll. If it's more than on file, you can review how dnn upgrade package is built. It follows same folder structure and places only changed files. So if you have couple of dlls changed in bin, the will be placed in bin folder, and if you have changed some ascx file it should be placed in same path by creating same folder hierarchy.
You can also create a package that can be installed to deploy your changes but for smaller set of files it will be complecated.
Let me know if you need more help.
You can package any change into a DNN install package by including the compiled files along with a DNN Manifest file. This can then be installed via the Extensions page. A manifest file is an Xml file which controls where the contents of an install zip are installed. You can make it as simple or as complicated as you need. You can also include xml merge statements to make changes to the web.config file upon install and uninstall. See the wiki for reference : http://www.dotnetnuke.com/Resources/Wiki/Page/Manifests.aspx
Incidentally, you may have been able to deliver your modified telerik source as a separate provider, and configure it via the web.config, thus saving you from modifying the source code. To do something like that, you would build your own module, and plug it in and replace the standard Telerik references.

refresh workspace or upload file to a tomcat server? How to

I have a dynamic web project (JSP) on Eclipse that runs on a tomcat server. I create files with GraphViz code, and then I create images with a system call of DOT and I place them in a subdirectory of the project.
All of that works, but now the issue is to show the created images in a JSP page.
As the images are dynamically created they are not in the server neither in the project subdirectory until I manually refresh the project at the workspace.
To solve this problem that I have tried to use the aspectj libraries that contains the IWorkspace, IProject, IFile classes, but it seems that that usefull only if you are developing an Eclipse plugin.
I am thinking about another way to refresh the workspace dinamically or upload the images to the tomcat server.
So the questions are:
how to upload files (images) to a tomcat server with Java (JSP)?
how to refresh the workspace dinamically in a non Eclipse (or Eclipse plugin) project?
how to show images in a JSP page that are not in the project workspace neither in the tomcat server?
Take a look at Tomcat plugin for Eclipse. It probably should help you to solve the root of problems.

Resources